Mailer
targets=mailing-lists,search,template
cppflags_force=-I ../../include
cflags_force=`pkg-config --cflags libDesktop` -fPIC
cflags=-W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs openssl` `pkg-config --libs libDesktop`
ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile
[mailing-lists]
type=plugin
sources=mailing-lists.c
ldflags=-L$(OBJDIR).. -Wl,-rpath,$(LIBDIR) -lMailer
install=$(LIBDIR)/Mailer/plugins
[mailing-lists.c]
depends=../../include/Mailer.h
[search]
type=plugin
sources=search.c
install=$(LIBDIR)/Mailer/plugins
[search.c]
depends=../../include/Mailer.h
[template]
type=plugin
sources=template.c
[template.c]
depends=../../include/Mailer.h