diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 02:52:59 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-08-30 02:52:59 +0000 |
commit | dd87730cc53a678965f05a2e2dd062e44c85fb2e (patch) | |
tree | 788030ca0b005f6aa273184dd7f590a8fe8d2c55 /include/makeinclude/rules.lib.GNU | |
parent | 3ab5e0a9c6776d36bdc5c78ca5ad90a24f0f7046 (diff) | |
download | ATCD-dd87730cc53a678965f05a2e2dd062e44c85fb2e.tar.gz |
ChangeLogTag: Sun Aug 29 21:35:17 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'include/makeinclude/rules.lib.GNU')
-rw-r--r-- | include/makeinclude/rules.lib.GNU | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/makeinclude/rules.lib.GNU b/include/makeinclude/rules.lib.GNU index 2e91d5b8bfa..5884f082641 100644 --- a/include/makeinclude/rules.lib.GNU +++ b/include/makeinclude/rules.lib.GNU @@ -81,6 +81,11 @@ $(VLIB): $(VLOBJS) ifdef PRELIB $(PRELIB) endif +ifeq (1,$(ace_lib_prelink)) + #### Attempt a link (which will fail), to add template instantiations + #### to lib files, for example. + -$(LINK.cc) -o ace-templ_inst $? $(LDFLAGS) $(ACE_NUL_STDERR) +endif # ace_lib_prelink $(AR) $(ARFLAGS) $@ $? ifdef TEMPINCDIR # This is required to get AIX xlC to instantiate and compile the needed @@ -126,6 +131,11 @@ ifdef TEMPINCDIR $(SOLINK.cc) -o $@ $(VSHOBJS1) $(LDFLAGS) $(ACE_SHLIBS) $(LIBS); \ fi else +ifeq (1,$(ace_lib_prelink)) + #### Attempt a link (which will fail), to add template instantiations + #### to lib files, for example. + -$(LINK.cc) -o ace-templ_inst $(VSHOBJS1) $(LDFLAGS) $(ACE_NUL_STDERR) +endif # ace_lib_prelink $(SOLINK.cc) -o $@ $(VSHOBJS1) $(LDFLAGS) $(ACE_SHLIBS) $(LIBS) endif -chmod a+rx $@ |