aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Makefile.am')
-rw-r--r--lib/Makefile.am19
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1a7dd3d65..aef41faca 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,15 +1,5 @@
SUBDIRS = widgets egg
-INCLUDES = \
- -I$(top_builddir)/lib \
- $(EPIPHANY_DEPENDENCY_CFLAGS) \
- -DSHARE_DIR=\"$(pkgdatadir)\"
-
-if MAINTAINER_MODE
-INCLUDES += -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
- -DGNOME_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED $(WARN_CFLAGS)
-endif
-
noinst_LTLIBRARIES = libephymisc.la
headerdir = $(prefix)/include/epiphany-@EPIPHANY_MAJOR@/epiphany
@@ -68,6 +58,15 @@ libephymisc_la_SOURCES = \
$(INST_H_FILES) \
$(NOINST_H_FILES)
+libephymisc_la_CPPFLAGS = \
+ -I$(top_builddir)/lib \
+ -DSHARE_DIR=\"$(pkgdatadir)\" \
+ $(AM_CPPFLAGS)
+
+libephymisc_la_CFLAGS = \
+ $(EPIPHANY_DEPENDENCY_CFLAGS) \
+ $(AM_CFLAGS)
+
BUILT_SOURCES=ephy-marshal.c ephy-marshal.h
CLEAN_FILES = $(BUILT_SOURCES)