mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-28 01:42:45 +02:00
Added Makefile
git-svn-id: trunk@42344 -
This commit is contained in:
parent
d169df8545
commit
86ab5a9ec1
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -148,6 +148,8 @@ components/PascalScript/Samples/TestApp/TestApplication.dpr -text svneol=unset#a
|
||||
components/PascalScript/Samples/TestApp/TestApplication.res -text
|
||||
components/PascalScript/Samples/TestApp/fMain.dfm -text
|
||||
components/PascalScript/Samples/TestApp/fMain.pas svneol=native#text/pascal
|
||||
components/PascalScript/Source/Makefile svneol=native#text/plain
|
||||
components/PascalScript/Source/Makefile.fpc svneol=native#text/plain
|
||||
components/PascalScript/Source/PascalScript.inc svneol=native#text/pascal
|
||||
components/PascalScript/Source/PascalScriptFPC.inc svneol=native#text/pascal
|
||||
components/PascalScript/Source/PascalScript_Core_Ext_Reg.pas svneol=native#text/pascal
|
||||
|
2719
components/PascalScript/Source/Makefile
Normal file
2719
components/PascalScript/Source/Makefile
Normal file
File diff suppressed because it is too large
Load Diff
55
components/PascalScript/Source/Makefile.fpc
Normal file
55
components/PascalScript/Source/Makefile.fpc
Normal file
@ -0,0 +1,55 @@
|
||||
# File generated automatically by Lazarus Package Manager
|
||||
#
|
||||
# Makefile.fpc for pascalscript 0.0.0.1
|
||||
#
|
||||
# This file was generated on 05/08/2013
|
||||
|
||||
[package]
|
||||
name=pascalscript
|
||||
version=0.0.0.1
|
||||
|
||||
[compiler]
|
||||
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
|
||||
unitdir=../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) .
|
||||
options= -MObjFPC -Scghi -O1 -g -gl -vewni -l -dLCL -dLCL$(LCL_PLATFORM)
|
||||
|
||||
[target]
|
||||
units=pascalscript.pas
|
||||
|
||||
[clean]
|
||||
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
|
||||
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
|
||||
[prerules]
|
||||
# LCL Platform
|
||||
ifndef LCL_PLATFORM
|
||||
ifeq ($(OS_TARGET),win32)
|
||||
LCL_PLATFORM=win32
|
||||
else
|
||||
ifeq ($(OS_TARGET),win64)
|
||||
LCL_PLATFORM=win32
|
||||
else
|
||||
ifeq ($(OS_TARGET),darwin)
|
||||
LCL_PLATFORM=carbon
|
||||
else
|
||||
LCL_PLATFORM=gtk2
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
export LCL_PLATFORM
|
||||
|
||||
[rules]
|
||||
.PHONY: cleartarget compiled all
|
||||
|
||||
cleartarget:
|
||||
-$(DEL) $(COMPILER_UNITTARGETDIR)/pascalscript$(PPUEXT)
|
||||
|
||||
compiled:
|
||||
$(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/pascalscript.compiled
|
||||
|
||||
all: cleartarget $(COMPILER_UNITTARGETDIR) pascalscript$(PPUEXT) compiled
|
Loading…
Reference in New Issue
Block a user