-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
50 lines (47 loc) · 1.45 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
################################################################################
#
# NetFPGA-10G http://www.netfpga.org
#
# File:
# Makefile
#
# Project:
# nic
#
# Author:
# Mario Flajslik
#
# Description:
# make : Make the nic host driver. Load the driver with "insmod nf10.ko"
#
#
# Copyright notice:
# Copyright (C) 2010, 2011 The Board of Trustees of The Leland Stanford
# Junior University
#
# Licence:
# This file is part of the NetFPGA 10G development base package.
#
# This file is free code: you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License version 2.1 as
# published by the Free Software Foundation.
#
# This package is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with the NetFPGA source package. If not, see
# http://www.gnu.org/licenses/.
#
#
obj-m += nf10.o
nf10-objs += nf10driver.o
nf10-objs += nf10iface.o
nf10-objs += nf10fops.o
nf10-objs += nf10priv.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean