gnutls: correctly set CFLAGS using GNUTLS_CFLAGS
[platform/upstream/glib-networking.git] / Makefile.am
index 866666b..4cd21b0 100644 (file)
@@ -3,8 +3,33 @@ include $(top_srcdir)/Makefile.decl
 
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
-SUBDIRS =
+SUBDIRS = po
 
 if HAVE_LIBPROXY
 SUBDIRS += proxy/libproxy
 endif
+
+if HAVE_GNOME_PROXY
+SUBDIRS += proxy/gnome
+endif
+
+SUBDIRS += proxy/tests
+
+if HAVE_PKCS11
+SUBDIRS += tls/pkcs11
+endif
+
+if HAVE_GNUTLS
+SUBDIRS += tls/gnutls
+SUBDIRS += tls/tests
+endif
+
+install-exec-hook:
+       if test -n "$(GIO_QUERYMODULES)" -a -z "$(DESTDIR)"; then \
+               $(GIO_QUERYMODULES) $(GIO_MODULE_DIR) ;           \
+       fi
+
+uninstall-hook:
+       if test -n "$(GIO_QUERYMODULES)" -a -z "$(DESTDIR)"; then \
+               $(GIO_QUERYMODULES) $(GIO_MODULE_DIR) ;           \
+       fi