1
CFLAGS=-Wall -g -std=gnu99
3
PROGS=plugbasedclient plugins.d/mandosclient plugins.d/passprompt
5
objects=$(shell for p in $(PROGS); do echo $${p}.o; done)
9
plugbasedclient: plugbasedclient.o
10
$(LINK.o) -lgnutls $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
12
plugins.d/mandosclient: plugins.d/mandosclient.o
13
$(LINK.o) -lgnutls -lavahi-core -lgpgme $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
15
plugins.d/passprompt: plugins.d/passprompt.o
16
$(LINK.o) $(COMMON) $^ $(LOADLIBES) $(LDLIBS) -o $@
7
rm -f server client client_debug
10
mv -f client client.tmp
11
$(MAKE) client CXXFLAGS="$(CXXFLAGS) -DDEBUG -DCERT_ROOT=\\\"./\\\""
12
mv client client_debug
20
-rm -f $(PROGS) $(objects) core