add swifi to the build/install.
[minix.git] / servers / inet / Makefile
blob356e912930a95170b4ed20471c68add0b3b4d84f
1 # Makefile for inet.
3 # Directories
4 g = generic
6 # Programs, flags, and libraries
7 CC = cc
8 CPPFLAGS = -I. -D_MINIX
9 CFLAGS = $(OPT) $(CPPFLAGS) $(CPROFILE)
10 LDFLAGS =
11 LIBS = -lsys
13 .c.o:
14 $(CC) $(CFLAGS) -o $@ -c $<
16 OBJ = buf.o clock.o inet.o inet_config.o \
17 mnx_eth.o mq.o qp.o sr.o \
18 $g/udp.o $g/arp.o $g/eth.o $g/event.o \
19 $g/icmp.o $g/io.o $g/ip.o $g/ip_ioctl.o \
20 $g/ip_lib.o $g/ip_read.o $g/ip_write.o \
21 $g/ipr.o $g/rand256.o $g/tcp.o $g/tcp_lib.o \
22 $g/tcp_recv.o $g/tcp_send.o $g/ip_eth.o \
23 $g/ip_ps.o $g/psip.o \
24 minix3/queryparam.o sha2.o
26 all: inet
28 inet: $(OBJ)
29 $(CC) -o $@ $(LDFLAGS) $(OBJ) version.c $(LIBS)
31 install: inet
32 install -c inet /usr/sbin/inet
34 clean:
35 rm -f $(OBJ) inet *.bak
37 depend:
38 mkdep "$(CC) -E $(CPPFLAGS)" *.c generic/*.c > .depend
42 # $PchId: Makefile.mnx3,v 1.1 2005/06/28 14:28:45 philip Exp $