summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.