summaryrefslogtreecommitdiff
path: root/jmake/files/Jmake.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'jmake/files/Jmake.tmpl')
-rw-r--r--jmake/files/Jmake.tmpl19
1 files changed, 13 insertions, 6 deletions
diff --git a/jmake/files/Jmake.tmpl b/jmake/files/Jmake.tmpl
index 0663793..a06d405 100644
--- a/jmake/files/Jmake.tmpl
+++ b/jmake/files/Jmake.tmpl
@@ -1,7 +1,7 @@
/*
* Generic jmake template
*
- * $Id: Jmake.tmpl 30 2009-10-28 07:45:28Z rmanfredi $
+ * $Id: Jmake.tmpl 156 2012-12-19 16:44:39Z rmanfredi $
*
* Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi
*
@@ -27,7 +27,7 @@
*/
: Makefile.SH generated from Jmake.tmpl and Jmakefile <TAG>
-: $Id: Jmake.tmpl 30 2009-10-28 07:45:28Z rmanfredi $
+: $Id: Jmake.tmpl 156 2012-12-19 16:44:39Z rmanfredi $
/*************************************************************************
* *
@@ -81,6 +81,7 @@ DIR = $DIR
;# Parameters set by Configure -- edit config.sh if changes are needed
?AR:AR = ar rc /* FIXME */
+?ARCHLIB:ARCHLIB = $installarchlib
?BINDIR:BINDIR = $installbin
?CC:CC = $cc
?CHMOD:CHMOD = $chmod
@@ -89,9 +90,9 @@ DIR = $DIR
?CTAGS:CTAGS = ctags /* FIXME */
?_EXE:_EXE = $_exe
?INSTALLPREFIX:INSTALLPREFIX = $prefix
-?JCFLAGS:JCFLAGS = \$(CFLAGS) $optimize $ccflags $large
+?JCFLAGS:JCFLAGS = \$(CFLAGS) $optimize $pthread $ccflags $large
?JCPPFLAGS:JCPPFLAGS = $cppflags
-?JLDFLAGS:JLDFLAGS = \$(LDFLAGS) $optimize $ldflags
+?JLDFLAGS:JLDFLAGS = \$(LDFLAGS) $optimize $pthread $ldflags
?JLFLAGS:JLFLAGS = \$(LFLAGS)
?JYFLAGS:JYFLAGS = \$(YFLAGS) $yaccflags
?L:L = $manext
@@ -104,6 +105,7 @@ DIR = $DIR
?MAKE:$make_set_make
?MKDEP:MKDEP = $mkdep \$(DPFLAGS) \$(JCPPFLAGS) --
?MV:MV = $mv
+?NM:NM = $nm
?PRIVLIB:PRIVLIB = $installprivlib
?RANLIB:RANLIB = $ranlib
?RM:RM = $rm -f
@@ -193,6 +195,11 @@ maybe_deinstall.man: deinstall.man-no
MakefileTarget()
TagsTarget()
+/*
+ * Empty rules in case there is no depend target.
+ */
+depend::
+
%SUBDIRS:|skip /* Skip if no sub-directories */
;########################################################################
;# Rules for building in sub-directories -- do not edit
@@ -240,8 +247,8 @@ Makefiles::
Makefiles.SH::
--skip /* No sub-directories */
-%MKDEP:|skip /* Skip if no depend target */
+-skip /* No sub-directories */
+%local_depend%:|skip /* Skip if no local depend target */
;########################################################################
;# Dependencies generated by make depend
;# DO NOT DELETE THIS LINE -- make depend relies on it