Changeset 1045 for trunk/config/binmake.gmk
- Timestamp:
- May 15, 2009, 12:28:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/config/binmake.gmk
r921 r1045 1 # $Id: binmake.gmk,v 1.13 8 2008/11/14 19:58:19gcosmo Exp $1 # $Id: binmake.gmk,v 1.139 2008/12/03 13:35:36 gcosmo Exp $ 2 2 # ---------------------------------------------------------- 3 3 # Script defining rules and paths for making binaries. … … 34 34 # Verify the existance of granular shared libraries (Unix) or global DLLs (Windows) 35 35 # 36 ifndef SHAREDLIBS 37 SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/libG4globman.$(SHEXT) && echo yes) 38 endif 36 39 ifneq (,$(findstring WIN32-VC,$(G4SYSTEM))) 37 40 SHAREDLIBS := $(shell test -f $(G4LIB)/$(G4SYSTEM)/G4global.$(SHEXT) && echo yes) … … 273 276 # (why?) the user is not supposed to be able to define... 274 277 # 275 LDLIBS 5+= $(LOADLIBS)278 LDLIBS4 += $(LOADLIBS) 276 279 277 280 # Finally assemble libraries... … … 282 285 else 283 286 # 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) 285 288 # Version leaving out EXTRALIBS 286 LDLIBS_KERNEL = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) $(LDLIBS4)287 endif 288 LDLIBS_PREFINAL += $(LDLIBS 5)289 LDLIBS_KERNEL += $(LDLIBS 5)289 LDLIBS_KERNEL = $(LDLIBS2) $(LDLIBS2EXTRA) $(LDLIBS3) 290 endif 291 LDLIBS_PREFINAL += $(LDLIBS4) 292 LDLIBS_KERNEL += $(LDLIBS4) 290 293 291 294 ifneq (,$(findstring WIN32-VC,$(G4SYSTEM))) … … 351 354 ifdef CPPVERBOSE 352 355 $(CXX) $(CXXFLAGS) $(CPPFLAGS) \ 353 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) 356 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \ 354 357 $(LDLIBS) 355 358 else 356 359 @echo Linking $(G4TARGET) ... 357 360 @$(CXX) $(CXXFLAGS) $(CPPFLAGS) \ 358 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \361 $(OUT)$(G4BINDIR)/$(G4TARGET) $(objects) $(LDFLAGS) \ 359 362 $(LDLIBS) 360 363 @if [ \( -f $(G4BINDIR)/$(G4TARGET) \) ]; then \ … … 368 371 $(G4TMPDIR)/exe/obj.last: $(objects) 369 372 endif 370 @ touch$@373 @$(TOUCH) $@ 371 374 372 375 # Make the $(G4TARGET).$(TARGOBJEXT) file.
Note: See TracChangeset
for help on using the changeset viewer.