projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch from Christian Meyer:
[oweals/busybox.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 512fc807fc6c1b3e61210a23edb1a55b6e87959a..573f0232719de4a7875510ed65bf6e5f855ed1a4 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,6
+1,6
@@
# Makefile for busybox
#
# Makefile for busybox
#
-# Copyright (C) 1999-200
2 Erik Andersen <andersee@debian
.org>
+# Copyright (C) 1999-200
3 by Erik Andersen <andersen@codepoet
.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-31,15
+31,20
@@
DIRS:=applets archival archival/libunarchive coreutils console-tools \
networking/libiproute networking/udhcp procps loginutils shell \
sysklogd util-linux libbb libpwdgrp coreutils/libcoreutils
networking/libiproute networking/udhcp procps loginutils shell \
sysklogd util-linux libbb libpwdgrp coreutils/libcoreutils
+ifeq ($(strip $(CONFIG_SELINUX)),y)
+CFLAGS += -I/usr/include/selinux
+LIBRARIES += -lsecure
+endif
+
ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
ifeq ($(strip $(HAVE_DOT_CONFIG)),y)
-all: busybox busybox.links
#
doc
+all: busybox busybox.links doc
# In this section, we need .config
-include .config.cmd
include $(patsubst %,%/Makefile.in, $(DIRS))
# In this section, we need .config
-include .config.cmd
include $(patsubst %,%/Makefile.in, $(DIRS))
-busybox: .depend include/config.h $(libraries-y
)
+busybox: .depend include/config.h $(libraries-y
)
$(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES)
$(STRIPCMD) $@
$(CC) $(LDFLAGS) -o $@ $(libraries-y) $(LIBRARIES)
$(STRIPCMD) $@