|
@@ -1,5 +1,5 @@
|
|
|
#
|
|
|
-# Don't edit, this file is generated by FPCMake Version 1.1 [2002/02/28]
|
|
|
+# Don't edit, this file is generated by FPCMake Version 1.1 [2002/02/27]
|
|
|
#
|
|
|
default: all
|
|
|
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx
|
|
@@ -107,7 +107,7 @@ ifndef FPC_VERSION
|
|
|
FPC_VERSION:=$(shell $(FPC) -iV)
|
|
|
endif
|
|
|
export FPC FPC_VERSION
|
|
|
-unexport CHECKDEPEND ALLDEPENDENCIES
|
|
|
+unexport CHECKDEPEND ALL_DEPENDENCIES
|
|
|
ifeq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
|
COMPILERINFO:=$(shell $(FPC) -iSP -iTP -iSO -iTO)
|
|
|
ifndef CPU_SOURCE
|
|
@@ -261,7 +261,6 @@ endif
|
|
|
endif
|
|
|
endif
|
|
|
export INSTALL_PREFIX
|
|
|
-export INSTALL_SOURCESUBDIR
|
|
|
ifndef DIST_DESTDIR
|
|
|
DIST_DESTDIR:=$(BASEDIR)
|
|
|
endif
|
|
@@ -323,7 +322,7 @@ endif
|
|
|
endif
|
|
|
else
|
|
|
ifdef INSTALL_FPCPACKAGE
|
|
|
-INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(INSTALL_SOURCESUBDIR)/$(PACKAGE_NAME)
|
|
|
+INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source/$(PACKAGE_NAME)
|
|
|
else
|
|
|
INSTALL_SOURCEDIR:=$(INSTALL_BASEDIR)/source
|
|
|
endif
|
|
@@ -845,7 +844,7 @@ fpc_distinstall: install exampleinstall
|
|
|
.PHONY: fpc_zipinstall fpc_zipsourceinstall fpc_zipexampleinstall
|
|
|
ifndef PACKDIR
|
|
|
ifndef inUnix
|
|
|
-PACKDIR=$(BASEDIR)/../fpc-pack
|
|
|
+PACKDIR=$(BASEDIR)/fpc-pack
|
|
|
else
|
|
|
PACKDIR=/tmp/fpc-pack
|
|
|
endif
|
|
@@ -1361,6 +1360,28 @@ makefiles: fpc_makefiles
|
|
|
ifneq ($(wildcard fpcmake.loc),)
|
|
|
include fpcmake.loc
|
|
|
endif
|
|
|
-.PHONY: installexamples
|
|
|
+.PHONY: installexamples demozip
|
|
|
installexamples:
|
|
|
- $(MAKE) sourceinstall SOURCEINSTALLDIR=$(EXAMPLEINSTALLDIR)
|
|
|
+ $(MKDIR) $(INSTALL_SOURCEDIR)
|
|
|
+ $(COPYTREE) * $(INSTALL_SOURCEDIR)
|
|
|
+demozip:
|
|
|
+ $(DEL) $(ZIPDESTFILE)
|
|
|
+ifdef USEZIPWRAPPER
|
|
|
+ifneq ($(ECHOREDIR),echo)
|
|
|
+ $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDPACK))" > $(ZIPWRAPPER)
|
|
|
+ $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_ZIP))" >> $(ZIPWRAPPER)
|
|
|
+ $(ECHOREDIR) -e "$(subst \,\\,$(ZIPCMD_CDBASE))" >> $(ZIPWRAPPER)
|
|
|
+else
|
|
|
+ echo $(ZIPCMD_CDPACK) > $(ZIPWRAPPER)
|
|
|
+ echo $(ZIPCMD_ZIP) >> $(ZIPWRAPPER)
|
|
|
+ echo $(ZIPCMD_CDBASE) >> $(ZIPWRAPPER)
|
|
|
+endif
|
|
|
+ifdef inUnix
|
|
|
+ /bin/sh $(ZIPWRAPPER)
|
|
|
+else
|
|
|
+ $(ZIPWRAPPER)
|
|
|
+endif
|
|
|
+ $(DEL) $(ZIPWRAPPER)
|
|
|
+else
|
|
|
+ $(ZIPCMD_CDPACK) ; $(ZIPCMD_ZIP) ; $(ZIPCMD_CDBASE)
|
|
|
+endif
|