aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wombat/.cvsignore1
-rw-r--r--wombat/ChangeLog5
-rw-r--r--wombat/Makefile.am12
3 files changed, 18 insertions, 0 deletions
diff --git a/wombat/.cvsignore b/wombat/.cvsignore
index fcd8ba4603..20aad5449c 100644
--- a/wombat/.cvsignore
+++ b/wombat/.cvsignore
@@ -10,3 +10,4 @@ wombat-skels.c
wombat-common.c
wombat.h
wombat
+wombat.pure
diff --git a/wombat/ChangeLog b/wombat/ChangeLog
index f491f64612..4112a83f0a 100644
--- a/wombat/ChangeLog
+++ b/wombat/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-05 Chris Toshok <toshok@helixcode.com>
+ * .cvsignore: ignore wombat.pure
+
+ * Makefile.am: add support for building wombat.pure
+
2000-05-01 Federico Mena Quintero <federico@helixcode.com>
* wombat.c (main): Doh, also unref the pas_book_factory when we
diff --git a/wombat/Makefile.am b/wombat/Makefile.am
index 0423fb49b5..09a153c8b6 100644
--- a/wombat/Makefile.am
+++ b/wombat/Makefile.am
@@ -43,3 +43,15 @@ endif
EXTRA_DIST = \
wombat.gnorba \
wombat.oafinfo
+
+if ENABLE_PURIFY
+PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+
+all-local: wombat.pure
+
+wombat.pure: wombat
+ @rm -f wombat.pure
+ $(PLINK) $(wombat_LDFLAGS) $(wombat_OBJECTS) $(wombat_LDADD) $(LIBS)
+
+endif
+