summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-01-08 17:47:37 +0100
committerinfirit <[email protected]>2014-01-08 17:47:37 +0100
commit067facfc97151ce24ccb6cf7ecda124ea0d6afbe (patch)
tree6ee3e6f34e7b4b00fabc9d1be21f6fa6fef07595 /src
parent8cd560b2f3ba55a1ac45f4dcd859f8470897ffe4 (diff)
downloadpython-caja-067facfc97151ce24ccb6cf7ecda124ea0d6afbe.tar.bz2
python-caja-067facfc97151ce24ccb6cf7ecda124ea0d6afbe.tar.xz
Cleanup AM_CPPFLAGS
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7ccb7c5..e3d7c3f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,15 +1,3 @@
-AM_CPPFLAGS = \
- -DG_LOG_DOMAIN=\"Caja-Python\" \
- -DDATADIR=\"$(datadir)\" \
- -DLIBDIR=\"$(libdir)\" \
- -I$(top_srcdir) \
- -I$(top_builddir) \
- $(DISABLE_DEPRECATED_CFLAGS) \
- $(CAJA_PYTHON_CFLAGS) \
- -DPYTHON_VERSION=\"$(PYTHON_VERSION)\" \
- -DPY_LIB_LOC="\"$(PYTHON_LIB_LOC)\"" \
- $(PYTHON_INCLUDES)
-
caja_extensiondir=$(CAJA_EXTENSION_DIR)
caja_extension_LTLIBRARIES = libcaja-python.la
@@ -20,5 +8,20 @@ libcaja_python_la_SOURCES = \
caja-python-object.c \
caja-python-object.h
+libcaja_python_la_CPPFLAGS = \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
+ -DG_LOG_DOMAIN=\"Caja-Python\" \
+ -DDATADIR=\"$(datadir)\" \
+ -DLIBDIR=\"$(libdir)\" \
+ -DPYTHON_VERSION=\"$(PYTHON_VERSION)\" \
+ -DPY_LIB_LOC="\"$(PYTHON_LIB_LOC)\"" \
+ $(PYTHON_INCLUDES) \
+ $(AM_CPPFLAGS)
+
+libcaja_python_la_CFLAGS = \
+ $(CAJA_PYTHON_CFLAGS) \
+ $(AM_CFLAGS)
+
libcaja_python_la_LDFLAGS = -module -avoid-version
libcaja_python_la_LIBADD = $(CAJA_PYTHON_LIBS) $(PYTHON_LIBS)