1 ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
7 # Normally we'd want glib to be part of DIST_SUBDIRS unconditionally,
8 # but distclean gets broken unless we always run glib's configure
9 SUBDIRS = $(GLIB_SUBDIR) . check
10 DIST_SUBDIRS = $(SUBDIRS)
12 # Escape paths properly on windows
15 -DPKG_CONFIG_PC_PATH="\"$(subst /,\/,$(pc_path))\"" \
16 -DPKG_CONFIG_SYSTEM_INCLUDE_PATH="\"$(subst /,\/,$(system_include_path))\"" \
17 -DPKG_CONFIG_SYSTEM_LIBRARY_PATH="\"$(subst /,\/,$(system_library_path))\""
20 -DPKG_CONFIG_PC_PATH="\"$(pc_path)\"" \
21 -DPKG_CONFIG_SYSTEM_INCLUDE_PATH="\"$(system_include_path)\"" \
22 -DPKG_CONFIG_SYSTEM_LIBRARY_PATH="\"$(system_library_path)\""
29 bin_PROGRAMS = pkg-config
30 pkg_config_LDADD = $(GLIB_LIBS)
39 m4dir = $(datadir)/aclocal
41 dist_doc_DATA = pkg-config-guide.html
42 dist_man_MANS = pkg-config.1
43 EXTRA_DIST = README.win32
45 # Since we can't always have glib in DIST_SUBDIRS, we need to make sure
46 # glib is configured when we want to run dist. Unfortunately, there's no
47 # DIST_CONFIGURE_FLAGS.
48 DISTCHECK_CONFIGURE_FLAGS = --with-internal-glib
51 @echo "error: --with-internal-glib is required to include glib in dist"