284
284
# Need to add the GnuTLS, Avahi and GPGME libraries
285
plugins.d/mandos-client: plugins.d/mandos-client.c
286
$(LINK.c) $^ $(GNUTLS_CFLAGS) $(AVAHI_CFLAGS) $(strip\
287
) $(GPGME_CFLAGS) $(GNUTLS_LIBS) $(strip\
288
) $(AVAHI_LIBS) $(GPGME_LIBS) $(LOADLIBES) $(strip\
285
plugins.d/mandos-client: CFLAGS += $(GNUTLS_CFLAGS) $(strip \
286
) $(AVAHI_CFLAGS) $(GPGME_CFLAGS)
287
plugins.d/mandos-client: LDLIBS += $(GNUTLS_LIBS) $(strip \
288
) $(AVAHI_LIBS) $(GPGME_LIBS)
291
290
# Need to add the libnl-route library
292
plugin-helpers/mandos-client-iprouteadddel: plugin-helpers/mandos-client-iprouteadddel.c
293
$(LINK.c) $(LIBNL3_CFLAGS) $^ $(LIBNL3_LIBS) $(strip\
294
) $(LOADLIBES) $(LDLIBS) -o $@
291
plugin-helpers/mandos-client-iprouteadddel: CFLAGS += $(LIBNL3_CFLAGS)
292
plugin-helpers/mandos-client-iprouteadddel: LDLIBS += $(LIBNL3_LIBS)
296
294
# Need to add the GLib and pthread libraries
297
dracut-module/password-agent: dracut-module/password-agent.c
298
$(LINK.c) $(GLIB_CFLAGS) $^ $(GLIB_LIBS) -lpthread $(strip\
299
) $(LOADLIBES) $(LDLIBS) -o $@
295
dracut-module/password-agent: CFLAGS += $(GLIB_CFLAGS)
296
dracut-module/password-agent: LDLIBS += $(GLIB_LIBS) -lpthread
301
298
.PHONY : all doc html clean distclean mostlyclean maintainer-clean \
302
299
check run-client run-server install install-html \