source: freebsd-mos-driver/Makefile@ 171

Last change on this file since 171 was 171, checked in by Rick van der Zwet, 14 years ago

Initial import code for mos(4) driver USB to Ethernet module

File size: 1006 bytes
Line 
1# Copyright (c) 2010 Rick van der Zwet <info@rickvanderzwet.nl>
2#
3# Permission to use, copy, modify, and distribute this software for any
4# purpose with or without fee is hereby granted, provided that the above
5# copyright notice and this permission notice appear in all copies.
6#
7# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14
15DEBUG_FLAGS= -g
16KMOD= if_mos
17SRCS= opt_bus.h opt_usb.h device_if.h bus_if.h usb_if.h usbdevs.h \
18 miibus_if.h opt_inet.h \
19 if_mos.c
20
21.include <bsd.kmod.mk>
22
23ld:
24 kldload ./if_mos.ko
25
26uld:
27 kldunload if_mos
28
29lsmod:
30 kldstat
Note: See TracBrowser for help on using the repository browser.