]> mj.ucw.cz Git - pciutils.git/blobdiff - Makefile
Fixed building on Cygwin.
[pciutils.git] / Makefile
index c3086e5253321c53e5aeb2bb409ce63da38c7bf4..67acf88a7b6c099226ecf28960a128d10eb60d61 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,13 @@
 OPT=-O2
 CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes
 
-VERSION=2.99.1-alpha1
-DATE=2008-02-18
+VERSION=3.0.2
+DATE=2008-09-19
 
 # Host OS and release (override if you are cross-compiling)
 HOST=
 RELEASE=
+CROSS_COMPILE=
 
 # Support for compressed pci.ids (yes/no, default: detect)
 ZLIB=
@@ -21,7 +22,7 @@ DNS=
 SHARED=no
 
 # ABI version suffix in the name of the shared library
-ABI_VERSION=.2.99
+ABI_VERSION=.3
 
 # Installation directories
 PREFIX=/usr/local
@@ -37,8 +38,9 @@ PKGCFDIR=$(LIBDIR)/pkgconfig
 INSTALL=install
 DIRINSTALL=install -d
 STRIP=-s
-AR=ar
-RANLIB=ranlib
+CC=$(CROSS_COMPILE)gcc
+AR=$(CROSS_COMPILE)ar
+RANLIB=$(CROSS_COMPILE)ranlib
 
 # Base name of the library (overriden on NetBSD, which has its own libpci)
 LIBNAME=libpci