Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #
  2. # $Id$
  3. # Copyright (c) 1998 by the Free Pascal Development Team
  4. #
  5. # Makefile for Free Pascal Installer
  6. #
  7. # See the file COPYING.FPC, included in this distribution,
  8. # for details about the copyright.
  9. #
  10. # This program is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. #####################################################################
  15. # Defaults
  16. #####################################################################
  17. NEEDUNITDIR=../api ../fv
  18. #####################################################################
  19. # Real targets
  20. #####################################################################
  21. UNITOBJECTS=ziptypes unzip
  22. EXEOBJECTS=install
  23. #####################################################################
  24. # Include default makefile
  25. #####################################################################
  26. ifndef FPCMAKE
  27. ifdef FPCDIR
  28. FPCMAKE=$(FPCDIR)/makefile.fpc
  29. else
  30. FPCMAKE=makefile.fpc
  31. endif
  32. endif
  33. override FPCMAKE:=$(strip $(wildcard $(FPCMAKE)))
  34. ifeq ($(FPCMAKE),)
  35. nofpcmake:
  36. @echo
  37. @echo makefile.fpc not found!
  38. @echo Check the FPCMAKE and FPCDIR environment variables.
  39. @echo
  40. @exit
  41. else
  42. include $(FPCMAKE)
  43. endif
  44. #####################################################################
  45. # Dependencies
  46. #####################################################################
  47. #
  48. # $Log$
  49. # Revision 1.1 1999-02-19 16:45:26 peter
  50. # * moved to fpinst/ directory
  51. # + makefile
  52. #
  53. #