summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-06-12 15:02:31 +0000
committerSteve Huston <shuston@riverace.com>1997-06-12 15:02:31 +0000
commitf9a923219fbad9e656a9cf12fbdf8a2a1ce11ec9 (patch)
tree6602ed193ad4d4f4b4128b95a537d18fd32954fe /include
parent1f752aeac6ece2928b7c1723e57416abe23bc20d (diff)
downloadATCD-f9a923219fbad9e656a9cf12fbdf8a2a1ce11ec9.tar.gz
Allow for a compiler which does not need to do template instantiation
after each module compilation. PRELIB_USES_OBJ_ONLY is used when the PRELIB step instantiates all of the templates.
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/rules.lib.GNU4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU
index b815c2d00de..e2f8ea425a6 100644
--- a/include/makeinclude/rules.lib.GNU
+++ b/include/makeinclude/rules.lib.GNU
@@ -22,7 +22,11 @@ VSHOBJS1 =
else
LSRC += $(LSRC2)
ifdef PRELIB
+ifdef PRELIB_USES_OBJ_ONLY
+VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.o)
+else
VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.so)
+endif
VSHOBJS1 = $(VSHOBJS)
else
VSHOBJS = $(LSRC:%.cpp=$(VSHDIR)%.so)