source: trunk/minix/servers/inet/Makefile@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 913 bytes
RevLine 
[9]1# Makefile for inet.
2
3# Directories
4g = generic
5
6# Programs, flags, and libraries
7CC = cc
8CPPFLAGS = -I. -D_MINIX
9CFLAGS = $(OPT) $(CPPFLAGS)
10LDFLAGS =
11LIBS = -lsys -lsysutil
12
13.c.o:
14 $(CC) $(CFLAGS) -o $@ -c $<
15
16OBJ = buf.o clock.o inet.o inet_config.o \
17 mnx_eth.o mq.o qp.o sr.o stacktrace.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
25
26all: inet
27
28inet: $(OBJ)
29 $(CC) -o $@ $(LDFLAGS) $(OBJ) version.c $(LIBS)
30
31install: inet
32 install -c $? /usr/sbin/inet
33
34clean:
35 rm -f $(OBJ) inet *.bak
36
37depend:
38 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c generic/*.c > .depend
39
40# Include generated dependencies.
41include .depend
42
43#
44# $PchId: Makefile.mnx3,v 1.1 2005/06/28 14:28:45 philip Exp $
45#
Note: See TracBrowser for help on using the repository browser.