source: trunk/minix/drivers/dpeth/Makefile@ 9

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

Minix 3.1.2a

File size: 1.4 KB
Line 
1##
2## Makefile for ISA ethernet drivers May 02, 2000
3##
4## $Log: Makefile,v $
5## Revision 1.3 2005/07/19 13:21:48 jnherder
6## Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util
7##
8## Revision 1.2 2005/07/19 12:12:47 jnherder
9## Changed Makefiles: drivers are now installed in /usr/sbin.
10## TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP).
11##
12## Revision 1.1 2005/06/29 10:16:46 beng
13## Import of dpeth 3c501/3c509b/.. ethernet driver by
14## Giovanni Falzoni <fgalzoni@inwind.it>.
15##
16## Revision 2.0 2005/06/26 16:16:46 lsodgf0
17## Initial revision for Minix 3.0.6
18##
19## $Id: Makefile,v 1.3 2005/07/19 13:21:48 jnherder Exp $
20
21## Programs, flags, etc.
22DRIVER = dpeth
23
24debug = 0
25
26CC = exec cc
27LD = $(CC)
28CPPFLAGS= -I.. -I/usr/include -Ddebug=$(debug)
29CFLAGS = -ws $(CPPFLAGS)
30LDFLAGS = -i -o $@
31
32SRCS = 3c501.c 3c509.c 3c503.c ne.c wd.c 8390.c devio.c netbuff.c dp.c
33OBJS = 3c501.o 3c509.o 3c503.o ne.o wd.o 8390.o devio.o netbuff.o dp.o
34LIBS = -lsysutil -lsys # -ltimers
35
36## Build rules
37all build: $(DRIVER)
38
39$(DRIVER): $(OBJS)
40 $(CC) $(OBJS) $(LIBS) $(LDFLAGS)
41 install -S 4kw $(DRIVER)
42
43## Install with other drivers
44install: /usr/sbin/$(DRIVER)
45/usr/sbin/$(DRIVER): $(DRIVER)
46 install -o root -cs $? $@
47
48## Generate dependencies
49
50depend:
51 /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
52
53## Clean directory
54clean:
55 @rm -f $(DRIVER) *.o *.BAK
56
57include .depend
58
59## end
Note: See TracBrowser for help on using the repository browser.