diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-07-01 12:52:22 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-07-01 13:24:53 -0400 |
commit | e054942e30f18b4d0a1776838cf08082610620b3 (patch) | |
tree | 85e6600898d3bb8236910a2eb6d8d7e93201b8f7 /common/Makefile.am | |
parent | 213476252cbf171f6f65361e763cfab6614c407b (diff) | |
download | dconf-e054942e30f18b4d0a1776838cf08082610620b3.tar.gz |
common/: create two convenience libraries
One -fPIC and one without.
This is done instead of pulling the various source files from other
Makefiles.
Diffstat (limited to 'common/Makefile.am')
-rw-r--r-- | common/Makefile.am | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/common/Makefile.am b/common/Makefile.am index 0238cd1..250bb91 100644 --- a/common/Makefile.am +++ b/common/Makefile.am @@ -1,7 +1,14 @@ dconfinclude_HEADERS = \ dconf-paths.h -EXTRA_DIST = \ - dconf-shmdir.h \ - dconf-paths.h \ - dconf-paths.c +noinst_LIBRARIES = libdconf-common.a libdconf-common-shared.a +libdconf_common_a_CFLAGS = -Wall +INCLUDES = $(glib_CFLAGS) + +libdconf_common_a_SOURCES = \ + dconf-paths.c \ + dconf-shmdir.h \ + dconf-shmdir.c + +libdconf_common_shared_a_CFLAGS = -fPIC -DPIC $(libdconf_common_a_CFLAGS) +libdconf_common_shared_a_SOURCES = $(libdconf_common_a_SOURCES) |