mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
obsolete now that .dsp files are complete
This commit is contained in:
11
Makefile.vc
11
Makefile.vc
@@ -1,11 +0,0 @@
|
|||||||
!include <win32.mak>
|
|
||||||
|
|
||||||
all:
|
|
||||||
cd src
|
|
||||||
nmake /f Makefile.vc
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
clean:
|
|
||||||
cd src
|
|
||||||
nmake /f Makefile.vc clean
|
|
||||||
cd ..
|
|
||||||
103
src/Makefile.vc
103
src/Makefile.vc
@@ -1,103 +0,0 @@
|
|||||||
!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 ..
|
|
||||||
@@ -1,47 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,49 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,76 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,42 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
!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 ..
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
!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
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
!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
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
!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
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
# 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.*
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
!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 ..
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
!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
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
!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:
|
|
||||||
$(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I "..\..\..\include" /I "..\..\..\include\share" -DSTRICT -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
getopt.c \
|
|
||||||
getopt1.c
|
|
||||||
|
|
||||||
OBJS= $(C_FILES:.c=.obj)
|
|
||||||
|
|
||||||
all: getopt_static.lib
|
|
||||||
|
|
||||||
getopt_static.lib: $(OBJS)
|
|
||||||
link.exe -lib /nodefaultlib -out:../../../obj/release/lib/$*.lib $(OBJS)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\..\obj\release\lib\getopt_static.lib ..\..\..\obj\release\lib\getopt_static.pdb
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
!include <win32.mak>
|
|
||||||
|
|
||||||
!IFDEF DEBUG
|
|
||||||
.c.obj:
|
|
||||||
$(cc) /D "_LIB" /GX $(cdebug) $(cflags) /I "..\..\..\include" -DFLAC__NO_DLL -DSTRICT -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.c.obj:
|
|
||||||
$(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I "..\..\..\include" -DFLAC__NO_DLL -DSTRICT -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
cuesheet.c \
|
|
||||||
file.c \
|
|
||||||
replaygain.c \
|
|
||||||
seektable.c
|
|
||||||
|
|
||||||
OBJS= $(C_FILES:.c=.obj)
|
|
||||||
|
|
||||||
all: grabbag_static.lib
|
|
||||||
|
|
||||||
grabbag_static.lib: $(OBJS)
|
|
||||||
link.exe -lib /nodefaultlib -out:../../../obj/release/lib/$*.lib $(OBJS)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\..\obj\release\lib\grabbag_static.lib ..\..\..\obj\release\lib\grabbag_static.pdb
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
!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:
|
|
||||||
$(cc) /D "_LIB" /O2 $(crelease) $(cflags) /I "..\..\..\include" /I "..\..\..\include\share" -DSTRICT -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
charset.c \
|
|
||||||
iconvert.c \
|
|
||||||
utf8.c
|
|
||||||
|
|
||||||
OBJS= $(C_FILES:.c=.obj)
|
|
||||||
|
|
||||||
all: utf8_static.lib
|
|
||||||
|
|
||||||
utf8_static.lib: $(OBJS)
|
|
||||||
link.exe -lib /nodefaultlib -out:../../../obj/release/lib/$*.lib $(OBJS)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\..\obj\release\lib\utf8_static.lib ..\..\..\obj\release\lib\utf8_static.pdb
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
!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 cuesheet
|
|
||||||
nmake /f Makefile.vc
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
clean:
|
|
||||||
cd cuesheet
|
|
||||||
nmake /f Makefile.vc clean
|
|
||||||
cd ..
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
# test_cuesheet - Simple tester for cuesheet routines in grabbag
|
|
||||||
# Copyright (C) 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
|
|
||||||
|
|
||||||
OBJS= $(C_FILES:.c=.obj)
|
|
||||||
|
|
||||||
all: test_cuesheet.exe
|
|
||||||
|
|
||||||
test_cuesheet.exe: $(OBJS)
|
|
||||||
link.exe /libpath:"..\..\..\obj\release\lib" -out:../../../obj/release/bin/$*.exe $(OBJS) grabbag_static.lib gain_analysis_static.lib libFLAC_static.lib
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\..\obj\release\bin\test_cuesheet.exe
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
# test_libFLAC++ - Unit tester for libFLAC++
|
|
||||||
# Copyright (C) 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>
|
|
||||||
|
|
||||||
SUFFIXES = .cpp
|
|
||||||
|
|
||||||
!IFDEF DEBUG
|
|
||||||
.c.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.c.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
!IFDEF DEBUG
|
|
||||||
.cpp.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /GR /D "_LIB" /GX $(cdebug) $(cflags) /I "..\..\include" -DSTRICT -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.cpp.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /GR /D "_LIB" /O2 $(crelease) $(cflags) /I "..\..\include" -DSTRICT -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
file_utils.c \
|
|
||||||
metadata_utils.c
|
|
||||||
|
|
||||||
CPP_FILES= \
|
|
||||||
decoders.cpp \
|
|
||||||
encoders.cpp \
|
|
||||||
main.cpp \
|
|
||||||
metadata.cpp \
|
|
||||||
metadata_manip.cpp \
|
|
||||||
metadata_object.cpp
|
|
||||||
|
|
||||||
C_OBJS= $(C_FILES:.c=.obj)
|
|
||||||
CPP_OBJS= $(CPP_FILES:.cpp=.obj)
|
|
||||||
|
|
||||||
all: test_libFLAC++.exe
|
|
||||||
|
|
||||||
test_libFLAC++.exe: $(C_OBJS) $(CPP_OBJS)
|
|
||||||
link.exe /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.exe $(CPP_OBJS) $(C_OBJS) grabbag_static.lib gain_analysis_static.lib libFLAC++_static.lib libFLAC_static.lib
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\obj\release\bin\test_libFLAC++.exe
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
# test_libFLAC - Unit tester for libFLAC
|
|
||||||
# Copyright (C) 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 "..\libFLAC\include" /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.c.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\libFLAC\include" /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
bitbuffer.c \
|
|
||||||
decoders.c \
|
|
||||||
encoders.c \
|
|
||||||
file_utils.c \
|
|
||||||
main.c \
|
|
||||||
metadata.c \
|
|
||||||
metadata_manip.c \
|
|
||||||
metadata_object.c \
|
|
||||||
metadata_utils.c
|
|
||||||
|
|
||||||
OBJS= $(C_FILES:.c=.obj)
|
|
||||||
|
|
||||||
all: test_libFLAC.exe
|
|
||||||
|
|
||||||
test_libFLAC.exe: $(OBJS)
|
|
||||||
link.exe /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.exe $(OBJS) grabbag_static.lib gain_analysis_static.lib libFLAC_static.lib
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\obj\release\bin\test_libFLAC.exe
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
# test_libOggFLAC++ - Unit tester for libOggFLAC++
|
|
||||||
# Copyright (C) 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>
|
|
||||||
|
|
||||||
SUFFIXES = .cpp
|
|
||||||
|
|
||||||
!IFDEF DEBUG
|
|
||||||
.c.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL $(cdebug) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.c.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
!IFDEF DEBUG
|
|
||||||
.cpp.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /GR /D "_LIB" /GX $(cdebug) $(cflags) /I "..\..\include" -DSTRICT -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.cpp.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /GR /D "_LIB" /O2 $(crelease) $(cflags) /I "..\..\include" -DSTRICT -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
file_utils.c \
|
|
||||||
metadata_utils.c
|
|
||||||
|
|
||||||
CPP_FILES= \
|
|
||||||
decoders.cpp \
|
|
||||||
encoders.cpp \
|
|
||||||
main.cpp
|
|
||||||
|
|
||||||
C_OBJS= $(C_FILES:.c=.obj)
|
|
||||||
CPP_OBJS= $(CPP_FILES:.cpp=.obj)
|
|
||||||
|
|
||||||
all: test_libOggFLAC++.exe
|
|
||||||
|
|
||||||
test_libOggFLAC++.exe: $(C_OBJS) $(CPP_OBJS)
|
|
||||||
link.exe /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.exe $(CPP_OBJS) $(C_OBJS) grabbag_static.lib gain_analysis_static.lib libOggFLAC++_static.lib libOggFLAC_static.lib libFLAC_static.lib ogg_static.lib
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\obj\release\bin\test_libOggFLAC++.exe
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
# test_libOggFLAC - Unit tester for libOggFLAC
|
|
||||||
# Copyright (C) 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 -DVERSION=\"1.1.0\" -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.c.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
decoders.c \
|
|
||||||
encoders.c \
|
|
||||||
file_utils.c \
|
|
||||||
main.c \
|
|
||||||
metadata_utils.c
|
|
||||||
|
|
||||||
OBJS= $(C_FILES:.c=.obj)
|
|
||||||
|
|
||||||
all: test_libOggFLAC.exe
|
|
||||||
|
|
||||||
test_libOggFLAC.exe: $(OBJS)
|
|
||||||
link.exe /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.exe $(OBJS) grabbag_static.lib gain_analysis_static.lib libOggFLAC_static.lib libFLAC_static.lib ogg_static.lib
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\obj\release\bin\test_libOggFLAC.exe
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
# test_streams - Simple test pattern generator
|
|
||||||
# Copyright (C) 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 -DVERSION=\"1.1.0\" -YX /Od /D "_DEBUG" $<
|
|
||||||
!else
|
|
||||||
.c.obj:
|
|
||||||
$(cc) -DFLAC__NO_DLL /O2 $(crelease) $(cflags) /I "..\..\include" /I ".\include" -DSTRICT -DVERSION=\"1.1.0\" -YX -DNODEBUG $<
|
|
||||||
!endif
|
|
||||||
|
|
||||||
C_FILES= \
|
|
||||||
main.c
|
|
||||||
|
|
||||||
OBJS= $(C_FILES:.c=.obj)
|
|
||||||
|
|
||||||
all: test_streams.exe
|
|
||||||
|
|
||||||
test_streams.exe: $(OBJS)
|
|
||||||
link.exe /libpath:"..\..\obj\release\lib" -out:../../obj/release/bin/$*.exe $(OBJS)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
-del *.obj *.pch
|
|
||||||
-del ..\..\obj\release\bin\test_streams.exe
|
|
||||||
Reference in New Issue
Block a user