projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Announce 1.2.1
[oweals/busybox.git]
/
loginutils
/
Makefile.in
diff --git
a/loginutils/Makefile.in
b/loginutils/Makefile.in
index a2cfd8a67f9f7aab089f30684dacebea72edf514..0063762ab5cce71a4a739e31fe58250dacb42d69 100644
(file)
--- a/
loginutils/Makefile.in
+++ b/
loginutils/Makefile.in
@@
-20,9
+20,13
@@
LOGINUTILS-$(CONFIG_SU) += su.o
LOGINUTILS-$(CONFIG_SULOGIN) += sulogin.o
LOGINUTILS-$(CONFIG_VLOCK) += vlock.o
LOGINUTILS-$(CONFIG_DELUSER) += deluser.o
LOGINUTILS-$(CONFIG_SULOGIN) += sulogin.o
LOGINUTILS-$(CONFIG_VLOCK) += vlock.o
LOGINUTILS-$(CONFIG_DELUSER) += deluser.o
-LOGINUTILS-$(CONFIG_DELGROUP) += del
group
.o
+LOGINUTILS-$(CONFIG_DELGROUP) += del
user
.o
+LOGINUTILS-y:=$(sort $(LOGINUTILS-y))
+
+ifneq ($(strip $(LOGINUTILS-y)),)
libraries-y+=$(LOGINUTILS_DIR)$(LOGINUTILS_AR)
libraries-y+=$(LOGINUTILS_DIR)$(LOGINUTILS_AR)
+endif
LOGINUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(LOGINUTILS-y))
LOGINUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
LOGINUTILS_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(LOGINUTILS-y))
LOGINUTILS_SRC-a:=$(wildcard $(srcdir)/*.c)
@@
-42,8
+46,7
@@
ifeq ($(needcrypt-y),y)
endif
$(LOGINUTILS_DIR)$(LOGINUTILS_AR): $(patsubst %,$(LOGINUTILS_DIR)%, $(LOGINUTILS-y))
endif
$(LOGINUTILS_DIR)$(LOGINUTILS_AR): $(patsubst %,$(LOGINUTILS_DIR)%, $(LOGINUTILS-y))
- $(
AR) $(ARFLAGS) $@ $(patsubst %,$(LOGINUTILS_DIR)%, $(LOGINUTILS-y)
)
+ $(
do_ar
)
$(LOGINUTILS_DIR)%.o: $(srcdir)/%.c
$(LOGINUTILS_DIR)%.o: $(srcdir)/%.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<
-
+ $(compile.c)