mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-17 20:51:36 +01:00
69 lines
1.6 KiB
Makefile
69 lines
1.6 KiB
Makefile
#
|
|
# Makefile.fpc for Free Component Library
|
|
#
|
|
|
|
[package]
|
|
name=fcl
|
|
version=1.9.0
|
|
|
|
[require]
|
|
packages=paszlib
|
|
packages_linux=netdb libasync pthreads
|
|
packages_freebsd=netdb libasync pthreads
|
|
packages_netbsd=netdb libasync
|
|
packages_openbsd=netdb libasync
|
|
packages_win32=netdb
|
|
|
|
# clean package units
|
|
[clean]
|
|
units=adler gzcrc gzio infblock infcodes inffast inftrees infutil minigzip paszlib trees zbase zcompres zdeflate zinflate zuncompr zutil pthreads
|
|
|
|
[target]
|
|
dirs=xml image db shedit passrc net
|
|
units=$(CLASSES10) contnrs inifiles ezcgi pipes rtfpars idea base64 gettext \
|
|
iostream zstream cachecls xmlreg registry eventlog custapp cgiapp \
|
|
wformat whtml wtex
|
|
units_freebsd=process ssockets resolve fpasync syncobjs
|
|
units_netbsd=process ssockets resolve fpasync
|
|
units_openbsd=process ssockets resolve fpasync
|
|
units_linux=process resolve ssockets fpasync syncobjs
|
|
units_win32=process fileinfo resolve ssockets syncobjs
|
|
units_netware=resolve ssockets
|
|
rsts=$(CLASSES10) ssockets cachecls resolve custapp cgiapp eventlog registry
|
|
exampledirs=tests
|
|
[compiler]
|
|
options=-S2
|
|
targetdir=$(OS_TARGET)
|
|
includedir=$(OS_TARGET) inc
|
|
includedir_linux=unix
|
|
includedir_freebsd=unix
|
|
includedir_netbsd=unix
|
|
includedir_openbsd=unix
|
|
includedir_sunos=posix
|
|
includedir_qnx=posix
|
|
includedir_emx=os2
|
|
sourcedir=$(OS_TARGET) inc
|
|
|
|
[libs]
|
|
libname=fpfcl
|
|
|
|
[install]
|
|
fpcpackage=y
|
|
|
|
[default]
|
|
fpcdir=..
|
|
|
|
[prerules]
|
|
# Also build classes for 1.0.x
|
|
ifneq ($(findstring 1.0.,$(FPC_VERSION)),)
|
|
CLASSES10=classes
|
|
endif
|
|
|
|
[rules]
|
|
ifdef CLASSES10
|
|
classes$(PPUEXT):
|
|
$(COMPILER) -Ficlasses -Ficlasses/$(OS_TARGET) classes/$(OS_TARGET)/classes.pp
|
|
endif
|
|
|
|
xmlreg.pp: xml
|