mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 16:11:02 +01:00
53 lines
910 B
Makefile
53 lines
910 B
Makefile
#
|
|
# Makefile.fpc for Free Component Library for OS/2
|
|
#
|
|
|
|
[targets]
|
|
units=classes $(INCUNITS) $(XMLUNITS) $(SHEDITUNITS)
|
|
|
|
[defaults]
|
|
defaulttarget=os2
|
|
|
|
[require]
|
|
options=-S2
|
|
packages=paszlib
|
|
|
|
[install]
|
|
unitsubdir=fcl
|
|
packagename=fcl
|
|
sourcesubdir=fcl
|
|
sourcetopdir=..
|
|
|
|
[libs]
|
|
libname=fpfcl
|
|
|
|
[dirs]
|
|
fpcdir=../..
|
|
targetdir=.
|
|
incdir=$(INC)
|
|
sourcesdir=$(INC) $(XML) $(SHEDIT)
|
|
|
|
|
|
[presettings]
|
|
# Include files
|
|
INC=../inc
|
|
XML=../xml
|
|
SHEDIT=../shedit
|
|
|
|
# INCUNITS,XMLUNITS is defined in makefile.inc
|
|
# They are default units for all platforms.
|
|
include $(INC)/Makefile.inc
|
|
include $(XML)/Makefile.inc
|
|
include $(SHEDIT)/Makefile.inc
|
|
|
|
|
|
[rules]
|
|
classes$(PPUEXT): $(addprefix $(INC)/,$(INCNAMES)) classes$(PASEXT)
|
|
|
|
inifiles$(PPUEXT): classes$(PPUEXT) $(INC)/inifiles$(PASEXT)
|
|
|
|
ezcgi$(PPUEXT): $(INC)/ezcgi$(PASEXT)
|
|
|
|
shedit$(PPUEXT): $(SHEDIT)/shedit$(PASEXT)
|
|
$(COMPILER) $(SHEDIT)/shedit$(PASEXT) -I$(SHEDIT) $(REDIR)
|