mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-06 10:18:15 +02:00
instantfpc: added Makefile
git-svn-id: trunk@32600 -
This commit is contained in:
parent
09699afa57
commit
b2493c0578
3
.gitattributes
vendored
3
.gitattributes
vendored
@ -1110,6 +1110,9 @@ components/images/lazpnm.pas svneol=native#text/pascal
|
|||||||
components/images/laztga.pas svneol=native#text/pascal
|
components/images/laztga.pas svneol=native#text/pascal
|
||||||
components/images/lazxpm.pas svneol=native#text/pascal
|
components/images/lazxpm.pas svneol=native#text/pascal
|
||||||
components/images/readme.txt svneol=native#text/plain
|
components/images/readme.txt svneol=native#text/plain
|
||||||
|
components/instantfpc/Makefile svneol=native#text/plain
|
||||||
|
components/instantfpc/Makefile.compiled svneol=native#text/plain
|
||||||
|
components/instantfpc/Makefile.fpc svneol=native#text/plain
|
||||||
components/instantfpc/instantfpclaz.lpk svneol=native#text/plain
|
components/instantfpc/instantfpclaz.lpk svneol=native#text/plain
|
||||||
components/instantfpc/instantfpclaz.pas svneol=native#text/plain
|
components/instantfpc/instantfpclaz.pas svneol=native#text/plain
|
||||||
components/instantfpc/instantfpcregisterlaz.pas svneol=native#text/plain
|
components/instantfpc/instantfpcregisterlaz.pas svneol=native#text/plain
|
||||||
|
2800
components/instantfpc/Makefile
Normal file
2800
components/instantfpc/Makefile
Normal file
File diff suppressed because it is too large
Load Diff
5
components/instantfpc/Makefile.compiled
Normal file
5
components/instantfpc/Makefile.compiled
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<CONFIG>
|
||||||
|
<Makefile Value="True"/>
|
||||||
|
<Params Value=" -MObjFPC -Scghi -O1 -vewnhi -l -Fu../../ideintf/units/%(CPU_TARGET)-%(OS_TARGET);../../lcl/units/%(CPU_TARGET)-%(OS_TARGET)/%(LCL_PLATFORM);../../lcl/units/%(CPU_TARGET)-%(OS_TARGET);../../packager/units/%(CPU_TARGET)-%(OS_TARGET);. -dLCL -dLCL%(LCL_PLATFORM) instantfpclaz.pas"/>
|
||||||
|
</CONFIG>
|
55
components/instantfpc/Makefile.fpc
Normal file
55
components/instantfpc/Makefile.fpc
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
# File generated automatically by Lazarus Package Manager
|
||||||
|
#
|
||||||
|
# Makefile.fpc for instantfpclaz 0.0
|
||||||
|
#
|
||||||
|
# This file was generated on 10/01/2011
|
||||||
|
|
||||||
|
[package]
|
||||||
|
name=instantfpclaz
|
||||||
|
version=1.0
|
||||||
|
|
||||||
|
[compiler]
|
||||||
|
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
|
||||||
|
unitdir=../../ideintf/units/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../../packager/units/$(CPU_TARGET)-$(OS_TARGET) .
|
||||||
|
options= -MObjFPC -Scghi -O1 -vewnhi -l -dLCL -dLCL$(LCL_PLATFORM)
|
||||||
|
|
||||||
|
[target]
|
||||||
|
units=instantfpclaz.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)/instantfpclaz$(PPUEXT)
|
||||||
|
|
||||||
|
compiled:
|
||||||
|
$(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/instantfpclaz.compiled
|
||||||
|
|
||||||
|
all: cleartarget $(COMPILER_UNITTARGETDIR) instantfpclaz$(PPUEXT) compiled
|
@ -2,10 +2,11 @@
|
|||||||
<CONFIG>
|
<CONFIG>
|
||||||
<Package Version="4">
|
<Package Version="4">
|
||||||
<Name Value="instantfpclaz"/>
|
<Name Value="instantfpclaz"/>
|
||||||
|
<Author Value="Mattias Gaertner"/>
|
||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="10"/>
|
<Version Value="10"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/"/>
|
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
<Linking>
|
<Linking>
|
||||||
<Debugging>
|
<Debugging>
|
||||||
@ -13,9 +14,15 @@
|
|||||||
</Debugging>
|
</Debugging>
|
||||||
</Linking>
|
</Linking>
|
||||||
<Other>
|
<Other>
|
||||||
|
<CompilerMessages>
|
||||||
|
<UseMsgFile Value="True"/>
|
||||||
|
</CompilerMessages>
|
||||||
<CompilerPath Value="$(CompPath)"/>
|
<CompilerPath Value="$(CompPath)"/>
|
||||||
</Other>
|
</Other>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
|
<Description Value="Designtime package to add menu items to create instantfpc projects and files."/>
|
||||||
|
<License Value="Modified LGPL-2"/>
|
||||||
|
<Version Major="1"/>
|
||||||
<Files Count="1">
|
<Files Count="1">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="instantfpcregisterlaz.pas"/>
|
<Filename Value="instantfpcregisterlaz.pas"/>
|
||||||
@ -23,7 +30,7 @@
|
|||||||
<UnitName Value="InstantFPCRegisterLaz"/>
|
<UnitName Value="InstantFPCRegisterLaz"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
</Files>
|
</Files>
|
||||||
<Type Value="RunAndDesignTime"/>
|
<Type Value="DesignTime"/>
|
||||||
<RequiredPkgs Count="2">
|
<RequiredPkgs Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<PackageName Value="IDEIntf"/>
|
<PackageName Value="IDEIntf"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user