2014-10-17 09:58:05 +00:00
|
|
|
srcdir := $(top_srcdir)/tools/usb/usbip
|
2012-06-20 06:04:10 +00:00
|
|
|
|
|
|
|
# Make sure we don't override top_srcdir in the sub-make. 'unexport
|
|
|
|
# top_srcdir' is *not* sufficient; nor is adding 'MAKEFLAGS=' to the
|
|
|
|
# sub-make command line.
|
|
|
|
unexport MAKEFLAGS
|
|
|
|
|
|
|
|
all:
|
|
|
|
cd $(srcdir) && ./autogen.sh
|
2015-09-25 19:18:12 +00:00
|
|
|
$(shell dpkg-buildflags --export=cmdline) $(srcdir)/configure \
|
2012-06-20 06:04:10 +00:00
|
|
|
--prefix=/usr \
|
2012-06-24 01:51:39 +00:00
|
|
|
--with-tcp-wrappers \
|
2012-06-20 06:04:10 +00:00
|
|
|
--with-usbids-dir=/usr/share/misc \
|
|
|
|
--disable-shared
|
2016-02-19 20:05:58 +00:00
|
|
|
$(MAKE)
|
2012-06-20 06:04:10 +00:00
|
|
|
|
|
|
|
install:
|
2016-02-19 20:05:58 +00:00
|
|
|
$(MAKE) install
|
2012-06-20 06:04:10 +00:00
|
|
|
|
|
|
|
clean:
|
2014-02-22 23:38:24 +00:00
|
|
|
rm -rf $(addprefix $(srcdir)/,autom4te.cache aclocal.m4 compile config.guess config.h.in config.sub configure depcomp install-sh ltmain.sh missing)
|
2012-06-20 06:04:10 +00:00
|
|
|
find $(srcdir)/ -name Makefile.in -delete
|