diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-12 16:12:36 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-12 16:12:36 +0000 |
commit | 3a7ac9c7a7b4d6181d3cd70a9cb85d93a1938238 (patch) | |
tree | f87aedb508cd30ff8d50b75dbe832d34ac5dad85 /ldso/libdl/Makefile | |
parent | b0c8130cec05f40ce926058d18fbc520b1a0e856 (diff) |
Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
Diffstat (limited to 'ldso/libdl/Makefile')
-rw-r--r-- | ldso/libdl/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/libdl/Makefile b/ldso/libdl/Makefile index d31ce256d..eeb7e1a5c 100644 --- a/ldso/libdl/Makefile +++ b/ldso/libdl/Makefile @@ -32,7 +32,7 @@ XXFLAGS+= $(XARCH_CFLAGS) $(CPU_CFLAGS) \ -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)ldso/include -I$(TOPDIR)ldso/ldso -I$(TOPDIR)include XXFLAGS+=-isystem $(shell $(CC) -print-file-name=include) -ifeq ($(strip $(SUPPORT_LD_DEBUG)),y) +ifeq ($(SUPPORT_LD_DEBUG),y) XXFLAGS+=-D__SUPPORT_LD_DEBUG__ endif XXFLAGS_NOPIC:=$(XXFLAGS) @@ -41,7 +41,7 @@ ifeq ($(DOPIC),y) endif # BEWARE!!! At least mips* will die if -O0 is used!!! -ifeq ($(strip $(TARGET_ARCH)),mips) +ifeq ($(TARGET_ARCH),mips) XXFLAGS := $(XXFLAGS:-O0=-O1) endif @@ -55,7 +55,7 @@ OBJS := libdl.o PIC_OBJS := libdl_pic.o # we do not get here, do we need a libdl.a, if ld.so is not ours? -#ifeq ($(strip $(HAVE_SHARED)),y) +#ifeq ($(HAVE_SHARED),y) all: $(AR_LIB_NAME) $(SO_LIB_NAME) #else #all: $(AR_LIB_NAME) |