indylaz-Makefile.fpc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Makefile.fpc for IndyLaz 10.5.8.0
  2. [package]
  3. name=indylaz
  4. version=10.5.8.0
  5. [compiler]
  6. unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
  7. unitdir=../../../ideintf/units/$(CPU_TARGET)-$(OS_TARGET)/ $(CPU_TARGET)-$(OS_TARGET)/ ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)/ ../../../packager/units/$(CPU_TARGET)-$(OS_TARGET)/
  8. options=-dLCL -dLCL$(LCL_PLATFORM) -gl
  9. [target]
  10. units=indylaz.pas
  11. [clean]
  12. files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
  13. $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
  14. $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
  15. $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
  16. $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
  17. [prerules]
  18. # LCL Platform
  19. ifndef LCL_PLATFORM
  20. ifeq ($(OS_TARGET),win32)
  21. LCL_PLATFORM=win32
  22. else
  23. LCL_PLATFORM=gtk
  24. endif
  25. endif
  26. export LCL_PLATFORM
  27. [rules]
  28. .PHONY: cleartarget all
  29. cleartarget:
  30. -$(DEL) $(COMPILER_UNITTARGETDIR)/indylaz$(PPUEXT)
  31. all: cleartarget $(COMPILER_UNITTARGETDIR) indylaz$(PPUEXT)