* ditto
This commit is contained in:
parent
a6140d9d92
commit
5e919cc4ca
14
src/Makefile
14
src/Makefile
@ -8,7 +8,7 @@
|
||||
# Version: @(#)Makefile 2.85-13 23-Mar-2004 miquels@cistron.nl
|
||||
#
|
||||
|
||||
CPPFLAGS = -DUSE_PAM
|
||||
CPPFLAGS =
|
||||
CFLAGS ?= -ansi -O2 -fomit-frame-pointer
|
||||
override CFLAGS += -W -Wall -D_GNU_SOURCE
|
||||
STATIC =
|
||||
@ -78,13 +78,6 @@ else
|
||||
SULOGINLIBS =
|
||||
endif
|
||||
|
||||
# Additional libs for GNU libc.
|
||||
ifneq ($(findstring -DUSE_PAM,$(CPPFLAGS)),)
|
||||
INITLIBS += -lpam
|
||||
PAMDOTD = /etc/pam.d
|
||||
PAMINIT = $(PAMDOTD)/init
|
||||
endif
|
||||
|
||||
# Additional libs for GNU libc.
|
||||
ifneq ($(wildcard /usr/lib*/libcrypt.a),)
|
||||
SULOGINLIBS += -lcrypt
|
||||
@ -160,11 +153,6 @@ install:
|
||||
$(STRIP) $$i ; \
|
||||
$(INSTALL_EXEC) $$i $(ROOT)/usr/bin/ ; \
|
||||
done
|
||||
ifneq ($(findstring -DUSE_PAM,$(CPPFLAGS)),)
|
||||
$(INSTALL_DIR) $(ROOT)$(PAMDOTD)
|
||||
test -s $(ROOT)$(PAMINIT) || \
|
||||
$(INSTALL_DATA) init.sample $(ROOT)$(PAMINIT)
|
||||
endif
|
||||
# $(INSTALL_DIR) $(ROOT)/etc/
|
||||
# $(INSTALL_EXEC) initscript.sample $(ROOT)/etc/
|
||||
ln -sf halt $(ROOT)/sbin/reboot
|
||||
|
Loading…
Reference in New Issue
Block a user