source: trunk/mindi-busybox/networking/Makefile.in @ 904

Last change on this file since 904 was 821, checked in by bruno, 13 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

File size: 2.4 KB
Line 
1# Makefile for busybox
2#
3# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
4#
5# Licensed under the GPL v2, see the file LICENSE in this tarball.
6
7NETWORKING_AR:=networking.a
8ifndef $(NETWORKING_DIR)
9NETWORKING_DIR:=$(top_builddir)/networking/
10endif
11srcdir=$(top_srcdir)/networking
12
13NETWORKING-y:=
14NETWORKING-$(CONFIG_ARPING)       += arping.o
15NETWORKING-$(CONFIG_DNSD)         += dnsd.o
16NETWORKING-$(CONFIG_ETHER_WAKE)   += ether-wake.o
17NETWORKING-$(CONFIG_FAKEIDENTD)   += fakeidentd.o
18NETWORKING-$(CONFIG_FTPGET)       += ftpgetput.o
19NETWORKING-$(CONFIG_FTPPUT)       += ftpgetput.o
20NETWORKING-$(CONFIG_HOSTNAME)     += hostname.o
21NETWORKING-$(CONFIG_HTTPD)        += httpd.o
22NETWORKING-$(CONFIG_IFCONFIG)     += ifconfig.o interface.o
23NETWORKING-$(CONFIG_IFUPDOWN)     += ifupdown.o
24NETWORKING-$(CONFIG_INETD)        += inetd.o
25NETWORKING-$(CONFIG_IP)           += ip.o
26NETWORKING-$(CONFIG_IPCALC)       += ipcalc.o
27NETWORKING-$(CONFIG_IPADDR)       += ipaddr.o
28NETWORKING-$(CONFIG_IPLINK)       += iplink.o
29NETWORKING-$(CONFIG_IPROUTE)      += iproute.o
30NETWORKING-$(CONFIG_IPTUNNEL)     += iptunnel.o
31NETWORKING-$(CONFIG_NAMEIF)       += nameif.o
32NETWORKING-$(CONFIG_NC)           += nc.o
33NETWORKING-$(CONFIG_NETSTAT)      += netstat.o
34NETWORKING-$(CONFIG_NSLOOKUP)     += nslookup.o
35NETWORKING-$(CONFIG_PING)         += ping.o
36NETWORKING-$(CONFIG_PING6)        += ping6.o
37NETWORKING-$(CONFIG_ROUTE)        += route.o
38NETWORKING-$(CONFIG_TELNET)       += telnet.o
39NETWORKING-$(CONFIG_TELNETD)      += telnetd.o
40NETWORKING-$(CONFIG_TFTP)         += tftp.o
41NETWORKING-$(CONFIG_TRACEROUTE)   += traceroute.o
42NETWORKING-$(CONFIG_VCONFIG)      += vconfig.o
43NETWORKING-$(CONFIG_WGET)         += wget.o
44NETWORKING-$(CONFIG_ZCIP)         += zcip.o
45
46NETWORKING-y:=$(sort $(NETWORKING-y))
47ifneq ($(strip $(NETWORKING-y)),)
48libraries-y+=$(NETWORKING_DIR)$(NETWORKING_AR)
49endif
50
51NETWORKING_SRC-y:=$(patsubst %.o,$(srcdir)/%.c,$(NETWORKING-y))
52NETWORKING_SRC-a:=$(wildcard $(srcdir)/*.c)
53APPLET_SRC-y+=$(NETWORKING_SRC-y)
54APPLET_SRC-a+=$(NETWORKING_SRC-a)
55
56LIBRARY_DEFINE-y+= -I$(top_srcdir)/networking
57LIBRARY_DEFINE-a+= -I$(top_srcdir)/networking
58
59needcrypt-y:=
60needcrypt-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) := y
61
62ifeq ($(needcrypt-y),y)
63    LIBRARIES := -lcrypt $(filter-out -lcrypt,$(LIBRARIES))
64endif
65
66$(NETWORKING_DIR)$(NETWORKING_AR): $(patsubst %,$(NETWORKING_DIR)%, $(NETWORKING-y))
67    $(do_ar)
68
69$(NETWORKING_DIR)%.o: $(srcdir)/%.c
70    $(compile.c)
Note: See TracBrowser for help on using the repository browser.