mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-27 23:23:49 +02:00
56 lines
1.4 KiB
Makefile
56 lines
1.4 KiB
Makefile
# File generated automatically by Lazarus Package Manager
|
|
#
|
|
# Makefile.fpc for LazControls 0.0
|
|
#
|
|
# This file was generated on 01/13/2011
|
|
|
|
[package]
|
|
name=lazcontrols
|
|
version=0.0
|
|
|
|
[compiler]
|
|
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
|
|
unitdir=../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../../packager/units/$(CPU_TARGET)-$(OS_TARGET) .
|
|
options= -MObjFPC -Scghi -O1 -gl -vewnhi -l -dLCL -dLCL$(LCL_PLATFORM)
|
|
|
|
[target]
|
|
units=lazcontrols.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)/lazcontrols$(PPUEXT)
|
|
|
|
compiled:
|
|
$(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazControls.compiled
|
|
|
|
all: cleartarget $(COMPILER_UNITTARGETDIR) lazcontrols$(PPUEXT) compiled
|