|
|
@@ -0,0 +1,34 @@
|
|
|
+all: compile
|
|
|
+
|
|
|
+install: not_installable
|
|
|
+uninstall: not_installable
|
|
|
+
|
|
|
+not_installable:
|
|
|
+ echo "The library cannot be installed on the system but statically linked to another Lazarus package or application."
|
|
|
+
|
|
|
+init:
|
|
|
+ifeq ($(OS),Windows_NT) # true for Windows_NT or later
|
|
|
+ COPY := winmake\copyfile
|
|
|
+ REMOVE := winmake\remove
|
|
|
+ REMOVEDIR := winmake\removedir
|
|
|
+ THEN := &
|
|
|
+ RUN :=
|
|
|
+else
|
|
|
+ COPY := cp
|
|
|
+ REMOVE := rm -f
|
|
|
+ REMOVEDIR := rm -rf
|
|
|
+ THEN := ;
|
|
|
+ RUN := ./
|
|
|
+ RUN := $(strip $(RUN))
|
|
|
+endif
|
|
|
+
|
|
|
+clean: init clean_bgracontrols
|
|
|
+
|
|
|
+clean_bgracontrols:
|
|
|
+ $(REMOVEDIR) "lib"
|
|
|
+ $(REMOVEDIR) "backup"
|
|
|
+
|
|
|
+compile: init BGRAControls
|
|
|
+BGRAControls: bgracontrols.lpk
|
|
|
+ lazbuild bgracontrols.lpk
|
|
|
+
|