mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-03 06:36:04 +01:00
82 lines
2.7 KiB
Makefile
82 lines
2.7 KiB
Makefile
# $Id$
|
|
#
|
|
# Makefile.fpc for Lazarus for Free Pascal
|
|
#
|
|
|
|
[package]
|
|
name=synedit
|
|
version=1.0.3
|
|
|
|
[prerules]
|
|
# LCL Platform
|
|
ifndef LCL_PLATFORM
|
|
ifneq ($(findstring $(OS_TARGET),win32 win64),)
|
|
LCL_PLATFORM=win32
|
|
else
|
|
ifeq ($(OS_TARGET),wince)
|
|
LCL_PLATFORM=wince
|
|
else
|
|
ifeq ($(OS_TARGET),darwin)
|
|
LCL_PLATFORM=carbon
|
|
else
|
|
LCL_PLATFORM=gtk2
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
export LCL_PLATFORM
|
|
|
|
[compiler]
|
|
unittargetdir=units/$(CPU_TARGET)-$(OS_TARGET)
|
|
unitdir=../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) \
|
|
../../ideintf/units/$(CPU_TARGET)-$(OS_TARGET) \
|
|
.
|
|
options=-gl -dlcl$(LCL_PLATFORM)
|
|
|
|
[target]
|
|
units=allsyneditunits
|
|
implicitunits=synbeautifier syncompletion syndesignstringconstants \
|
|
synedit syneditautocomplete syneditexport syneditfoldedview synedithighlighter \
|
|
synedithighlighterfoldbase synedithighlighterxmlbase syneditkeycmds \
|
|
syneditlazdsgn syneditlines syneditmarks \
|
|
syneditmarkup syneditmarkupbracket syneditmarkupctrlmouselink syneditmarkuphighall \
|
|
syneditmarkupselection syneditmarkupspecialline syneditmarkupwordgroup \
|
|
syneditmiscclasses syneditmiscprocs syneditmousecmds syneditplugins \
|
|
syneditpointclasses syneditregexsearch syneditsearch syneditstrconst synedittextbase \
|
|
synedittextbuffer synedittextdoublewidthchars synedittexttabexpander \
|
|
synedittexttrimmer synedittypes synexporthtml syngutter syngutterbase \
|
|
syngutterchanges synguttercodefolding syngutterlinenumber synguttermarks \
|
|
synhighlighterany synhighlightercpp synhighlightercss synhighlighterhashentries \
|
|
synhighlighterhtml synhighlighterjava synhighlighterjscript synhighlighterlfm \
|
|
synhighlightermulti synhighlighterpas synhighlighterperl synhighlighterphp \
|
|
synhighlighterposition synhighlighterpython synhighlightersql synhighlightertex \
|
|
synhighlighterunixshellscript synhighlightervb synhighlighterxml synhighlighterdiff \
|
|
synmacrorecorder synmemo synpluginsyncroedit synpluginsyncronizededitbase \
|
|
synplugintemplateedit synpropertyeditobjectlist synregexpr syntextdrawer
|
|
|
|
[require]
|
|
# Adding lcl does not work, because it adds the source path.
|
|
#packages=lcl
|
|
packages=regexpr
|
|
|
|
[default]
|
|
#lcldir=../../lcl
|
|
|
|
[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))
|
|
|
|
[rules]
|
|
.PHONY: cleartarget all
|
|
|
|
cleartarget:
|
|
-$(DEL) $(COMPILER_UNITTARGETDIR)/allsyneditunits$(PPUEXT)
|
|
|
|
all: cleartarget $(COMPILER_UNITTARGETDIR) allsyneditunits$(PPUEXT)
|
|
|