Subversion Repositories DevTools

Rev

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

Rev 4699 Rev 4700
Line 464... Line 464...
464
shld_flags	+= \
464
shld_flags	+= \
465
		$(patsubst %,%,$(LDFLAGS)) \
465
		$(patsubst %,%,$(LDFLAGS)) \
466
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
466
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
467
		$($(notdir $(SHBASE))_shld)
467
		$($(notdir $(SHBASE))_shld)
468
 
468
 
-
 
469
ifdef GCC_LDFLAGS
-
 
470
shld_flags	+= $(GCC_LDFLAGS)
-
 
471
endif
-
 
472
 
469
define shld_pre
473
define shld_pre
470
	@echo [$@] Linking shared library..; \
474
	@echo [$@] Linking shared library..; \
471
	$(touch) $(LIBDIR)/$(SHBASE).map
475
	$(touch) $(LIBDIR)/$(SHBASE).map
472
endef
476
endef
473
 
477
 
Line 504... Line 508...
504
		$(patsubst %,%,$(LDFLAGS)) \
508
		$(patsubst %,%,$(LDFLAGS)) \
505
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
509
		$(patsubst %,-L%,$(wildcard $(LIBDIRS))) \
506
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
510
		$(patsubst %,-Xlinker -rpath-link %,$(wildcard $(LIBDIRS))) \
507
		$($(notdir $(basename $@))_ld)
511
		$($(notdir $(basename $@))_ld)
508
 
512
 
-
 
513
ifdef GCC_LDFLAGS
-
 
514
ld_flags	+= $(GCC_LDFLAGS)
-
 
515
endif
-
 
516
 
509
define ld_pre
517
define ld_pre
510
	@echo [$@] Linking..; \
518
	@echo [$@] Linking..; \
511
	$(touch) $(basename $@).map
519
	$(touch) $(basename $@).map
512
endef
520
endef
513
 
521