Subversion Repositories DevTools

Rev

Rev 4700 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4700 Rev 4712
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
ifdef GCC_LDFLAGS
-
 
470
shld_flags	+= $(GCC_LDFLAGS)
-
 
471
endif
-
 
472
 
-
 
473
define shld_pre
470
define shld_pre
474
	@echo [$@] Linking shared library..; \
471
	@echo [$@] Linking shared library..; \
475
	$(touch) $(LIBDIR)/$(SHBASE).map
472
	$(touch) $(LIBDIR)/$(SHBASE).map
476
endef
473
endef
477
 
474
 
Line 504... Line 501...
504
ld_flags	+= -pg
501
ld_flags	+= -pg
505
endif
502
endif
506
 
503
 
507
ld_flags	+= \
504
ld_flags	+= \
508
		$(patsubst %,%,$(LDFLAGS)) \
505
		$(patsubst %,%,$(LDFLAGS)) \
-
 
506
		$(patsubst %,%,$(GCC_LDFLAGS)) \
509
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
507
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
510
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
508
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
511
		$($(notdir $(basename $@))_ld)
509
		$($(notdir $(basename $@))_ld)
512
 
510
 
513
ifdef GCC_LDFLAGS
-
 
514
ld_flags	+= $(GCC_LDFLAGS)
-
 
515
endif
-
 
516
 
-
 
517
define ld_pre
511
define ld_pre
518
	@echo [$@] Linking..; \
512
	@echo [$@] Linking..; \
519
	$(touch) $(basename $@).map
513
	$(touch) $(basename $@).map
520
endef
514
endef
521
 
515