The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/drivers/dpeth/Makefile

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    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

Cache object: fca63151bbe997e679be74406ae139d2


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.