Autotools: add libusb-1.0.def and libusb_nano.h as dependencies
authorPete Batard <pete@akeo.ie>
Mon, 11 Jun 2012 13:12:56 +0000 (14:12 +0100)
committerPete Batard <pete@akeo.ie>
Mon, 11 Jun 2012 13:26:51 +0000 (14:26 +0100)
* Also add version_nano.h to EXTRA_DIST as it is not added to the
  dist archive by default

Makefile.am
libusb/Makefile.am
libusb/version_nano.h

index 4f9ae65..c71c5c6 100644 (file)
@@ -1,7 +1,7 @@
 AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip
 ACLOCAL_AMFLAGS = -I m4
 DISTCLEANFILES = libusb-1.0.pc
-EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def
+EXTRA_DIST = TODO PORTING msvc libusb/libusb-1.0.def libusb/version_nano.h
 SUBDIRS = libusb doc
 
 if BUILD_EXAMPLES
index 4a6859e..44d3efe 100644 (file)
@@ -29,10 +29,10 @@ OS_SRC = $(WINDOWS_USB_SRC)
 .rc.lo:
        $(AM_V_GEN)$(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --tag=RC --mode=compile $(RC) $(RCFLAGS) -i $< -o $@
 
-libusb-1.0.rc: version.h
+libusb-1.0.rc: version.h version_nano.h
 endif
 
-libusb-1.0.dll:
+libusb-1.0.dll: libusb-1.0.def
 if CREATE_IMPORT_LIB
 # Rebuild the import lib from the .def so that MS and MinGW DLLs can be interchanged
        $(AM_V_GEN)$(DLLTOOL) $(DLLTOOLFLAGS) --kill-at --input-def $(srcdir)/libusb-1.0.def --dllname $@ --output-lib .libs/$@.a
index 2e047f4..cd5ff62 100644 (file)
@@ -1 +1 @@
-#define LIBUSB_NANO 10526
+#define LIBUSB_NANO 10527