/components/printers/Makefile.fpc

http://github.com/graemeg/lazarus · Unknown · 64 lines · 54 code · 10 blank · 0 comment · 0 complexity · 68f36b50ae35d481fd0a8260e4aa4bf4 MD5 · raw file

  1. # File generated automatically by Lazarus Package Manager
  2. #
  3. # Makefile.fpc for Printer4Lazarus 0.5
  4. #
  5. # This file was generated on 1-10-15
  6. [package]
  7. name=printer4lazarus
  8. version=0.5
  9. [compiler]
  10. unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
  11. unitdir=unix win32 carbon qt cocoa ../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../cairocanvas/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) .
  12. includedir=unix win32 carbon qt cocoa
  13. options= -MObjFPC -Scgi -O1 -g -gl -l -vewnhibq -dLCL -dLCL$(LCL_PLATFORM) -dUseCache -dNativePrint -dUSEUNICODE $(DBG_OPTIONS)
  14. [target]
  15. units=printer4lazarus.pas
  16. [clean]
  17. files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
  18. $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
  19. $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
  20. $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
  21. $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
  22. $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
  23. $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
  24. [prerules]
  25. # LCL Platform
  26. ifndef LCL_PLATFORM
  27. ifeq ($(OS_TARGET),win32)
  28. LCL_PLATFORM=win32
  29. else
  30. ifeq ($(OS_TARGET),win64)
  31. LCL_PLATFORM=win32
  32. else
  33. ifeq ($(OS_TARGET),darwin)
  34. LCL_PLATFORM=carbon
  35. else
  36. LCL_PLATFORM=gtk2
  37. endif
  38. endif
  39. endif
  40. endif
  41. export LCL_PLATFORM
  42. DBG_OPTIONS=
  43. ifeq ($(OS_TARGET),darwin)
  44. DBG_OPTIONS=-gw
  45. endif
  46. [rules]
  47. .PHONY: cleartarget compiled all
  48. cleartarget:
  49. -$(DEL) $(COMPILER_UNITTARGETDIR)/printer4lazarus$(PPUEXT)
  50. compiled:
  51. $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/Printer4Lazarus.compiled
  52. all: cleartarget $(COMPILER_UNITTARGETDIR) printer4lazarus$(PPUEXT) compiled
  53. distclean: clean
  54. ${DELTREE} lib/*