summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@linux.intel.com>2011-11-02 13:44:50 +0800
committerZhigang Gong <zhigang.gong@linux.intel.com>2011-11-11 14:47:12 +0800
commit584e8d59cd4ed184ed7eef2a110bce3eea834620 (patch)
tree92a97621dfb5c3666fa7d4073289c359859a3ec4 /Makefile.am
Initial version.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am32
1 files changed, 32 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..1ca7dbb
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,32 @@
+AUTOMAKE_OPTIONS=nostdinc
+ACLOCAL_AMFLAGS = -I m4
+
+SUBDIRS = src
+
+aclocaldir = $(datadir)/aclocal
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = glamor-egl.pc glamor.pc
+
+EXTRA_DIST = glamor-egl.pc.in glamor.pc.in autogen.sh
+
+DISTCHECK_CONFIGURE_FLAGS=\
+ --with-xkb-path=$(XKB_BASE_DIRECTORY) \
+ --with-xkb-bin-directory=$(XKB_BIN_DIRECTORY) \
+ --with-xkb-output='$${datadir}/X11/xkb/compiled'
+
+.PHONY: ChangeLog INSTALL
+
+INSTALL:
+ $(INSTALL_CMD)
+
+ChangeLog:
+ $(CHANGELOG_CMD)
+
+dist-hook: ChangeLog INSTALL
+
+DIST_SUBDIRS = src
+
+# gross hack
+relink: all
+ $(AM_V_at)$(MAKE) -C hw relink