Commit d8109c2d authored by Josh Coalson's avatar Josh Coalson
Browse files

obsolete now that .dsp files are complete

parent b026ffdb
!include <win32.mak>
all:
cd src
nmake /f Makefile.vc
cd ..
clean:
cd src
nmake /f Makefile.vc clean
cd ..
!include <win32.mak>
# It's less hassle to spell it all out that to figure out how to do it right with nmake:
all:
cd libFLAC
nmake /f Makefile.vc
cd ..
cd libFLAC++
nmake /f Makefile.vc
cd ..
cd libOggFLAC
nmake /f Makefile.vc
cd ..
cd libOggFLAC++
nmake /f Makefile.vc
cd ..
cd share
nmake /f Makefile.vc
cd ..
cd flac
nmake /f Makefile.vc
cd ..
cd metaflac
nmake /f Makefile.vc
cd ..
cd plugin_common
nmake /f Makefile.vc
cd ..
cd plugin_winamp2
nmake /f Makefile.vc
cd ..
cd monkeys_audio_utilities
nmake /f Makefile.vc
cd ..
cd test_grabbag
nmake /f Makefile.vc
cd ..
cd test_libFLAC
nmake /f Makefile.vc
cd ..
cd test_libFLAC++
nmake /f Makefile.vc
cd ..
cd test_libOggFLAC
nmake /f Makefile.vc
cd ..
cd test_libOggFLAC++
nmake /f Makefile.vc
cd ..
cd test_streams
nmake /f Makefile.vc
cd ..
clean:
cd libFLAC
nmake /f Makefile.vc clean
cd ..
cd libFLAC++
nmake /f Makefile.vc clean
cd ..
cd libOggFLAC
nmake /f Makefile.vc clean
cd ..
cd libOggFLAC++
nmake /f Makefile.vc clean
cd ..
cd share
nmake /f Makefile.vc clean
cd ..
cd flac
nmake /f Makefile.vc clean
cd ..
cd metaflac
nmake /f Makefile.vc clean
cd ..
cd plugin_common
nmake /f Makefile.vc clean
cd ..
cd plugin_winamp2
nmake /f Makefile.vc clean
cd ..
cd monkeys_audio_utilities
nmake /f Makefile.vc clean
cd ..
cd test_grabbag
nmake /f Makefile.vc clean
cd ..
cd test_libFLAC
nmake /f Makefile.vc clean
cd ..
cd test_libFLAC++
nmake /f Makefile.vc clean
cd ..
cd test_libOggFLAC
nmake /f Makefile.vc clean
cd ..
cd test_libOggFLAC++
nmake /f Makefile.vc clean
cd ..
cd test_streams
nmake /f Makefile.vc clean
cd ..
# flac - Command-line FLAC encoder/decoder
# Copyright (C) 2000,2001,2002,2003 Josh Coalson
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# NOTE: to remove ogg support, just remove '-DFLAC__HAS_OGG' and 'ogg_static.lib' everywhere.
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) -DFLAC__NO_DLL $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DFLAC__HAS_OGG -YX /Od /D "_DEBUG" $<
!else
.c.obj:
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DFLAC__HAS_OGG -YX -DNODEBUG $<
!endif
C_FILES= \
analyze.c \
decode.c \
encode.c \
main.c \
utils.c \
vorbiscomment.c
OBJS= $(C_FILES:.c=.obj)
all: flac.exe
flac.exe: $(OBJS)
link.exe /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.exe $(OBJS) grabbag_static.lib libOggFLAC_static.lib libFLAC_static.lib ogg_static.lib gain_analysis_static.lib getopt_static.lib utf8_static.lib
clean:
-del *.obj *.pch
-del ..\..\obj\release\bin\flac.exe
# libFLAC++ - Free Lossless Audio Codec library
# Copyright (C) 2002,2003 Josh Coalson
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
!include <win32.mak>
SUFFIXES = .cpp
!IFDEF DEBUG
.cpp.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /GX /GR $(cdebug) $(cflags) /I "..\..\include" -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.cpp.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /O2 /GR $(crelease) $(cflags) /I "..\..\include" -DSTRICT -YX -DNODEBUG $<
!endif
CPP_FILES= \
file_decoder.cpp \
file_encoder.cpp \
metadata.cpp \
seekable_stream_decoder.cpp \
seekable_stream_encoder.cpp \
stream_decoder.cpp \
stream_encoder.cpp
OBJS= $(CPP_FILES:.cpp=.obj)
all: libFLAC++_static.lib
libFLAC++_static.lib: $(OBJS)
link.exe -lib /nodefaultlib -out:../../obj/release/lib/$*.lib $(OBJS)
clean:
-del *.obj *.pch
-del ..\..\obj\release\lib\libFLAC++_static.lib ..\..\obj\release\lib\libFLAC++_static.pdb
# libFLAC - Free Lossless Audio Codec library
# Copyright (C) 2001,2002,2003 Josh Coalson
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
!include <win32.mak>
NASM=nasmw
!IFDEF DEBUG
.c.obj:
$(cc) /D "_LIB" -DVERSION=\"1.1.0\" -DFLAC__NO_DLL -DFLAC__CPU_IA32 -DFLAC__HAS_NASM -DFLAC__OVERFLOW_DETECT /GX $(cdebug) $(cflags) /I ".\include" /I "..\..\include" -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.c.obj:
$(cc) /D "_LIB" -DVERSION=\"1.1.0\" -DFLAC__NO_DLL -DFLAC__CPU_IA32 -DFLAC__HAS_NASM /O2 $(crelease) $(cflags) /I ".\include" /I "..\..\include" -DSTRICT -YX -DNODEBUG $<
!endif
C_FILES= \
bitbuffer.c \
bitmath.c \
cpu.c \
crc.c \
file_decoder.c \
file_encoder.c \
fixed.c \
format.c \
lpc.c \
md5.c \
memory.c \
metadata_iterators.c \
metadata_object.c \
seekable_stream_decoder.c \
seekable_stream_encoder.c \
stream_decoder.c \
stream_encoder.c \
stream_encoder_framing.c
NASM_FILES= \
ia32/cpu_asm.nasm \
ia32/fixed_asm.nasm \
ia32/lpc_asm.nasm
OBJS= $(C_FILES:.c=.obj) $(NASM_FILES:.nasm=.obj)
all: ordinals libFLAC_static.lib
ordinals: ../../include/FLAC/ordinals.h
../../include/FLAC/ordinals.h: ../../include/FLAC/ordinals.h.in
sed -e 's/@FLaC__SIZE16@/short/g' -e 's/@FLaC__SIZE32@/int/g' -e 's/@FLaC__SIZE64@/long long/g' -e 's/@FLaC__USIZE16@/unsigned short/g' -e 's/@FLaC__USIZE32@/unsigned int/g' -e 's/@FLaC__USIZE64@/unsigned long long/g' ../../include/FLAC/ordinals.h.in > ../../include/FLAC/ordinals.h
libFLAC_static.lib: $(OBJS)
link.exe -lib /nodefaultlib -out:../../obj/release/lib/$*.lib $(OBJS)
ia32/cpu_asm.obj: ia32/cpu_asm.nasm
$(NASM) -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/cpu_asm.nasm -o ia32/cpu_asm.obj
ia32/fixed_asm.obj: ia32/fixed_asm.nasm
$(NASM) -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/fixed_asm.nasm -o ia32/fixed_asm.obj
ia32/lpc_asm.obj: ia32/lpc_asm.nasm
$(NASM) -f win32 -d OBJ_FORMAT_win32 -i ia32/ ia32/lpc_asm.nasm -o ia32/lpc_asm.obj
clean:
-del *.obj ia32\*.obj *.pch
-del ..\..\obj\release\lib\libFLAC_static.lib ..\..\obj\release\lib\libFLAC_static.pdb
# libOggFLAC++ - Free Lossless Audio Codec + Ogg library
# Copyright (C) 2002,2003 Josh Coalson
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
!include <win32.mak>
SUFFIXES = .cpp
!IFDEF DEBUG
.cpp.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /GX /GR $(cdebug) $(cflags) /I "..\..\include" -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.cpp.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /O2 /GR $(crelease) $(cflags) /I "..\..\include" -DSTRICT -YX -DNODEBUG $<
!endif
CPP_FILES= \
stream_decoder.cpp \
stream_encoder.cpp
OBJS= $(CPP_FILES:.cpp=.obj)
all: libOggFLAC++_static.lib
libOggFLAC++_static.lib: $(OBJS)
link.exe -lib /nodefaultlib -out:../../obj/release/lib/$*.lib $(OBJS)
clean:
-del *.obj *.pch
-del ..\..\obj\release\lib\libOggFLAC++_static.lib ..\..\obj\release\lib\libOggFLAC++_static.pdb
# libOggFLAC - Free Lossless Audio Codec + Ogg library
# Copyright (C) 2002,2003 Josh Coalson
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public
# License along with this library; if not, write to the
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /GX $(cdebug) $(cflags) /I ".\include" /I "..\..\include" -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.c.obj:
$(cc) /D "_LIB" -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I ".\include" /I "..\..\include" -DSTRICT -YX -DNODEBUG $<
!endif
C_FILES= \
stream_decoder.c \
stream_encoder.c
OBJS= $(C_FILES:.c=.obj)
all: libOggFLAC_static.lib
libOggFLAC_static.lib: $(OBJS)
link.exe -lib /nodefaultlib -out:../../obj/release/lib/$*.lib $(OBJS)
clean:
-del *.obj *.pch
-del ..\..\obj\release\lib\libOggFLAC_static.lib ..\..\obj\release\lib\libOggFLAC_static.pdb
# metaflac - Command-line FLAC metadata editor
# Copyright (C) 2000,2001,2002,2003 Josh Coalson
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) -DFLAC__NO_DLL $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.c.obj:
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX -DNODEBUG $<
!endif
C_FILES= \
main.c \
operations.c \
operations_shorthand_cuesheet.c \
operations_shorthand_seektable.c \
operations_shorthand_streaminfo.c \
operations_shorthand_vorbiscomment.c \
options.c \
usage.c \
utils.c
OBJS= $(C_FILES:.c=.obj)
all: metaflac.exe
metaflac.exe: $(OBJS)
link.exe /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.exe $(OBJS) grabbag_static.lib libFLAC_static.lib gain_analysis_static.lib getopt_static.lib utf8_static.lib
clean:
-del *.obj *.pch
-del ..\..\obj\release\bin\metaflac.exe
!include <win32.mak>
# It's less hassle to spell it all out that to figure out how to do it right with nmake:
all:
cd flac_mac
nmake /f Makefile.vc
cd ..
cd flac_ren
nmake /f Makefile.vc
cd ..
clean:
cd flac_mac
nmake /f Makefile.vc clean
cd ..
cd flac_ren
nmake /f Makefile.vc clean
cd ..
!include <win32.mak>
.c.obj:
$(cc) $(cdebug) $(cflags) -DSTRICT -YX /O2 -DNODEBUG $<
C_FILES= \
main.c
OBJS= $(C_FILES:.c=.obj)
all: flac_mac.exe
flac_mac.exe: $(OBJS)
link.exe $(OBJS) -out:$*.exe
clean:
-del *.obj *.pch
-del flac_mac.exe
!include <win32.mak>
.c.obj:
$(cc) $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -YX /O2 -DNODEBUG $<
C_FILES= \
main.c
OBJS= $(C_FILES:.c=.obj)
all: flac_ren.exe
flac_ren.exe: $(OBJS)
link.exe $(OBJS) -out:$*.exe
clean:
-del *.obj *.pch
-del flac_ren.exe
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) /D "_LIB" /GX $(cdebug) $(cflags) /I ".\include" /I "..\..\include" -DFLAC__NO_DLL -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.c.obj:
$(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I ".\include" /I "..\..\include" -DFLAC__NO_DLL -DSTRICT -YX -DNODEBUG $<
!endif
C_FILES= \
canonical_tag.c \
charset.c \
dither.c \
id3v1.c \
id3v2.c \
replaygain_synthesis.c \
vorbiscomment.c
OBJS= $(C_FILES:.c=.obj)
all: plugin_common_static.lib
plugin_common_static.lib: $(OBJS)
link.exe -lib /nodefaultlib -out:../../obj/release/lib/$*.lib $(OBJS)
clean:
-del *.obj *.pch
-del ..\..\obj\release\lib\plugin_common_static.lib ..\..\obj\release\lib\plugin_common_static.pdb
# in_flac - Winamp2 FLAC input plugin
# Copyright (C) 2000,2001,2002,2003 Josh Coalson
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) -DFLAC__NO_DLL /GX $(cdebug) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" /I ".." -DSTRICT -DVERSION=\"1.1.0\" -YX /Od /D "_DEBUG" $<
!else
.c.obj:
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) $(cvarsdll) /I "..\..\include" /I ".\include" /I ".." -DSTRICT -DVERSION=\"1.1.0\" -YX -DNODEBUG $<
.rc.res:
$(rc) $<
!endif
C_FILES= \
config.c \
in_flac.c \
infobox.c
OBJS= $(C_FILES:.c=.obj)
all: in_flac.dll
in_flac.dll: $(OBJS)
link.exe /dll /nodefaultlib:libc.lib /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.dll $(OBJS) libFLAC_static.lib plugin_common_static.lib user32.lib kernel32.lib
clean:
-del *.obj *.pch
-del ..\..\obj\release\bin\in_flac.*
!include <win32.mak>
# It's less hassle to spell it all out that to figure out how to do it right with nmake:
all:
cd gain_analysis
nmake /f Makefile.vc
cd ..
cd getopt
nmake /f Makefile.vc
cd ..
cd grabbag
nmake /f Makefile.vc
cd ..
cd utf8
nmake /f Makefile.vc
cd ..
clean:
cd gain_analysis
nmake /f Makefile.vc clean
cd ..
cd getopt
nmake /f Makefile.vc clean
cd ..
cd grabbag
nmake /f Makefile.vc clean
cd ..
cd utf8
nmake /f Makefile.vc clean
cd ..
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) /D "_LIB" /GX $(cdebug) $(cflags) /I "..\..\..\include\share" -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.c.obj:
$(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I "..\..\..\include\share" -DSTRICT -YX -DNODEBUG $<
!endif
C_FILES= \
gain_analysis.c \
OBJS= $(C_FILES:.c=.obj)
all: gain_analysis_static.lib
gain_analysis_static.lib: $(OBJS)
link.exe -lib /nodefaultlib -out:../../../obj/release/lib/$*.lib $(OBJS)
clean:
-del *.obj *.pch
-del ..\..\..\obj\release\lib\gain_analysis_static.lib ..\..\..\obj\release\lib\gain_analysis_static.pdb
!include <win32.mak>
!IFDEF DEBUG
.c.obj:
$(cc) /D "_LIB" /GX $(cdebug) $(cflags) /I "..\..\..\include" /I "..\..\..\include\share" -DSTRICT -YX /Od /D "_DEBUG" $<
!else
.c.obj:</