aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/.cvsignore1
-rw-r--r--shell/Makefile.am10
2 files changed, 11 insertions, 0 deletions
diff --git a/shell/.cvsignore b/shell/.cvsignore
index a4b6113d0f..aec0a5ed9a 100644
--- a/shell/.cvsignore
+++ b/shell/.cvsignore
@@ -6,6 +6,7 @@ Shell-skels.c
Shell-common.c
Shell.h
evolution
+evolution.pure
Makefile.in
Makefile
Evolution-stubs.c
diff --git a/shell/Makefile.am b/shell/Makefile.am
index a4d4776e76..d7b69b32e5 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -54,3 +54,13 @@ EXTRA_DIST = Evolution.idl \
Shell.idl \
evolution-service-repository.idl
+if ENABLE_PURIFY
+PLINK = $(LIBTOOL) --mode=link $(PURIFY) $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
+
+all-local: evolution.pure
+
+evolution.pure: evolution
+ @rm -f evolution.pure
+ $(PLINK) $(evolution_LDFLAGS) $(evolution_OBJECTS) $(evolution_LDADD) $(LIBS)
+
+endif