Vladimir N. Oleynik writes:
[oweals/busybox.git] / Makefile
index 300e4d8b626b4dd9976e01c2dc1d0a6a289e877f..573f0232719de4a7875510ed65bf6e5f855ed1a4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 # Makefile for busybox
 #
-# Copyright (C) 1999-2002 Erik Andersen <andersee@debian.org>
+# Copyright (C) 1999-2003 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
@@ -31,9 +31,14 @@ DIRS:=applets archival archival/libunarchive coreutils console-tools \
        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)
 
-all: busybox busybox.links #doc
+all: busybox busybox.links doc
 
 # In this section, we need .config
 -include .config.cmd