summaryrefslogtreecommitdiff
path: root/jmake/files/Jmake.rules
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2006-12-27 10:35:09 +0000
committerrmanfredi <rmanfredi@190e5f8e-a817-0410-acf6-e9863daed9af>2006-12-27 10:35:09 +0000
commit0a8527c4644133b9f1d34f24dbf83b2074d82dd0 (patch)
tree0add70d5435d34ddfd66c7df34b38df528832d52 /jmake/files/Jmake.rules
parent74cee076df3206e92f10d165758cd217f8d2cafd (diff)
Added InstallProgramNoStrip() to request installation of a program without
stripping the debugging symbols. git-svn-id: https://dist.svn.sourceforge.net/svnroot/dist/trunk/dist@18 190e5f8e-a817-0410-acf6-e9863daed9af
Diffstat (limited to 'jmake/files/Jmake.rules')
-rw-r--r--jmake/files/Jmake.rules24
1 files changed, 24 insertions, 0 deletions
diff --git a/jmake/files/Jmake.rules b/jmake/files/Jmake.rules
index e303fb1..21ef3fe 100644
--- a/jmake/files/Jmake.rules
+++ b/jmake/files/Jmake.rules
@@ -376,6 +376,20 @@ local_deinstall:: @@\
/*
+ * InstallProgramNoStripWithFlags:
+ * Generate rules to install an executable program using given
+ * install flags.
+ */
+#define InstallProgramNoStripWithFlags(program,dest,flags) @!\
+local_install:: program @@\
+ _MakeInstallDirIgnore(dest) \ @@\
+ $(INSTALL) -c -m 555 flags program^^^$(_EXE) $(INSTALL_PREFIX)^^^dest @!\
+ @!\
+local_deinstall:: @@\
+ $(RM) $(INSTALL_PREFIX)^^^dest/program^^^$(_EXE)
+
+
+/*
* InstallProgram:
* Generate rules to install an executable program using any special
* install flags set in $(INSTALLFLAGS).
@@ -385,6 +399,16 @@ InstallProgramWithFlags(program,dest,^^)
/*
+ * InstallProgramNoStrip:
+ * Generate rules to install an executable program using any special
+ * install flags set in $(INSTALLFLAGS), but without stripping the
+ * executable from debugging symbols.
+ */
+#define InstallProgramNoStrip(program,dest) @!\
+InstallProgramNoStripWithFlags(program,dest,^^)
+
+
+/*
* InstallScriptWithFlags:
* Generate rules to install an executable script using given
* install flags.