libDesktop/tests/project.conf

54 lines
1.3 KiB
Plaintext

targets=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
#for Gtk+ 2
cflags_force=`pkg-config --cflags libSystem gtk+-2.0`
ldflags_force=`pkg-config --libs libSystem gtk+-2.0` $(OBJDIR)../src/libDesktop.a
#for Gtk+ 3
#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,fixme.sh,htmllint.sh,pkgconfig.sh,tests.sh,xmllint.sh
[fixme.log]
type=script
script=./fixme.sh
depends=fixme.sh,$(OBJDIR)../src/libDesktop.a
[htmllint.log]
type=script
script=./htmllint.sh
depends=htmllint.sh
[mime]
type=binary
sources=mime.c
[mime.c]
depends=$(OBJDIR)../src/libDesktop.a
[mimehandler]
type=binary
sources=mimehandler.c
depends=applications/Root.desktop,applications/Widget.desktop
[mimehandler.c]
depends=$(OBJDIR)../src/libDesktop.a
[tests.log]
type=script
script=./tests.sh
depends=$(OBJDIR)mime$(EXEEXT),$(OBJDIR)mimehandler$(EXEEXT),pkgconfig.sh,tests.sh
[widget]
type=binary
sources=widget.c
[widget.c]
depends=$(OBJDIR)../src/libDesktop.a
[xmllint.log]
type=script
script=./xmllint.sh
depends=xmllint.sh