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
commit50c3b9f2cf8d484cd7c0edafcc0c9a8a67100cac (patch)
treea8ccee676f87bd36f7d3154620bb8cd67f3784fc
parent00f822a1d3b8a6980ea9dd82eb28ac5f8de67962 (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) $< >$@