X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=041fde68aec9cfe910638b840116f720acb24af3;hb=596cc4d213c59e0795e542e1017913904d137ca9;hp=d205202de0072181f12e1043cda6b5ca969eee9d;hpb=a33d0eb7567276d01dfc159541d796b9c7fdcbbb;p=pciutils.git diff --git a/Makefile b/Makefile index d205202..041fde6 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.41 2002/03/30 15:34:22 mj Exp $ +# $Id: Makefile,v 1.43 2002/12/26 19:28:33 mj Exp $ # Makefile for Linux PCI Utilities # (c) 1998--2002 Martin Mares @@ -6,17 +6,22 @@ OPT=-O2 -fomit-frame-pointer #OPT=-O2 -g CFLAGS=$(OPT) -Wall -W -Wno-parentheses -Wstrict-prototypes -VERSION=2.1.9 -#SUFFIX=-pre2 -#SUFFIX=-alpha -DATE=2001-11-04 +VERSION=2.1.11 +SUFFIX=-pre1 +DATE=2002-12-26 INSTALL=install DIRINSTALL=install -d +PCILIB=libpci.a ifeq ($(shell uname),FreeBSD) ROOT=/usr/local PREFIX=/usr/local else +ifeq ($(shell uname),NetBSD) +ROOT=$(PREFIX) +PCILIB=libpciutils.a +LDFLAGS+=-lpci +else ifeq ($(shell uname),AIX) ROOT=/usr/local PREFIX=/usr/local @@ -28,6 +33,7 @@ ROOT=/ PREFIX=/usr endif endif +endif MANDIR=$(shell if [ -d $(PREFIX)/share/man ] ; then echo $(PREFIX)/share/man ; else echo $(PREFIX)/man ; fi) DISTTMP=/tmp/pciutils-dist