Makefile
资源名称:tcpmp.rar [点击查看]
上传用户:wstnjxml
上传日期:2014-04-03
资源大小:7248k
文件大小:6k
源码类别:
Windows CE
开发平台:
C/C++
- VERSION = 0.2.1
- ATARI800_SRC_DIR = ....atari800src
- ASAP_DIR = ....asap
- FOOBAR2000_SDK_DIR = ....foobar2000_SDK
- CC = cl /nologo /O2 /GL /GR- /GS- /fp:fast /W3 /wd4996 /DNDEBUG
- LINKOPT = /link /release /opt:nowin98
- MKLIB = lib /nologo /ltcg /out:$@
- ASAP_CC = $(CC) /Fe$@ /DHAVE_CONFIG_H /DASAP /DSOUND /I . /I .. /I $(ATARI800_SRC_DIR)
- XASM = xasm /q
- COMMON_C = ..asap.c $(ATARI800_SRC_DIR)cpu.c $(ATARI800_SRC_DIR)mzpokeysnd.c $(ATARI800_SRC_DIR)pokeysnd.c $(ATARI800_SRC_DIR)remez.c
- COMMON_H = config.h ..asap.h ..asap_internal.h ..players.h $(ATARI800_SRC_DIR)cpu.h $(ATARI800_SRC_DIR)mzpokeysnd.h $(ATARI800_SRC_DIR)pokey.h $(ATARI800_SRC_DIR)pokeysnd.h $(ATARI800_SRC_DIR)remez.h
- all: asap2wav.exe wasap.exe winampin_asap.dll
- asap2wav.exe: ..asap2wav.c $(COMMON_C) $(COMMON_H)
- $(ASAP_CC) ..asap2wav.c $(COMMON_C) $(LINKOPT)
- wasap.exe: wasap.c $(COMMON_C) wasap.res $(COMMON_H)
- $(ASAP_CC) wasap.c $(COMMON_C) wasap.res comdlg32.lib shell32.lib user32.lib winmm.lib $(LINKOPT)
- wasap.res: wasap.rc wasap.ico play.ico stop.ico
- rc wasap.rc
- winampin_asap.dll: winampin_asap.c $(COMMON_C) $(COMMON_H)
- $(ASAP_CC) /LD winampin_asap.c $(COMMON_C) user32.lib $(LINKOPT)
- ..players.h: ..raw2c.pl ..playerscmc.obx ..playersmpt.obx ..playersrmt4.obx ..playersrmt8.obx ..playerstmc.obx ..playerstm2.obx
- perl $** >$@
- ..playerscmc.obx: ..playerscmc.asx
- $(XASM) $** /o:$@
- ..playersmpt.obx: ..playersmpt.asx
- $(XASM) $** /o:$@
- ..playersrmt4.obx: ..playersrmt.asx
- $(XASM) $** /d:STEREOMODE=0 /o:$@
- ..playersrmt8.obx: ..playersrmt.asx
- $(XASM) $** /d:STEREOMODE=1 /o:$@
- ..playerstmc.obx: ..playerstmc.asx
- $(XASM) $** /o:$@
- ..playerstm2.obx: ..playerstm2.asx
- $(XASM) $** /o:$@
- # foobar2000
- foo: foobar2000foo_asap.dll
- FOOBAR2000_RUNTIME = $(FOOBAR2000_SDK_DIR)foobar2000foobar2000_component_clientcomponent_client.cpp foobar2000pfc.lib foobar2000utf8api.lib foobar2000foobar2000_SDK.lib
- foobar2000foo_asap.dll: foobar2000foo_asap.cpp $(COMMON_C) $(COMMON_H) $(FOOBAR2000_RUNTIME)
- $(ASAP_CC) /LD /DWIN32 /I $(FOOBAR2000_SDK_DIR) foobar2000foo_asap.cpp $(COMMON_C) $(FOOBAR2000_RUNTIME) $(LINKOPT)
- foobar2000foobar2000_SDK.lib: foobar2000audio_chunk.obj foobar2000console.obj foobar2000dsp.obj foobar2000guids.obj foobar2000reader.obj foobar2000service.obj
- $(MKLIB) $**
- {$(FOOBAR2000_SDK_DIR)foobar2000SDK}.cpp{foobar2000}.obj:
- $(CC) /c /Fo$@ /DWIN32 /I $(FOOBAR2000_SDK_DIR) $**
- foobar2000utf8api.lib: $(FOOBAR2000_SDK_DIR)foobar2000utf8apitext_drawing.cpp $(FOOBAR2000_SDK_DIR)foobar2000utf8apiutf8.cpp $(FOOBAR2000_SDK_DIR)foobar2000utf8apiutf8api.cpp foobar2000pfc.lib
- $(CC) /LD /Fefoobar2000utf8api.dll /DUTF8API_EXPORTS /DWIN32 $** advapi32.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib user32.lib
- foobar2000pfc.lib: foobar2000byte_order_helper.obj foobar2000cfg_var.obj foobar2000mem_block.obj foobar2000string.obj foobar2000utf8.obj
- $(MKLIB) $**
- {$(FOOBAR2000_SDK_DIR)pfc}.cpp{foobar2000}.obj:
- $(CC) /c /Fo$@ /DWIN32 $**
- # delete generated files
- clean:
- del ..players.h;wasap.res;*.obj;asap2wav.exe;wasap.exe;asap2wav.txt
- del foobar2000*.obj;foobar2000*.lib;foobar2000*.exp;foobar2000*.dll
- del winampin_asap.exp;winampin_asap.lib;winampin_asap.dll
- # prepare files for release
- asap2wav.txt: ..asap2wav.1
- groff -m man -r LL=78n -r IN=5n -T ascii -P -cbu ..asap2wav.1 >$@
- dist: all foo ..configure ..config.h.in asap2wav.txt ..playerscmc.obx ..playersmpt.obx ..playersrmt4.obx ..playersrmt8.obx ..playerstmc.obx ..playerstm2.obx
- del ....asap-$(VERSION).tar.gz;....asap2wav-$(VERSION)-win32.zip
- del ....asap-$(VERSION)-win32.zip;....asap-$(VERSION)-winamp.zip
- del ....asap-$(VERSION)-foobar2000.zip
- perl ..maketar.pl -d asap-$(VERSION)
- -t $(ASAP_DIR)asap.c $(ASAP_DIR)asap.h $(ASAP_DIR)asap_internal.h
- $(ASAP_DIR)asap2wav.c $(ASAP_DIR)asap2wav.1
- $(ASAP_DIR)playerscmc.asx $(ASAP_DIR)playersmpt.asx
- $(ASAP_DIR)playersrmt.asx $(ASAP_DIR)playerstmc.asx $(ASAP_DIR)playerstm2.asx
- $(ASAP_DIR)configure.ac $(ASAP_DIR)Makefile.in
- $(ASAP_DIR)config.h.in $(ASAP_DIR)ChangeLog
- $(ASAP_DIR)COPYING $(ASAP_DIR)CREDITS $(ASAP_DIR)INSTALL
- $(ASAP_DIR)NEWS $(ASAP_DIR)README $(ASAP_DIR)TODO
- $(ASAP_DIR)win32config.h $(ASAP_DIR)win32Makefile
- $(ASAP_DIR)win32wasap.c $(ASAP_DIR)win32README
- $(ASAP_DIR)win32resource.h $(ASAP_DIR)win32wasap.rc
- $(ASAP_DIR)win32foobar2000foo_asap.cpp $(ASAP_DIR)win32foobar2000README
- $(ASAP_DIR)win32winampin_asap.c $(ASAP_DIR)win32winampREADME
- $(ASAP_DIR)win32winampin2.h $(ASAP_DIR)win32winampout.h
- $(ASAP_DIR)xmmslibasap.c
- $(ATARI800_SRC_DIR)cpu.c $(ATARI800_SRC_DIR)mzpokeysnd.c
- $(ATARI800_SRC_DIR)cpu.h $(ATARI800_SRC_DIR)mzpokeysnd.h
- $(ATARI800_SRC_DIR)pokey.h
- $(ATARI800_SRC_DIR)pokeysnd.c $(ATARI800_SRC_DIR)remez.c
- $(ATARI800_SRC_DIR)pokeysnd.h $(ATARI800_SRC_DIR)remez.h
- -b $(ASAP_DIR)playerscmc.obx $(ASAP_DIR)playersmpt.obx
- $(ASAP_DIR)playersrmt4.obx $(ASAP_DIR)playersrmt8.obx
- $(ASAP_DIR)playerstmc.obx $(ASAP_DIR)playerstm2.obx
- $(ASAP_DIR)win32play.ico $(ASAP_DIR)win32stop.ico
- $(ASAP_DIR)win32wasap.ico
- -s $(ASAP_DIR)config.guess $(ASAP_DIR)config.sub
- $(ASAP_DIR)install-sh $(ASAP_DIR)configure
- $(ASAP_DIR)maketar.pl $(ASAP_DIR)raw2c.pl
- | 7z a -tgzip -si -mx=9 ....asap-$(VERSION).tar.gz
- copy ..COPYING copying.txt
- 7z a -tzip -mx=9 ....asap2wav-$(VERSION)-win32.zip asap2wav.exe asap2wav.txt copying.txt
- copy /b README + ..README + ..CREDITS + ..NEWS readme.txt
- 7z a -tzip -mx=9 ....asap-$(VERSION)-win32.zip wasap.exe readme.txt copying.txt
- copy ..COPYING winampcopying.txt
- copy /b winampREADME + ..README + ..CREDITS + ..NEWS winampin_asap.txt
- cd winamp
- 7z a -tzip -mx=9 ......asap-$(VERSION)-winamp.zip in_asap.dll in_asap.txt copying.txt
- cd ..
- copy ..COPYING foobar2000copying.txt
- copy /b foobar2000README + ..README + ..CREDITS + ..NEWS foobar2000foo_asap.txt
- cd foobar2000
- 7z a -tzip -mx=9 ......asap-$(VERSION)-foobar2000.zip foo_asap.dll foo_asap.txt copying.txt
- cd ..
- del copying.txt;readme.txt
- del winampcopying.txt;winampin_asap.txt
- del foobar2000copying.txt;foobar2000foo_asap.txt