summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am2
-rw-r--r--src/Makefile.am7
2 files changed, 3 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am
index b107025..1acb184 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,8 +21,6 @@
SUBDIRS = src
-INCLUDES = $(top_srcdir)/include/
-
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xdamage.pc
diff --git a/src/Makefile.am b/src/Makefile.am
index 0027895..969054e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,11 +5,10 @@ libXdamage_la_SOURCES = \
Xdamage.c
libXdamage_la_LIBADD = $(XDAMAGE_LIBS)
-AM_CFLAGS = $(CWARNFLAGS) $(XDAMAGE_CFLAGS)
-
-INCLUDES = -I$(top_srcdir)/include/X11/extensions
-
libXdamage_la_LDFLAGS = -version-number 1:1:0 -no-undefined
+AM_CFLAGS = $(CWARNFLAGS) $(XDAMAGE_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/include/X11/extensions
+
libXdamageincludedir = $(includedir)/X11/extensions
libXdamageinclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xdamage.h