diff options
Diffstat (limited to 'wombat/Makefile.am')
-rw-r--r-- | wombat/Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
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 + |