Makefile.fpc 910 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #
  2. # Makefile.fpc for Free Component Library for OS/2
  3. #
  4. [targets]
  5. units=classes $(INCUNITS) $(XMLUNITS) $(SHEDITUNITS)
  6. [defaults]
  7. defaulttarget=os2
  8. [require]
  9. options=-S2
  10. packages=paszlib
  11. [install]
  12. unitsubdir=fcl
  13. packagename=fcl
  14. sourcesubdir=fcl
  15. sourcetopdir=..
  16. [libs]
  17. libname=fpfcl
  18. [dirs]
  19. fpcdir=../..
  20. targetdir=.
  21. incdir=$(INC)
  22. sourcesdir=$(INC) $(XML) $(SHEDIT)
  23. [presettings]
  24. # Include files
  25. INC=../inc
  26. XML=../xml
  27. SHEDIT=../shedit
  28. # INCUNITS,XMLUNITS is defined in makefile.inc
  29. # They are default units for all platforms.
  30. include $(INC)/Makefile.inc
  31. include $(XML)/Makefile.inc
  32. include $(SHEDIT)/Makefile.inc
  33. [rules]
  34. classes$(PPUEXT): $(addprefix $(INC)/,$(INCNAMES)) classes$(PASEXT)
  35. inifiles$(PPUEXT): classes$(PPUEXT) $(INC)/inifiles$(PASEXT)
  36. ezcgi$(PPUEXT): $(INC)/ezcgi$(PASEXT)
  37. shedit$(PPUEXT): $(SHEDIT)/shedit$(PASEXT)
  38. $(COMPILER) $(SHEDIT)/shedit$(PASEXT) -I$(SHEDIT) $(REDIR)