Debian Codegraph @

debian/rules.d/tools/usb/usbip/Makefile

raw symbols SCIP
1 srcdir := $(top_srcdir)/tools/usb/usbip
2
3 # Make sure we don't override top_srcdir in the sub-make. 'unexport
4 # top_srcdir' is *not* sufficient; nor is adding 'MAKEFLAGS=' to the
5 # sub-make command line.
6 unexport MAKEFLAGS
7
8 all: export CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
9 all: export CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) \
10 -isystem $(top_srcdir)/debian/build/build-tools/include
11 all: export LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
12 all:
13 rsync -a $(srcdir)/ .
14 ./autogen.sh
15 ./configure \
16 --prefix=/usr \
17 --with-tcp-wrappers \
18 --with-usbids-dir=/usr/share/misc \
19 --disable-shared \
20 --disable-static \
21 --host=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
22 $(MAKE) V=1
23
24 install:
25 $(MAKE) V=1 install
26 ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
27 rm -rf $(DESTDIR)/usr/share/man
28 endif