diff options
author | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:52:26 +0900 |
---|---|---|
committer | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 00:52:26 +0900 |
commit | 7971aaeae56bd004926a9c8ad20ce9e51d3a65ff (patch) | |
tree | d444998270156668444cd7e9448998d4ca960db5 /Makefile.am | |
parent | 5ec49d7969628ec586e19efdd894966519ed0733 (diff) | |
download | pkg-config-7971aaeae56bd004926a9c8ad20ce9e51d3a65ff.tar.gz pkg-config-7971aaeae56bd004926a9c8ad20ce9e51d3a65ff.tar.bz2 pkg-config-7971aaeae56bd004926a9c8ad20ce9e51d3a65ff.zip |
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..875e01f --- /dev/null +++ b/Makefile.am @@ -0,0 +1,39 @@ +if USE_INSTALLED_GLIB +included_glib_includes = @GLIB_CFLAGS@ +pkg_config_LDADD=@GLIB_LIBS@ +else +GLIB_SUBDIR = glib-1.2.10 +included_glib_includes = -I$(top_srcdir)/glib-1.2.10 -I$(top_builddir)/glib-1.2.10 +pkg_config_LDADD=glib-1.2.10/libglib.la +endif + +if USE_INSTALLED_POPT +pkg_config_LDADD += $(POPT_LIBS) +else +pkg_config_LDADD += popt/libpopt.la +popt_includes = -I$(top_srcdir)/popt +POPT_SUBDIR = popt +endif + +SUBDIRS = $(GLIB_SUBDIR) $(POPT_SUBDIR) check + +m4dir = $(datadir)/aclocal +m4_DATA = pkg.m4 + +dist_doc_DATA = pkg-config-guide.html + +man_MANS = pkg-config.1 +EXTRA_DIST = $(m4_DATA) $(man_MANS) README.win32 + +bin_PROGRAMS = pkg-config +AM_CFLAGS=@WARN_CFLAGS@ + +INCLUDES=-DPKG_CONFIG_PC_PATH="\"$(pc_path)\"" $(included_glib_includes) \ + $(popt_includes) + +pkg_config_SOURCES= \ + pkg.h \ + pkg.c \ + parse.h \ + parse.c \ + main.c
\ No newline at end of file |