summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Massey <bart@cs.pdx.edu>2006-09-12 02:02:47 -0700
committerBart Massey <bart@cs.pdx.edu>2006-09-12 02:02:47 -0700
commit3ee91bffd49f2b3a8a4afadca8d7d983afea6234 (patch)
tree28b667010bd0a22db665a9e9ca49a064de489f99
parentf6740bf0357daef5c94c3e67be6711b482d1e0f5 (diff)
Removed GNU make constructs from Makefile.
Prepared for repair of "make distcheck".
-rw-r--r--atom/Makefile.am16
1 files changed, 8 insertions, 8 deletions
diff --git a/atom/Makefile.am b/atom/Makefile.am
index 62119d1..c0b3ecc 100644
--- a/atom/Makefile.am
+++ b/atom/Makefile.am
@@ -7,21 +7,21 @@ xcbinclude_HEADERS = xcb_atom.h
AM_CFLAGS = -Wall
-libXCBAtom_la_SOURCES = atoms.c
+libXCBAtom_la_SOURCES = atoms.c atomlist.m4 atoms.gperf.m4 xcb_atom.h.m4
libXCBAtom_la_CFLAGS = $(XCB_CFLAGS)
libXCBAtom_la_LIBADD = $(XCB_LIBS)
pkgconfig_DATA = xcb-atom.pc
-EXTRA_DIST = xcb-atom.pc.in atomlist.m4 atoms.gperf.m4 xcb_atom.h.m4
+EXTRA_DIST = xcb-atom.pc.in
BUILT_SOURCES = atoms.c atoms.gperf xcb_atom.h
-%.c: %.gperf
- $(GPERF) --output-file $@ $*.gperf
+atoms.c: atoms.gperf
+ $(GPERF) --output-file $@ $<
-atoms.gperf: atomlist.m4
-xcb_atom.h: atomlist.m4
+atoms.gperf: atoms.gperf.m4 atomlist.m4
+ $(M4) $< >$@
-%: %.m4
- $(M4) $< > $@
+xcb_atom.h: xcb_atom.h.m4 atomlist.m4
+ $(M4) $< >$@