Ignore:
Timestamp:
May 15, 2009, 12:28:43 PM (15 years ago)
Author:
garnier
Message:

maj en aussi sur CVS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/binmake.gmk

    r921 r1045  
    1 # $Id: binmake.gmk,v 1.138 2008/11/14 19:58:19 gcosmo Exp $
     1# $Id: binmake.gmk,v 1.139 2008/12/03 13:35:36 gcosmo Exp $
    22# ----------------------------------------------------------
    33# Script defining rules and paths for making binaries.
     
    3434# Verify the existance of granular shared libraries (Unix) or global DLLs (Windows)
    3535#
     36ifndef SHAREDLIBS
     37  SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4globman.$(SHEXT) && echo yes)
     38endif
    3639ifneq (,$(findstring WIN32-VC,$(G4SYSTEM)))
    3740  SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/G4global.$(SHEXT) && echo yes)
     
    273276# (why?) the user is not supposed to be able to define...
    274277#
    275 LDLIBS5 += $(LOADLIBS)
     278LDLIBS4 += $(LOADLIBS)
    276279
    277280# Finally assemble libraries...
     
    282285else
    283286# Again, do not use := or +=.  See note on LDLIBS2 above.
    284   LDLIBS_PREFINAL = $(LDLIBS1) $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) $(LDLIBS4)
     287  LDLIBS_PREFINAL = $(LDLIBS1) $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3)
    285288# Version leaving out EXTRALIBS
    286   LDLIBS_KERNEL   = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) $(LDLIBS4)
    287 endif
    288 LDLIBS_PREFINAL += $(LDLIBS5)
    289 LDLIBS_KERNEL   += $(LDLIBS5)
     289  LDLIBS_KERNEL   = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3)
     290endif
     291LDLIBS_PREFINAL += $(LDLIBS4)
     292LDLIBS_KERNEL   += $(LDLIBS4)
    290293
    291294ifneq (,$(findstring WIN32-VC,$(G4SYSTEM)))
     
    351354ifdef CPPVERBOSE
    352355        $(CXX) $(CXXFLAGS) $(CPPFLAGS) \
    353           $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS)  \
     356          $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \
    354357          $(LDLIBS)
    355358else
    356359        @echo Linking $(G4TARGET) ...
    357360        @$(CXX) $(CXXFLAGS) $(CPPFLAGS) \
    358           $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS)\
     361          $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \
    359362          $(LDLIBS)
    360363        @if [ \( -f $(G4BINDIR)/$(G4TARGET) \) ]; then \
     
    368371$(G4TMPDIR)/exe/obj.last: $(objects)
    369372endif
    370         @touch $@
     373        @$(TOUCH) $@
    371374
    372375# Make the $(G4TARGET).$(TARGOBJEXT) file.
Note: See TracChangeset for help on using the changeset viewer.