Rev | Line | |
---|
[9] | 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.
|
---|
| 22 | DRIVER = dpeth
|
---|
| 23 |
|
---|
| 24 | debug = 0
|
---|
| 25 |
|
---|
| 26 | CC = exec cc
|
---|
| 27 | LD = $(CC)
|
---|
| 28 | CPPFLAGS= -I.. -I/usr/include -Ddebug=$(debug)
|
---|
| 29 | CFLAGS = -ws $(CPPFLAGS)
|
---|
| 30 | LDFLAGS = -i -o $@
|
---|
| 31 |
|
---|
| 32 | SRCS = 3c501.c 3c509.c 3c503.c ne.c wd.c 8390.c devio.c netbuff.c dp.c
|
---|
| 33 | OBJS = 3c501.o 3c509.o 3c503.o ne.o wd.o 8390.o devio.o netbuff.o dp.o
|
---|
| 34 | LIBS = -lsysutil -lsys # -ltimers
|
---|
| 35 |
|
---|
| 36 | ## Build rules
|
---|
| 37 | all build: $(DRIVER)
|
---|
| 38 |
|
---|
| 39 | $(DRIVER): $(OBJS)
|
---|
| 40 | $(CC) $(OBJS) $(LIBS) $(LDFLAGS)
|
---|
| 41 | install -S 4kw $(DRIVER)
|
---|
| 42 |
|
---|
| 43 | ## Install with other drivers
|
---|
| 44 | install: /usr/sbin/$(DRIVER)
|
---|
| 45 | /usr/sbin/$(DRIVER): $(DRIVER)
|
---|
| 46 | install -o root -cs $? $@
|
---|
| 47 |
|
---|
| 48 | ## Generate dependencies
|
---|
| 49 |
|
---|
| 50 | depend:
|
---|
| 51 | /usr/bin/mkdep "$(CC) -E $(CPPFLAGS)" *.c > .depend
|
---|
| 52 |
|
---|
| 53 | ## Clean directory
|
---|
| 54 | clean:
|
---|
| 55 | @rm -f $(DRIVER) *.o *.BAK
|
---|
| 56 |
|
---|
| 57 | include .depend
|
---|
| 58 |
|
---|
| 59 | ## end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.