Changeset 921 for trunk/config/binmake.gmk
- Timestamp:
- Feb 16, 2009, 10:14:30 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/binmake.gmk
r886 r921 34 34 # Verify the existance of granular shared libraries (Unix) or global DLLs (Windows) 35 35 # 36 ifndef SHAREDLIBS37 SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4globman.$(SHEXT) && echo yes)38 endif39 36 ifneq (,$(findstring WIN32-VC,$(G4SYSTEM))) 40 37 SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/G4global.$(SHEXT) && echo yes) … … 276 273 # (why?) the user is not supposed to be able to define... 277 274 # 278 LDLIBS 4+= $(LOADLIBS)275 LDLIBS5 += $(LOADLIBS) 279 276 280 277 # Finally assemble libraries... … … 285 282 else 286 283 # 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) 288 285 # Version leaving out EXTRALIBS 289 LDLIBS_KERNEL = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) 290 endif 291 LDLIBS_PREFINAL += $(LDLIBS 4)292 LDLIBS_KERNEL += $(LDLIBS 4)286 LDLIBS_KERNEL = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) $(LDLIBS4) 287 endif 288 LDLIBS_PREFINAL += $(LDLIBS5) 289 LDLIBS_KERNEL += $(LDLIBS5) 293 290 294 291 ifneq (,$(findstring WIN32-VC,$(G4SYSTEM))) … … 354 351 ifdef CPPVERBOSE 355 352 $(CXX) $(CXXFLAGS) $(CPPFLAGS) \ 356 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \353 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \ 357 354 $(LDLIBS) 358 355 else 359 356 @echo Linking $(G4TARGET) ... 360 357 @$(CXX) $(CXXFLAGS) $(CPPFLAGS) \ 361 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) 358 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS)\ 362 359 $(LDLIBS) 363 360 @if [ \( -f $(G4BINDIR)/$(G4TARGET) \) ]; then \
Note: See TracChangeset
for help on using the changeset viewer.