78 lines
1.8 KiB
Plaintext
78 lines
1.8 KiB
Plaintext
targets=clint.log,fixme.log,htmllint.log,mime,mimehandler,tests.log,widget,xmllint.log
|
|
cppflags_force=-I ../include
|
|
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
|
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
|
cflags_force=`pkg-config --cflags libSystem gtk+-3.0`
|
|
ldflags_force=`pkg-config --libs libSystem gtk+-3.0` $(OBJDIR)../src/libDesktop.a
|
|
dist=Makefile,applications/Root.desktop,applications/Widget.desktop,clint.sh,fixme.sh,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh
|
|
mode=gtk3-debug
|
|
|
|
#modes
|
|
[mode::gtk2-debug]
|
|
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
|
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.a
|
|
|
|
[mode::gtk2-release]
|
|
cppflags_force=-I ../include -DNDEBUG
|
|
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
|
|
cflags=-W -Wall -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
|
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.a
|
|
|
|
[mode::gtk3-release]
|
|
cppflags_force=-I ../include -DNDEBUG
|
|
cflags=-W -Wall -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
|
|
|
#targets
|
|
[clint.log]
|
|
type=script
|
|
script=./clint.sh
|
|
enabled=0
|
|
depends=clint.sh,$(OBJDIR)../src/libDesktop.a
|
|
|
|
[fixme.log]
|
|
type=script
|
|
script=./fixme.sh
|
|
enabled=0
|
|
depends=fixme.sh,$(OBJDIR)../src/libDesktop.a
|
|
|
|
[htmllint.log]
|
|
type=script
|
|
script=./htmllint.sh
|
|
enabled=0
|
|
depends=htmllint.sh
|
|
|
|
[mime]
|
|
type=binary
|
|
sources=mime.c
|
|
|
|
[mimehandler]
|
|
type=binary
|
|
sources=mimehandler.c
|
|
depends=applications/Root.desktop,applications/Widget.desktop
|
|
|
|
[tests.log]
|
|
type=script
|
|
script=./tests.sh
|
|
enabled=0
|
|
depends=$(OBJDIR)mime$(EXEEXT),$(OBJDIR)mimehandler$(EXEEXT),pkgconfig.sh,tests.sh
|
|
|
|
[widget]
|
|
type=binary
|
|
sources=widget.c
|
|
|
|
[xmllint.log]
|
|
type=script
|
|
script=./xmllint.sh
|
|
enabled=0
|
|
depends=xmllint.sh
|
|
|
|
#sources
|
|
[mime.c]
|
|
depends=$(OBJDIR)../src/libDesktop.a
|
|
|
|
[mimehandler.c]
|
|
depends=$(OBJDIR)../src/libDesktop.a
|
|
|
|
[widget.c]
|
|
depends=$(OBJDIR)../src/libDesktop.a
|