~ubuntu-branches/ubuntu/vivid/ndiswrapper/vivid

« back to all changes in this revision

Viewing changes to utils/Makefile

  • Committer: Package Import Robot
  • Author(s): Julian Andres Klode
  • Date: 2012-03-05 16:49:02 UTC
  • mfrom: (1.2.8)
  • Revision ID: package-import@ubuntu.com-20120305164902-rrir76um4yq4eimb
Tags: 1.57-1
* Imported Upstream version 1.57
  - Fixes build with kernel 3.2 (Closes: #655223, LP: #910597)
* Enable hardening build flags (Closes: #655249)
* patches/ndiswrapper-harden.patch: Use $(shell X) instead of `X`
* Update to Policy 3.9.3, copyright-format 1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
DRIVER_DIR ?= ../driver
5
5
 
6
6
CC = gcc
7
 
CFLAGS = -g -Wall -I$(DRIVER_DIR)
 
7
CFLAGS = $(shell dpkg-buildflags --get CFLAGS)
 
8
CFLAGS += -Wall -I$(DRIVER_DIR)
 
9
LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS)
 
10
CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
8
11
 
9
12
DISTFILES=Makefile ndiswrapper loadndisdriver.c ndiswrapper-buginfo
10
13
 
25
28
        install -m 755 loadndisdriver $(DESTDIR)$(sbindir)
26
29
        install -m 755 ndiswrapper $(DESTDIR)$(usrsbindir)
27
30
        install -m 755 ndiswrapper-buginfo $(DESTDIR)$(usrsbindir)
28
 
        @echo
29
 
        @echo "NOTE: Windows driver configuration file format has changed since" \
30
 
              "1.5. You must re-install Windows drivers if they were" \
31
 
              "installed before."
32
31
 
33
32
uninstall:
34
33
        rm -f $(DESTDIR)$(sbindir)/loadndisdriver