1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

remove all stripping code

This commit is contained in:
Kay Sievers 2006-03-28 03:09:18 +02:00
parent 92da64c700
commit 15ff0ba36e
12 changed files with 1 additions and 52 deletions

View File

@ -117,8 +117,6 @@ LD = $(CROSS_COMPILE)gcc
AR = $(CROSS_COMPILE)ar AR = $(CROSS_COMPILE)ar
RANLIB = $(CROSS_COMPILE)ranlib RANLIB = $(CROSS_COMPILE)ranlib
HOSTCC = gcc HOSTCC = gcc
STRIP = $(CROSS_COMPILE)strip
STRIPCMD = $(STRIP) -s
CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \ WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \
@ -138,7 +136,6 @@ endif
# if DEBUG is enabled, then we do not strip # if DEBUG is enabled, then we do not strip
ifeq ($(strip $(DEBUG)),true) ifeq ($(strip $(DEBUG)),true)
CFLAGS += -DDEBUG CFLAGS += -DDEBUG
STRIPCMD =
endif endif
ifeq ($(strip $(USE_GCOV)),true) ifeq ($(strip $(USE_GCOV)),true)
@ -178,7 +175,6 @@ all: $(PROGRAMS) $(MAN_PAGES)
CFLAGS="$(CFLAGS)" \ CFLAGS="$(CFLAGS)" \
LD="$(LD)" \ LD="$(LD)" \
LDFLAGS="$(LDFLAGS)" \ LDFLAGS="$(LDFLAGS)" \
STRIPCMD="$(STRIPCMD)" \
LIB_OBJS="$(LIB_OBJS)" \ LIB_OBJS="$(LIB_OBJS)" \
LIBUDEV="$(PWD)/$(LIBUDEV)" \ LIBUDEV="$(PWD)/$(LIBUDEV)" \
-C $$target $@ || exit 1; \ -C $$target $@ || exit 1; \
@ -198,10 +194,6 @@ all: $(PROGRAMS) $(MAN_PAGES)
$(PROGRAMS): %: $(HEADERS) $(GEN_HEADERS) $(LIBUDEV) %.o $(PROGRAMS): %: $(HEADERS) $(GEN_HEADERS) $(LIBUDEV) %.o
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(STRIPCMD),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
$(LIBUDEV): $(HEADERS) $(GEN_HEADERS) $(UDEV_OBJS) $(LIBUDEV): $(HEADERS) $(GEN_HEADERS) $(UDEV_OBJS)
$(Q) rm -f $@ $(Q) rm -f $@
@ -349,7 +341,7 @@ ChangeLog: Makefile
@ rm $@.tmp @ rm $@.tmp
gcov-all: gcov-all:
$(MAKE) clean all STRIPCMD= USE_GCOV=true $(MAKE) clean all USE_GCOV=true
@ echo @ echo
@ echo "binaries built with gcov support." @ echo "binaries built with gcov support."
@ echo "run the tests and analyze with 'make udev_gcov.txt'" @ echo "run the tests and analyze with 'make udev_gcov.txt'"

3
README
View File

@ -66,9 +66,6 @@ Compile Options:
If set to 'true', very verbose debugging messages will be compiled If set to 'true', very verbose debugging messages will be compiled
into the udev binaries. The actual level of debugging is specified into the udev binaries. The actual level of debugging is specified
in the udev config file. in the udev config file.
STRIPCMD
If udev is compiled for packaging an empty string can be passed
to disable the stripping of the binaries.
USE_SELINUX USE_SELINUX
If set to 'true', udev will be built with SELinux support If set to 'true', udev will be built with SELinux support
enabled. This is disabled by default. enabled. This is disabled by default.

View File

@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -35,10 +35,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -39,10 +39,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(STRIPCMD),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
scsi_id_version.h: scsi_id_version.h:
$(E) " GENHDR " $@ $(E) " GENHDR " $@

View File

@ -36,10 +36,6 @@ all: $(PROG) $(MAN_PAGES)
$(PROG): %: $(HEADERS) %.o $(OBJS) $(PROG): %: $(HEADERS) %.o $(OBJS)
$(E) " LD " $@ $(E) " LD " $@
$(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LIBUDEV) $(LIB_OBJS)
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml

View File

@ -41,10 +41,6 @@ ifeq ($(strip $(VOLUME_ID_STATIC)),true)
else else
$(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) -Llib -lvolume_id $(LIB_OBJS) $(Q) $(LD) $(LDFLAGS) -o $@ $@.o $(LIBUDEV) -Llib -lvolume_id $(LIB_OBJS)
endif endif
ifneq ($(strip $(STRIPCMD)),)
$(E) " STRIP " $@
$(Q) $(STRIPCMD) $@
endif
# man pages # man pages
%.8: %.xml %.8: %.xml