home *** CD-ROM | disk | FTP | other *** search
/ hobbes.nmsu.edu / 2008-06-02_hobbes.nmsu.edu.zip / new / pm123-1_32-src.zip / makefile < prev    next >
Makefile  |  2008-04-21  |  9KB  |  334 lines

  1. #
  2. #  makefile for the whole pm123 package
  3. #
  4.  
  5. !include src\config\makerules
  6.  
  7. VERSION = 1_32
  8. PARTS   = src\utils\utilfct$(LBO) src\gbm123\gbm123.dll src\fft123\fft123.dll
  9. PARTS   = $(PARTS) src\xio123\xio123.dll
  10. PARTS   = $(PARTS) src\snd123\snd123.dll
  11. PARTS   = $(PARTS) src\ogg123\ogg123.dll
  12. PARTS   = $(PARTS) src\vrb123\vrb123.dll
  13. PARTS   = $(PARTS) src\zlb123\zlb123.dll
  14. PARTS   = $(PARTS) src\plug-ins\analyzer\analyzer.dll
  15. PARTS   = $(PARTS) src\plug-ins\cddaplay\cddaplay.dll
  16. PARTS   = $(PARTS) src\plug-ins\mpg123\mpg123.dll
  17. PARTS   = $(PARTS) src\plug-ins\os2audio\os2audio.dll
  18. PARTS   = $(PARTS) src\plug-ins\realeq\realeq.dll
  19. PARTS   = $(PARTS) src\plug-ins\wavplay\wavplay.dll
  20. PARTS   = $(PARTS) src\plug-ins\wavout\wavout.dll
  21. PARTS   = $(PARTS) src\plug-ins\oggplay\oggplay.dll
  22. PARTS   = $(PARTS) src\pm123\pm123.dll
  23. PARTS   = $(PARTS) src\main\pm123.exe
  24. PARTS   = $(PARTS) src\skinutil\skinutil.exe
  25. PARTS   = $(PARTS) doc\pm123.inf
  26.  
  27. all: $(PARTS) $(MDUMMY)
  28.  
  29. src\utils\utilfct$(LBO):
  30.     cd src\utils
  31.     @$(MAKE) $(MFLAGS)
  32.     @cd ..\..
  33.  
  34. src\gbm123\gbm123.dll:
  35.     cd src\gbm123
  36.     @$(MAKE) $(MFLAGS)
  37.     @cd ..\..
  38.  
  39. src\fft123\fft123.dll:
  40.     cd src\fft123
  41.     @$(MAKE) $(MFLAGS)
  42.     @cd ..\..
  43.  
  44. src\xio123\xio123.dll:
  45.     cd src\xio123
  46.     @$(MAKE) $(MFLAGS)
  47.     @cd ..\..
  48.  
  49. src\snd123\snd123.dll:
  50.     cd src\snd123
  51.     @$(MAKE) $(MFLAGS)
  52.     @cd ..\..
  53.  
  54. src\ogg123\ogg123.dll:
  55.     cd src\ogg123
  56.     @$(MAKE) $(MFLAGS)
  57.     @cd ..\..
  58.  
  59. src\vrb123\vrb123.dll:
  60.     cd src\vrb123
  61.     @$(MAKE) $(MFLAGS)
  62.     @cd ..\..
  63.  
  64. src\zlb123\zlb123.dll:
  65.     cd src\zlb123
  66.     @$(MAKE) $(MFLAGS)
  67.     @cd ..\..
  68.  
  69. src\plug-ins\analyzer\analyzer.dll:
  70.     cd src\plug-ins\analyzer
  71.     @$(MAKE) $(MFLAGS)
  72.     @cd ..\..\..
  73.  
  74. src\plug-ins\cddaplay\cddaplay.dll:
  75.     cd src\plug-ins\cddaplay
  76.     @$(MAKE) $(MFLAGS)
  77.     @cd ..\..\..
  78.  
  79. src\plug-ins\mpg123\mpg123.dll:
  80.     cd src\plug-ins\mpg123
  81.     @$(MAKE) $(MFLAGS)
  82.     @cd ..\..\..
  83.  
  84. src\plug-ins\os2audio\os2audio.dll:
  85.     cd src\plug-ins\os2audio
  86.     @$(MAKE) $(MFLAGS)
  87.     @cd ..\..\..
  88.  
  89. src\plug-ins\realeq\realeq.dll:
  90.     cd src\plug-ins\realeq
  91.     @$(MAKE) $(MFLAGS)
  92.     @cd ..\..\..
  93.  
  94. src\plug-ins\wavplay\wavplay.dll:
  95.     cd src\plug-ins\wavplay
  96.     @$(MAKE) $(MFLAGS)
  97.     @cd ..\..\..
  98.  
  99. src\plug-ins\wavout\wavout.dll:
  100.     cd src\plug-ins\wavout
  101.     @$(MAKE) $(MFLAGS)
  102.     @cd ..\..\..
  103.  
  104. src\plug-ins\oggplay\oggplay.dll:
  105.     cd src\plug-ins\oggplay
  106.     @$(MAKE) $(MFLAGS)
  107.     @cd ..\..\..
  108.  
  109. src\pm123\pm123.dll:
  110.     cd src\pm123
  111.     @$(MAKE) $(MFLAGS)
  112.     @cd ..\..
  113.  
  114. src\main\pm123.exe:
  115.     cd src\main
  116.     @$(MAKE) $(MFLAGS)
  117.     @cd ..\..
  118.  
  119. src\skinutil\skinutil.exe:
  120.     cd src\skinutil
  121.     @$(MAKE) $(MFLAGS)
  122.     @cd ..\..
  123.  
  124. doc\pm123.inf:
  125.     cd doc
  126.     @$(MAKE) $(MFLAGS)
  127.     @cd ..
  128.  
  129. clean:  $(MDUMMY)
  130.     cd src\utils
  131.     @$(MAKE) $(MFLAGS) clean
  132.     @cd ..\..
  133.     cd src\gbm123
  134.     @$(MAKE) $(MFLAGS) clean
  135.     @cd ..\..
  136.     cd src\fft123
  137.     @$(MAKE) $(MFLAGS) clean
  138.     @cd ..\..
  139.     cd src\xio123
  140.     @$(MAKE) $(MFLAGS) clean
  141.     @cd ..\..
  142.     cd src\snd123
  143.     @$(MAKE) $(MFLAGS) clean
  144.     @cd ..\..
  145.     cd src\ogg123
  146.     @$(MAKE) $(MFLAGS) clean
  147.     @cd ..\..
  148.     cd src\vrb123
  149.     @$(MAKE) $(MFLAGS) clean
  150.     @cd ..\..
  151.     cd src\zlb123
  152.     @$(MAKE) $(MFLAGS) clean
  153.     @cd ..\..
  154.     cd src\plug-ins\analyzer
  155.     @$(MAKE) $(MFLAGS) clean
  156.     @cd ..\..\..
  157.     cd src\plug-ins\cddaplay
  158.     @$(MAKE) $(MFLAGS) clean
  159.     @cd ..\..\..
  160.     cd src\plug-ins\mpg123
  161.     @$(MAKE) $(MFLAGS) clean
  162.     @cd ..\..\..
  163.     cd src\plug-ins\os2audio
  164.     @$(MAKE) $(MFLAGS) clean
  165.     @cd ..\..\..
  166.     cd src\plug-ins\realeq
  167.     @$(MAKE) $(MFLAGS) clean
  168.     @cd ..\..\..
  169.     cd src\plug-ins\wavplay
  170.     @$(MAKE) $(MFLAGS) clean
  171.     @cd ..\..\..
  172.     cd src\plug-ins\wavout
  173.     @$(MAKE) $(MFLAGS) clean
  174.     @cd ..\..\..
  175.     cd src\plug-ins\oggplay
  176.     @$(MAKE) $(MFLAGS) clean
  177.     @cd ..\..\..
  178.     cd src\pm123
  179.     @$(MAKE) $(MFLAGS) clean
  180.     @cd ..\..
  181.     cd src\main
  182.     @$(MAKE) $(MFLAGS) clean
  183.     @cd ..\..
  184.     cd src\skinutil
  185.     @$(MAKE) $(MFLAGS) clean
  186.     @cd ..\..
  187.     cd doc
  188.     @$(MAKE) $(MFLAGS) clean
  189.     @cd ..
  190.  
  191. depend: $(MDUMMY)
  192.     cd src\utils
  193.     @$(MAKE) $(MFLAGS) depend
  194.     @cd ..\..
  195.     cd src\gbm123
  196.     @$(MAKE) $(MFLAGS) depend
  197.     @cd ..\..
  198.     cd src\xio123
  199.     @$(MAKE) $(MFLAGS) depend
  200.     @cd ..\..
  201.     cd src\plug-ins\analyzer
  202.     @$(MAKE) $(MFLAGS) depend
  203.     @cd ..\..\..
  204.     cd src\plug-ins\cddaplay
  205.     @$(MAKE) $(MFLAGS) depend
  206.     @cd ..\..\..
  207.     cd src\plug-ins\mpg123
  208.     @$(MAKE) $(MFLAGS) depend
  209.     @cd ..\..\..
  210.     cd src\plug-ins\os2audio
  211.     @$(MAKE) $(MFLAGS) depend
  212.     @cd ..\..\..
  213.     cd src\plug-ins\realeq
  214.     @$(MAKE) $(MFLAGS) depend
  215.     @cd ..\..\..
  216.     cd src\plug-ins\wavplay
  217.     @$(MAKE) $(MFLAGS) depend
  218.     @cd ..\..\..
  219.     cd src\plug-ins\wavout
  220.     @$(MAKE) $(MFLAGS) depend
  221.     @cd ..\..\..
  222.     cd src\plug-ins\oggplay
  223.     @$(MAKE) $(MFLAGS) depend
  224.     @cd ..\..\..
  225.     cd src\pm123
  226.     @$(MAKE) $(MFLAGS) depend
  227.     @cd ..\..
  228.     cd src\main
  229.     @$(MAKE) $(MFLAGS) depend
  230.     @cd ..\..
  231.     cd src\skinutil
  232.     @$(MAKE) $(MFLAGS) depend
  233.     @cd ..\..
  234.  
  235. dist: distclean distfiles distpackage distzip $(MDUMMY)
  236.  
  237. distfiles: $(MDUMMY)
  238.     if not exist dist\files\visplug mkdir dist\files\visplug
  239.     if not exist dist\files\icons   mkdir dist\files\icons
  240.     if not exist dist\files\pdk     mkdir dist\files\pdk
  241.     copy src\gbm123\gbm123.dll dist\files
  242.     copy src\fft123\fft123.dll dist\files
  243.     copy src\xio123\xio123.dll dist\files
  244.     copy src\snd123\snd123.dll dist\files
  245.     copy src\ogg123\ogg123.dll dist\files
  246.     copy src\vrb123\vrb123.dll dist\files
  247.     copy src\zlb123\zlb123.dll dist\files
  248.     copy src\plug-ins\analyzer\analyzer.dll dist\files\visplug
  249.     copy src\plug-ins\cddaplay\cddaplay.dll dist\files
  250.     copy src\plug-ins\mpg123\mpg123.dll dist\files
  251.     copy src\plug-ins\os2audio\os2audio.dll dist\files
  252.     copy src\plug-ins\realeq\realeq.dll dist\files
  253.     copy src\plug-ins\wavout\wavout.dll dist\files
  254.     copy src\plug-ins\wavplay\wavplay.dll dist\files
  255.     copy src\plug-ins\oggplay\oggplay.dll dist\files
  256.     copy src\pm123\pm123.dll dist\files
  257.     copy src\pm123\default.skn dist\files
  258.     copy src\main\pm123.exe dist\files
  259.     copy src\skinutil\skinutil.exe dist\files
  260.     copy doc\history.html dist\files
  261.     copy doc\pm123.html dist\files
  262.     copy doc\pm123.inf dist\files
  263.     copy doc\pm123_pdk.inf dist\files\pdk
  264.     copy src\WPS\icons\*.ico dist\files\icons
  265.     copy src\WPS\makewps.cmd dist\files
  266.     copy src\include\*.h dist\files\pdk
  267.     copy src\fft123\fft123.lib dist\files\pdk
  268.     copy src\fft123\api\fftw3.h dist\files\pdk\fft123.h
  269.     copy src\fft123\doc\fftw3.pdf dist\files\pdk\fft123.pdf
  270.     copy src\xio123\xio123.lib dist\files\pdk\xio123.lib
  271.     copy src\xio123\xio.h dist\files\pdk\xio123.h
  272.     copy COPYING.html dist\files
  273.     copy COPYRIGHT.html dist\files
  274.  
  275. distpackage: distclean distfiles $(MDUMMY)
  276.     if exist dist\pm123-$(VERSION).exe del dist\pm123-$(VERSION).exe
  277.     wic.exe -a dist\pm123-$(VERSION).exe 1 -U -r -cdist\files * -s dist\warpin.wis
  278.     if exist dist\pm123-$(VERSION).wpi del dist\pm123-$(VERSION).wpi
  279.     wic.exe -a dist\pm123-$(VERSION).wpi 1 -r -cdist\files * -s dist\warpin.wis
  280.  
  281. distzip: distclean distfiles $(MDUMMY)
  282.     if exist dist\pm123-$(VERSION).zip del dist\pm123-$(VERSION).zip
  283.     cmd /c "cd dist\files & zip -rX ..\pm123-$(VERSION).zip * -x CVS\* .cvsignore "
  284.  
  285. distclean: $(MDUMMY)
  286.     -@echo Cleanups...
  287.     -@del  dist\files\icons\* /n           2> nul
  288.     -@rd   dist\files\icons                2> nul
  289.     -@del  dist\files\visplug\* /n         2> nul
  290.     -@rd   dist\files\visplug              2> nul
  291.     -@del  dist\files\pdk\* /n             2> nul
  292.     -@rd   dist\files\pdk                  2> nul
  293.     -@del  dist\files\cddb\blues\* /n      2> nul
  294.     -@rd   dist\files\cddb\blues           2> nul
  295.     -@del  dist\files\cddb\classical\* /n  2> nul
  296.     -@rd   dist\files\cddb\classical       2> nul
  297.     -@del  dist\files\cddb\country\* /n    2> nul
  298.     -@rd   dist\files\cddb\country         2> nul
  299.     -@del  dist\files\cddb\data\* /n       2> nul
  300.     -@rd   dist\files\cddb\data            2> nul
  301.     -@del  dist\files\cddb\folk\* /n       2> nul
  302.     -@rd   dist\files\cddb\folk            2> nul
  303.     -@del  dist\files\cddb\jazz\* /n       2> nul
  304.     -@rd   dist\files\cddb\jazz            2> nul
  305.     -@del  dist\files\cddb\newage\* /n     2> nul
  306.     -@rd   dist\files\cddb\newage          2> nul
  307.     -@del  dist\files\cddb\reggae\* /n     2> nul
  308.     -@rd   dist\files\cddb\reggae          2> nul
  309.     -@del  dist\files\cddb\rock\* /n       2> nul
  310.     -@rd   dist\files\cddb\rock            2> nul
  311.     -@del  dist\files\cddb\soundtrack\* /n 2> nul
  312.     -@rd   dist\files\cddb\soundtrack      2> nul
  313.     -@del  dist\files\cddb\misc\* /n       2> nul
  314.     -@rd   dist\files\cddb\misc            2> nul
  315.     -@rd   dist\files\cddb                 2> nul
  316.     -@del  dist\files\COPYING              2> nul
  317.     -@del  dist\files\COPYRIGHT            2> nul
  318.     -@del  dist\files\*.cmd                2> nul
  319.     -@del  dist\files\*.dll                2> nul
  320.     -@del  dist\files\*.exe                2> nul
  321.     -@del  dist\files\*.skn                2> nul
  322.     -@del  dist\files\*.inf                2> nul
  323.     -@del  dist\files\*.txt                2> nul
  324.     -@del  dist\files\*.htm                2> nul
  325.     -@del  dist\files\*.html               2> nul
  326.     -@del  dist\files\*.ini                2> nul
  327.     -@del  dist\files\*.lst                2> nul
  328.     -@del  dist\files\*.bak                2> nul
  329.     -@del  dist\files\*.mgr                2> nul
  330.     -@del  dist\files\*.log                2> nul
  331.     -@del  dist\pm123-$(VERSION).exe       2> nul
  332.     -@del  dist\pm123-$(VERSION).zip       2> nul
  333.     -@del  dist\pm123-$(VERSION).wpi       2> nul
  334.