Ignore:
Timestamp:
Feb 16, 2009, 10:14:30 AM (15 years ago)
Author:
garnier
Message:

en test de gl2ps. Problemes de libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/binmake.gmk

    r886 r921  
    3434# Verify the existance of granular shared libraries (Unix) or global DLLs (Windows)
    3535#
    36 ifndef SHAREDLIBS
    37   SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4globman.$(SHEXT) && echo yes)
    38 endif
    3936ifneq (,$(findstring WIN32-VC,$(G4SYSTEM)))
    4037  SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/G4global.$(SHEXT) && echo yes)
     
    276273# (why?) the user is not supposed to be able to define...
    277274#
    278 LDLIBS4 += $(LOADLIBS)
     275LDLIBS5 += $(LOADLIBS)
    279276
    280277# Finally assemble libraries...
     
    285282else
    286283# Again, do not use := or +=.  See note on LDLIBS2 above.
    287   LDLIBS_PREFINAL = $(LDLIBS1) $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3)
     284  LDLIBS_PREFINAL = $(LDLIBS1) $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) $(LDLIBS4)
    288285# Version leaving out EXTRALIBS
    289   LDLIBS_KERNEL   = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3)
    290 endif
    291 LDLIBS_PREFINAL += $(LDLIBS4)
    292 LDLIBS_KERNEL   += $(LDLIBS4)
     286  LDLIBS_KERNEL   = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) $(LDLIBS4)
     287endif
     288LDLIBS_PREFINAL += $(LDLIBS5)
     289LDLIBS_KERNEL   += $(LDLIBS5)
    293290
    294291ifneq (,$(findstring WIN32-VC,$(G4SYSTEM)))
     
    354351ifdef CPPVERBOSE
    355352        $(CXX) $(CXXFLAGS) $(CPPFLAGS) \
    356           $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \
     353          $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS)  \
    357354          $(LDLIBS)
    358355else
    359356        @echo Linking $(G4TARGET) ...
    360357        @$(CXX) $(CXXFLAGS) $(CPPFLAGS) \
    361           $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \
     358          $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS)\
    362359          $(LDLIBS)
    363360        @if [ \( -f $(G4BINDIR)/$(G4TARGET) \) ]; then \
Note: See TracChangeset for help on using the changeset viewer.