52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
targets=date,email,fixme.log,imap4,plugins,tests.log
|
|
cppflags_force=-I ../include
|
|
cflags_force=-fPIE
|
|
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
|
|
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
|
dist=Makefile,embedded.sh,fixme.sh,pkgconfig.sh,tests.sh
|
|
|
|
[date]
|
|
type=binary
|
|
sources=date.c
|
|
|
|
[date.c]
|
|
depends=../src/helper.c
|
|
|
|
[email]
|
|
type=binary
|
|
sources=email.c
|
|
ldflags=-L$(OBJDIR)../src -Wl,-rpath,$(OBJDIR)../src -lMailer
|
|
|
|
[email.c]
|
|
#XXX should use $(SOEXT)
|
|
depends=$(OBJDIR)../src/libMailer.a
|
|
|
|
[fixme.log]
|
|
type=script
|
|
script=./fixme.sh
|
|
depends=fixme.sh
|
|
|
|
[imap4]
|
|
type=binary
|
|
sources=imap4.c
|
|
cflags=`pkg-config --cflags glib-2.0 libSystem` `pkg-config --cflags openssl`
|
|
ldflags=`pkg-config --libs glib-2.0 libSystem` `pkg-config --libs openssl`
|
|
|
|
[imap4.c]
|
|
depends=../src/account/imap4.c
|
|
|
|
[plugins]
|
|
type=binary
|
|
#for Gtk+ 2
|
|
#cflags=`pkg-config --cflags gtk+-2.0`
|
|
#ldflags=`pkg-config --libs gtk+-2.0`
|
|
#for Gtk+ 3
|
|
cflags=`pkg-config --cflags gtk+-3.0`
|
|
ldflags=`pkg-config --libs gtk+-3.0`
|
|
sources=plugins.c
|
|
|
|
[tests.log]
|
|
type=script
|
|
script=./tests.sh
|
|
depends=$(OBJDIR)date,$(OBJDIR)email,$(OBJDIR)imap4,pkgconfig.sh,$(OBJDIR)plugins,tests.sh
|