Subversion Repositories DevTools

Rev

Rev 4538 | Rev 4928 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4538 Rev 4728
Line 461... Line 461...
461
ifeq "$(DEBUG)" "1"
461
ifeq "$(DEBUG)" "1"
462
shld_flags	+= -g
462
shld_flags	+= -g
463
endif
463
endif
464
shld_flags	+= \
464
shld_flags	+= \
465
		$(patsubst %,%,$(LDFLAGS)) \
465
		$(patsubst %,%,$(LDFLAGS)) \
-
 
466
		$(patsubst %,%,$(GCC_LDFLAGS)) \
466
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
467
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
467
		$($(notdir $(SHBASE))_shld)
468
		$($(notdir $(SHBASE))_shld)
468
 
469
 
469
define shld_pre
470
define shld_pre
470
	@echo [$@] Linking shared library..; \
471
	@echo [$@] Linking shared library..; \
Line 500... Line 501...
500
ld_flags	+= -pg
501
ld_flags	+= -pg
501
endif
502
endif
502
 
503
 
503
ld_flags	+= \
504
ld_flags	+= \
504
		$(patsubst %,%,$(LDFLAGS)) \
505
		$(patsubst %,%,$(LDFLAGS)) \
-
 
506
		$(patsubst %,%,$(GCC_LDFLAGS)) \
505
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
507
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
506
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
508
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
507
		$($(notdir $(basename $@))_ld)
509
		$($(notdir $(basename $@))_ld)
508
 
510
 
509
define ld_pre
511
define ld_pre