| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- #
- # Makefile.fpc to create and group units needed for
- # tests for all targets
- #
- [target]
- units=erroru
- [install]
- fpcpackage=y
- [default]
- fpcdir=../..
- [rules]
- .PHONY: rtl fcl clean
- DUMMYINSTALLDIR=$(BASEDIR)/tmp
- INSTALLOPT=INSTALL_PREFIX=$(DUMMYINSTALLDIR) INSTALL_UNITDIR=$(BASEDIR)
- ifndef USEUNITDIR
- rtl:
- $(MAKE) -C ../../rtl all "OPT=$(OPT) -n"
- $(MAKE) -C ../../rtl install $(INSTALLOPT)
- fcl:
- $(MAKE) -C ../../packages/base all "OPT=$(OPT) -n"
- $(MAKE) -C ../../fcl all "OPT=$(OPT) -n"
- $(MAKE) -C ../../fcl install $(INSTALLOPT)
- clean : cleanall
- # $(MAKE) -C ../../rtl clean
- # $(MAKE) -C ../../fcl clean
- $(DELTREE) $(DUMMYINSTALLDIR)
- else
- rtl:
- $(COPY) $(USEUNITDIR)/* .
- $(ECHO) Copied > $(FPCMADE)
- fcl: rtl
- clean : cleanall
- $(DELTREE) $(DUMMYINSTALLDIR)
- endif
- erroru$(PPUEXT): erroru.pp rtl fcl
|