summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
-rw-r--r--include/Makefile.am1
-rw-r--r--include/X11/Makefile.am1
-rw-r--r--include/X11/extensions/Makefile.am2
-rw-r--r--src/Makefile.am8
5 files changed, 11 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 5f5b4cf..9a62d1f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,5 +39,8 @@ AC_SUBST(DEP_CFLAGS)
AC_SUBST(DEP_LIBS)
AC_OUTPUT([Makefile
+ include/Makefile
+ include/X11/Makefile
+ include/X11/extensions/Makefile
src/Makefile
xvmc.pc])
diff --git a/include/Makefile.am b/include/Makefile.am
new file mode 100644
index 0000000..a48f256
--- /dev/null
+++ b/include/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = X11
diff --git a/include/X11/Makefile.am b/include/X11/Makefile.am
new file mode 100644
index 0000000..1b5c62d
--- /dev/null
+++ b/include/X11/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = extensions
diff --git a/include/X11/extensions/Makefile.am b/include/X11/extensions/Makefile.am
new file mode 100644
index 0000000..c78fdad
--- /dev/null
+++ b/include/X11/extensions/Makefile.am
@@ -0,0 +1,2 @@
+extdir = $(includedir)/X11/extensions
+ext_HEADERS = XvMClib.h
diff --git a/src/Makefile.am b/src/Makefile.am
index cfb291e..c1a039b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -8,15 +8,15 @@ libXvMCW_la_SOURCES = \
XvMCWrapper.c
libXvMC_la_LIBADD = @DEP_LIBS@
-libXvMC_la_CFLAGS = @DEP_CFLAGS@
+libXvMC_la_CFLAGS = @DEP_CFLAGS@ -I$(top_srcdir)/include
libXvMCW_la_LIBADD = @DEP_LIBS@
libXvMCW_la_CFLAGS = \
@DEP_CFLAGS@ \
+ -I$(top_srcdir)/include \
-DXVMC_CONFIGDIR=XConfigDir \
-DXVMC_SOVERSION=\"1.0\" \
-DXV_SOVERSION=\"1.0\"
-libXvMC_la_LDFLAGS = -version-info 7:0:0 -no-undefined
-
-
+libXvMC_la_LDFLAGS = -version-info 1:0:0 -no-undefined
+libXvMCW_la_LDFLAGS = -version-info 1:0:0