aboutsummaryrefslogtreecommitdiff
path: root/libX11/src/util/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libX11/src/util/Makefile.am')
-rw-r--r--libX11/src/util/Makefile.am21
1 files changed, 21 insertions, 0 deletions
diff --git a/libX11/src/util/Makefile.am b/libX11/src/util/Makefile.am
new file mode 100644
index 000000000..3ff421d02
--- /dev/null
+++ b/libX11/src/util/Makefile.am
@@ -0,0 +1,21 @@
+# $XdotOrg: lib/X11/src/util/Makefile.am,v 1.4 2006-02-19 02:14:12 jamey Exp $
+
+noinst_PROGRAMS=makekeys
+
+makekeys_CFLAGS=$(X11_CFLAGS)
+
+#override CC = gcc
+LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+
+EXTRA_DIST = mkks.sh
+
+if LINT
+# Check source code with tools like lint & sparse
+
+ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS)
+
+lint:
+ $(LINT) $(ALL_LINT_FLAGS) makekeys.c
+
+endif LINT