~n-muench/ubuntu/precise/open-vm-tools/open-vm-tools.raring-precise.backport

« back to all changes in this revision

Viewing changes to modules/linux/vmxnet3/Makefile.kernel

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-10-23 15:32:00 UTC
  • mfrom: (1.1.2 upstream) (2.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081023153200-gc1bfx89hj35c799
Tags: 2008.10.10-123053-2
* Correcting typo in dh_installinit call.
* Downgrading depends on module-assistant to recommends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
##########################################################
 
3
# Copyright (C) 2008 VMware, Inc. All rights reserved.
 
4
#
 
5
# This program is free software; you can redistribute it and/or modify it
 
6
# under the terms of the GNU General Public License as published by the
 
7
# Free Software Foundation version 2 and no later version.
 
8
#
 
9
# This program is distributed in the hope that it will be useful, but
 
10
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
11
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
12
# for more details.
 
13
#
 
14
# You should have received a copy of the GNU General Public License along
 
15
# with this program; if not, write to the Free Software Foundation, Inc.,
 
16
# 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 
17
#
 
18
##########################################################
 
19
 
 
20
####
 
21
####  VMware vmxnet3 Makefile to be distributed externally
 
22
####
 
23
 
 
24
INCLUDE := -I.
 
25
 
 
26
EXTRA_CFLAGS := $(CC_OPTS) $(INCLUDE)
 
27
 
 
28
EXTRA_CFLAGS += $(call vm_check_build, $(SRCROOT)/autoconf/skblin.c, -DVMW_SKB_LINEARIZE_2618, )
 
29
 
 
30
obj-m += $(DRIVER).o
 
31
 
 
32
clean:
 
33
        rm -rf $(wildcard $(DRIVER).mod.c $(DRIVER).ko .tmp_versions \
 
34
               Module.symvers Modules.symvers Module.markers modules.order \
 
35
               $(foreach dir,./,$(addprefix $(dir),.*.cmd .*.o.flags *.o)))