libApp

targets=AppBroker,Dummy.h,appclient,appinterface,appmessage,appserver,fixme.log,includes,lookup,shlint.log,tests.log,transport
cppflags_force=-I../include -I. -I$(OBJDIR).
cflags_force=`pkg-config --cflags libSystem`
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libSystem` -L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lApp
ldflags=-pie -Wl,-z,relro -Wl,-z,now -rdynamic
dist=System/App.h,appbroker.sh,fixme.sh,Makefile,Test.expected,Test.interface,pkgconfig.sh,shlint.sh,tests.sh
#targets
[AppBroker]
type=binary
sources=appbroker.c
depends=$(OBJDIR)../src/libApp.a
ldflags=$(OBJDIR)../src/libApp.a
[Dummy.h]
type=script
script=./appbroker.sh
depends=../data/Dummy.interface,appbroker.sh
[appclient]
type=binary
sources=appclient.c
ldflags=$(OBJDIR)../src/libApp.a
[appinterface]
type=binary
sources=appinterface.c
ldflags=$(OBJDIR)../src/libApp.a
[appmessage]
type=binary
sources=appmessage.c
ldflags=$(OBJDIR)../src/libApp.a
[appserver]
type=binary
sources=appserver.c
ldflags=$(OBJDIR)../src/libApp.a
[fixme.log]
type=script
script=./fixme.sh
depends=$(OBJDIR)../src/libApp.a,fixme.sh
enabled=0
[includes]
type=binary
sources=includes.c
[lookup]
type=binary
sources=lookup.c
[shlint.log]
type=script
script=./shlint.sh
depends=$(OBJDIR)../src/libApp.a,shlint.sh
enabled=0
[tests.log]
type=script
script=./tests.sh
depends=Test.expected,Test.interface,$(OBJDIR)AppBroker$(EXEEXT),appbroker.sh,$(OBJDIR)appclient$(EXEEXT),$(OBJDIR)appmessage$(EXEEXT),$(OBJDIR)appserver$(EXEEXT),$(OBJDIR)includes$(EXEEXT),$(OBJDIR)lookup$(EXEEXT),pkgconfig.sh,tests.sh,$(OBJDIR)transport$(EXEEXT),../src/transport/tcp.c,../src/transport/udp.c
enabled=0
[transport]
type=binary
sources=transport.c
#sources
[appbroker.c]
depends=../tools/appbroker.c
[appclient.c]
depends=$(OBJDIR)../src/libApp.a
[appinterface.c]
depends=$(OBJDIR)../src/libApp.a
[appmessage.c]
depends=$(OBJDIR)../src/libApp.a
[appserver.c]
depends=$(OBJDIR)../src/libApp.a,$(OBJDIR)Dummy.h
[lookup.c]
depends=../src/apptransport.h
[transport.c]
depends=$(OBJDIR)../src/libApp.a