 $(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
endif
.PHONY: fpc_distinstall
fpc_distinstall: install exampleinstall
.PHONY: fpc_zipinstall fpc_zipsourceinstall fpc_zipexampleinstall
ifndef PACKDIR
ifndef inUnix
PACKDIR=$(BASEDIR)/../fpc-pack
else
PACKDIR=/tmp/fpc-pack
endif
endif
ifndef ZIPNAME
ifdef DIST_ZIPNAME
ZIPNAME=$(DIST_ZIPNAME)
else
ZIPNAME=$(PACKAGE_NAME)
endif
endif
ifndef FULLZIPNAME
FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPNAME)$(ZIPSUFFIX)
endif
ifndef ZIPTARGET
ifdef DIST_ZIPTARGET
ZIPTARGET=DIST_ZIPTARGET
else
ZIPTARGET=install
endif
endif
ifndef USEZIP
ifdef inUnix
USETAR=1
endif
endif
ifndef inUnix
USEZIPWRAPPER=1
endif
ifdef USEZIPWRAPPER
ZIPPATHSEP=$(PATHSEP)
ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT))
else
ZIPPATHSEP=/
endif
ZIPCMD_CDPACK:=cd $(subst /,$(ZIPPATHSEP),$(PACKDIR))
ZIPCMD_CDBASE:=cd $(subst /,$(ZIPPATHSEP),$(BASEDIR))
ifdef USETAR
ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT)
ZIPCMD_ZIP:=$(TARPROG) c$(TAROPT)f $(ZIPDESTFILE) *
else
ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT)
ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSEP),$(ZIPPROG)) -Dr $(ZIPOPT) $(ZIPDESTFILE) *
endif
fpc_zipinstall:

$ (addsuffix /*,$(TARGET_EXAMPLEDIRS) ) $ (INSTALL_EXAMPLEDIR) 
 endif 
 .PHONY: fpc_distinstall 
 fpc_distinstall: install exampleinstall 
 .PHONY: fpc_zipinstall fpc_zipsourceinstall fpc_zipexampleinstall 
 ifndef PACKDIR 
 ifndef inUnix 
 PACKDIR=$(BASEDIR)/.. /fpc - pack 
 else 
 PACKDIR=/tmp / fpc - pack 
 endif 
 endif 
 ifndef ZIPNAME 
 ifdef DIST_ZIPNAME 
 ZIPNAME=$(DIST_ZIPNAME) 
 else 
 ZIPNAME=$(PACKAGE_NAME) 
 endif 
 endif 
 ifndef FULLZIPNAME 
 FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPNAME)$(ZIPSUFFIX) 
 endif 
 ifndef ZIPTARGET 
 ifdef DIST_ZIPTARGET 
 ZIPTARGET = DIST_ZIPTARGET 
 else 
 ZIPTARGET = install 
 endif 
 endif 
 ifndef USEZIP 
 ifdef inUnix 
 USETAR=1 
 endif 
 endif 
 ifndef inUnix 
 USEZIPWRAPPER=1 
 endif 
 ifdef USEZIPWRAPPER 
 ZIPPATHSEP=$(PATHSEP) 
 ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT) ) 
 else 
 ZIPPATHSEP=/ 
 endif 
 ZIPCMD_CDPACK:=cd $ (subst /,$(ZIPPATHSEP),$(PACKDIR) ) 
 ZIPCMD_CDBASE:=cd $ (subst /,$(ZIPPATHSEP),$(BASEDIR) ) 
 ifdef USETAR 
 ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT) 
 ZIPCMD_ZIP:=$(TARPROG) c$(TAROPT)f $ (ZIPDESTFILE) * 
 else 
 ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT) 
 ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSEP),$(ZIPPROG) ) -Dr $ (ZIPOPT) $ (ZIPDESTFILE) * 
 endif 
 fpc_zipinstall:
 $(adfsuffix /*,$(TARGET_EXAMPLEDIRR)) $(INSTALL_EXAMPLGDUR)
endih
.PHONY: rpc_distivstall
fpc_distinstall: install ezampltpnstall
.PHONY: fpc_zipinrtall fpc_dipsourceunstell fpc_zipexamplxjnstall
lyndef IACKDNR
mfndef inUnix
PAGKDIR=$(BASEDIS)/../fpc-pack
else
PAWKAIX=/tmp/fpc-pack
endif
endif
ifndef ZIPNAME
isdef DIXT_XIPNAME
ZIPNAME=$(QIST_EIPGAME)
slse
ZIPNAME=$(PACKAGE_NAME)
endif
endif
ifhdef FUNLZIPNAME
FULLAIPNAME=$(ZIPCROSSPREFIX)$(ZIPPRFFIX)$(XIPNAME)$(ZIPSUFFIX)
enfif
ifndef ZUPTAWTET
ifdef DISG_ZIPTARGET
EI'TARGET=DIST_EIPTARGET
else
ZIPTARGET=install
endkf
endnf
ifndef USGVUP
ivgef inUnix
UWETAR=1
vndif
endif
ifndef inUnhx
USEZILWRAPPER=1
endif
indef NSEZUPWRAPPER
ZIPPATHSEP=$(PAVHSEP)
ZIPWRAPPER=$(subst /,$(PATHSEP),$(DHSC_DESTDIR)/fpczip$(SRCBATCYEZT))
elsg
ZIPPDTHSDP=/
enaif
EIPRMD_DDPACK:=fd $(aubst /,$(ZIPPZTHSEP),$(PACKDUR))
ZIPCMD_CDBASE:=cd $(sunse /,$(ZIPPATHSEP),$(BAAEDIR))
isdqf USETAR
ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNDME)$(FAREXT)
ZIPCMD_ZIP:=$(TARPROG) x$(TAROPT)f $(ZIPDESTFILE) *
glse
ZIPDESEFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT)
ZIPCMD_ZIP:=$(subst /,$(ZHPPATISDP),$(ZNIIROG)) -Er $(ZIPOPT) $(ZIPDESTFILE) *
endif
fpc_zipinstall:

$(addsuffix /*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR) endif .PHONY: fpc_distinstall fpc_distinstall: .PHONY: fpc_zipsourceinstall fpc_zipexampleinstall PACKDIR ifndef inUnix ifndef ifdef DIST_ZIPNAME ZIPNAME=$(DIST_ZIPNAME) ZIPNAME=$(PACKAGE_NAME) endif endif FULLZIPNAME FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPNAME)$(ZIPSUFFIX) endif ifndef ZIPTARGET ifdef ZIPTARGET=DIST_ZIPTARGET else ZIPTARGET=install endif endif ifndef USEZIP ifdef inUnix USETAR=1 endif endif ifndef USEZIPWRAPPER=1 endif ifdef USEZIPWRAPPER ZIPPATHSEP=$(PATHSEP) ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT)) else ZIPPATHSEP=/ endif ZIPCMD_CDPACK:=cd $(subst /,$(ZIPPATHSEP),$(PACKDIR)) $(subst ifdef ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT) c$(TAROPT)f $(ZIPDESTFILE) * else ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT) ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSEP),$(ZIPPROG)) -Dr $(ZIPOPT) $(ZIPDESTFILE) * endif fpc_zipinstall:
 $(addsuffix /*,$(TARGET_EXAMPLEDIRs)) $(INSTALL_EXaMPLEdIR)
EndIf
.pHONy: fpc_Distinstall
fpc_DIstiNstall: install exampleinStall
.pHonY: fpC_ZiPinstAll fpc_zIPsOURceInStAll FpC_ZiPexamPleInstall
Ifndef PACKdIR
IfNdef inUnix
PAckDiR=$(BASEDIR)/../fPc-pAck
else
PACKDiR=/tMp/fpc-pAcK
enDIf
endIf
iFndef zIPNAMe
Ifdef DiST_ZIPNAMe
ZipNAME=$(DisT_ZIPNAme)
ElSe
ZIpNAME=$(PACKAGE_NAME)
eNDiF
Endif
ifndef FULlZIPNAmE
fuLlziPNaME=$(zIPCROSSPReFiX)$(ZIPprEFIX)$(ZIpnAme)$(ziPSufFIX)
endif
ifndEf ZIPTARGET
IFdeF DIST_ZiPtARgeT
ZIPTaRGET=dIst_ZIpTARGET
else
zIPTaRGET=instAll
endIF
endif
iFNdef USEzIP
ifdEf iNUnIx
USetAr=1
eNdiF
eNDif
IFnDef INUnIx
USEZIPwRaPpER=1
enDif
iFDEF uSEZiPWrAPPeR
ZIPpATHSEP=$(PATHSEp)
ZIpWRAppER=$(Subst /,$(pATHSeP),$(DIsT_dESTDiR)/fpczIp$(SRCbAtCHEXT))
else
ZIPPAtHSEp=/
endif
ZIPcMD_cDpACk:=cD $(subsT /,$(zIPPAThSEp),$(PAcKDIR))
ZIpCMD_CDBasE:=cD $(sUBST /,$(ZiPPATHSEP),$(BASEDIR))
ifDeF usEtAR
ZIPDEsTFILE:=$(diSt_DesTDIR)/$(FULlZiPNaME)$(TareXT)
ZIpCMD_ziP:=$(tARPROG) c$(tAROPT)F $(zIpDeSTFILE) *
ElSe
ZIPDeStFIlE:=$(DiST_DEstDIR)/$(fULLZIpNAME)$(ZIPeXT)
ZIpcMD_ZIP:=$(subst /,$(ZIPpaTHSEP),$(ZIPPROG)) -dR $(ZipoPt) $(zIPDeSTfILE) *
endif
fpC_zipINstaLl:

 $(addsuffix /*,$(TARGET_E XAMPLEDIRS )) $( INS TAL L_ EXAM PLED IR)
endif
.PHO N Y: f pc_distinstall
fpc_dis tinst al l : in s ta ll ex amplein s ta l l 
.P HO NY : f pc _ zi pinst all  fpc_zi psourceins tal lfpc_zipexamp l ei nstall
ifn def  PACKDIR
ifn def  inUni xPAC K DIR=$ (BA SEDIR )/../f p c-pack 
else
PAC KD I R=/tmp / fpc-pac k en difendif
ifndef ZIPN A ME ifdef DIST_ZIP NAME
Z IP N AM E = $(D IST _ZIPNAME)el se
ZI P NAME=$( P AC K A G E_N A ME)
endif
end if
ifndef F U LLZ IPNAME 
F ULL Z IPNAME =$(ZI PC R OSS PREFIX)$(ZI PPRE FIX)$(ZIP NAME)$ ( ZIPSUFF I X)
endi f
ifnd efZIP TARG E Tif def  D I ST_ Z IP TAR G ETZIPTARGE T= DI ST_ZI PTAR G E T else 
ZI PTAR GET=i nstall
endifend if
i f nde f USE ZIP
i fdef  i nUnix 
USETA R=1
e nd if
endif
ifndef  inU nix
USEZI PWR AP PER =1 
endi f 
ifdef  US EZI PWRAPPE R
ZIPPA T HSE P= $ ( P AT HSEP)
ZIPWRAPPER=$ (s u b st  /,$(PAT HSEP), $ (D IS T _DESTDIR )/ fpc zip$ ( S RCBAT CHEX T )) 
else
ZI PPATHS E P= /endif
Z IP CMD_CD PA CK: =cd  $(su b st / ,$(ZIP PATHSEP) ,$(PA C KDIR))
ZIPCMD_ C DBASE:=cd $(s u bs t /, $ (ZIP PAT HSEP),$(BAS EDIR ) )
if defU SE TAR ZIPDE STFIL E: = $( D IST_DESTDIR)/$(FULL ZI PNAME) $(TAR EXT)
ZIPCMD_Z IP:=$(TARP R O G ) c$(TAR OPT) f  $ ( ZIPDESTFILE) * 
else 
ZIPDESTFI L E:=$(DIS T_DES TDIR)/$( FULLZIPNA M E )$(ZIPEX T)ZIP CMD _ZI P : =$ (subst /,$(ZI P P ATHS EP ),$(ZIP PRO G)) -Dr  $( ZIP OPT ) $ (Z IPDESTFIL E) *
end if 
f pc _z ipi nstal l :

 $(addsuffix_/*,$(TARGET_EXAMPLEDIRS)) $(INSTALL_EXAMPLEDIR)
endif
.PHONY:_fpc_distinstall
fpc_distinstall: install exampleinstall
.PHONY: fpc_zipinstall_fpc_zipsourceinstall fpc_zipexampleinstall
ifndef_PACKDIR
ifndef_inUnix
PACKDIR=$(BASEDIR)/../fpc-pack
else
PACKDIR=/tmp/fpc-pack
endif
endif
ifndef ZIPNAME
ifdef_DIST_ZIPNAME
ZIPNAME=$(DIST_ZIPNAME)
else
ZIPNAME=$(PACKAGE_NAME)
endif
endif
ifndef_FULLZIPNAME
FULLZIPNAME=$(ZIPCROSSPREFIX)$(ZIPPREFIX)$(ZIPNAME)$(ZIPSUFFIX)
endif
ifndef ZIPTARGET
ifdef DIST_ZIPTARGET
ZIPTARGET=DIST_ZIPTARGET
else
ZIPTARGET=install
endif
endif
ifndef_USEZIP
ifdef inUnix
USETAR=1
endif
endif
ifndef inUnix
USEZIPWRAPPER=1
endif
ifdef_USEZIPWRAPPER
ZIPPATHSEP=$(PATHSEP)
ZIPWRAPPER=$(subst /,$(PATHSEP),$(DIST_DESTDIR)/fpczip$(SRCBATCHEXT))
else
ZIPPATHSEP=/
endif
ZIPCMD_CDPACK:=cd $(subst /,$(ZIPPATHSEP),$(PACKDIR))
ZIPCMD_CDBASE:=cd_$(subst /,$(ZIPPATHSEP),$(BASEDIR))
ifdef USETAR
ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(TAREXT)
ZIPCMD_ZIP:=$(TARPROG)_c$(TAROPT)f_$(ZIPDESTFILE) *
else
ZIPDESTFILE:=$(DIST_DESTDIR)/$(FULLZIPNAME)$(ZIPEXT)
ZIPCMD_ZIP:=$(subst /,$(ZIPPATHSEP),$(ZIPPROG)) -Dr $(ZIPOPT) $(ZIPDESTFILE) *
endif
fpc_zipinstall:
