mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 03:09:36 +02:00
* Added Makefile.fpc which uses fpmake
git-svn-id: trunk@16325 -
This commit is contained in:
parent
3063ad5c9a
commit
8cc449b955
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -2184,6 +2184,7 @@ packages/fcl-res/xml/versiontypes.xml svneol=native#text/plain
|
|||||||
packages/fcl-res/xml/winpeimagereader.xml svneol=native#text/plain
|
packages/fcl-res/xml/winpeimagereader.xml svneol=native#text/plain
|
||||||
packages/fcl-web/Makefile svneol=native#text/plain
|
packages/fcl-web/Makefile svneol=native#text/plain
|
||||||
packages/fcl-web/Makefile.fpc svneol=native#text/plain
|
packages/fcl-web/Makefile.fpc svneol=native#text/plain
|
||||||
|
packages/fcl-web/Makefile_fpmake.fpc svneol=native#text/plain
|
||||||
packages/fcl-web/examples/jsonrpc/demo1/README.txt svneol=native#text/plain
|
packages/fcl-web/examples/jsonrpc/demo1/README.txt svneol=native#text/plain
|
||||||
packages/fcl-web/examples/jsonrpc/demo1/demo.lpi svneol=native#text/plain
|
packages/fcl-web/examples/jsonrpc/demo1/demo.lpi svneol=native#text/plain
|
||||||
packages/fcl-web/examples/jsonrpc/demo1/demo.lpr svneol=native#text/plain
|
packages/fcl-web/examples/jsonrpc/demo1/demo.lpr svneol=native#text/plain
|
||||||
|
35
packages/fcl-web/Makefile_fpmake.fpc
Normal file
35
packages/fcl-web/Makefile_fpmake.fpc
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
#
|
||||||
|
# Makefile.fpc for TDataSet for FCL
|
||||||
|
#
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name=fcl-web
|
||||||
|
version=2.5.1
|
||||||
|
|
||||||
|
[require]
|
||||||
|
packages=rtl fcl-base fcl-xml fcl-db fcl-json fcl-net fcl-process fastcgi httpd22
|
||||||
|
|
||||||
|
[default]
|
||||||
|
fpcdir=../..
|
||||||
|
|
||||||
|
[prerules]
|
||||||
|
# If no fpmake exists and clean is called, do not try to build fpmake, it will
|
||||||
|
# most often fail because the dependencies are cleared. So simply skip the
|
||||||
|
# clean by replacing the command with 'echo'
|
||||||
|
FPMAKE_BIN_CLEAN=$(wildcard ./fpmake$(SRCEXEEXT))
|
||||||
|
ifeq ($(FPMAKE_BIN_CLEAN),)
|
||||||
|
FPMAKE_BIN_CLEAN=$(ECHO)
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
[rules]
|
||||||
|
fpmake: fpmake.pp
|
||||||
|
$(FPC) fpmake.pp -Fu../fpmkunit/src -dNO_UNIT_PROCESS -dNO_UNIT_ZIPPER $(FPCOPT)
|
||||||
|
all: fpmake
|
||||||
|
./fpmake build --localunitdir=../.. --globalunitdir=.. $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC)
|
||||||
|
clean:
|
||||||
|
$(FPMAKE_BIN_CLEAN) clean --localunitdir=../.. --globalunitdir=.. $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC)
|
||||||
|
install: fpmake
|
||||||
|
./fpmake install --localunitdir=../.. --globalunitdir=.. $(addprefix -o ,$(FPCOPT)) --compiler=$(FPC) --prefix=$(PREFIX)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user