X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=Makefile;h=573f0232719de4a7875510ed65bf6e5f855ed1a4;hb=05e662ab4d6b824d066c6c07fda039a903b28854;hp=512fc807fc6c1b3e61210a23edb1a55b6e87959a;hpb=b6071ea5cbfd92e2022e10a7b6ef64882abfa8fe;p=oweals%2Fbusybox.git diff --git a/Makefile b/Makefile index 512fc807f..573f02327 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # Makefile for busybox # -# Copyright (C) 1999-2002 Erik Andersen +# Copyright (C) 1999-2003 by Erik Andersen # # 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 +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 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) $@