respect CFLAGS

add cvs tag
This commit is contained in:
wilfried 2001-03-12 16:10:52 +00:00
parent ed2dab33ab
commit dca3042a8f

View File

@ -1,5 +1,6 @@
*** Makefile.orig Fri Oct 21 00:25:31 1994
--- Makefile Fri Oct 21 00:26:55 1994
$OpenBSD: patch-aa,v 1.2 2001/03/12 16:10:52 wilfried Exp $
*** Makefile.orig Tue Oct 27 00:11:04 1992
--- Makefile Mon Mar 12 17:10:17 2001
***************
*** 2,15 ****
# Makefile for the minimal build for an archie Prospero client.
@ -27,7 +28,7 @@
# * If you're on a Stardent, add -43
# * If you're running EP/IX, you may need to add -systype bsd43
# but try it without it first.
! OPTIONS= -O -I.
! OPTIONS= -I.
# For this, DEFINES is usually ok as-is. Try it without any of these
# first; if some stuff fails or shows up undefined, then come back and
@ -44,11 +45,45 @@
# * if your system is lacking strspn(), add -DSTRSPN
# * if you're using the unbundled SparcCompiler on a
# Solaris 2 system, add -DSOLARIS2
! DEFINES= -DDEBUG -DNOREGEX
! DEFINES= -DNOREGEX
# The default Archie server; choose one of:
# archie.ans.net (USA [NY])
***************
*** 53,59 ****
# you defined ARCHIE_HOST as), you need to add `-lresolv'.
#
# * If you need the PW library (e.g. A/UX), add -lPW
! LDFLAGS=
# If you're using ISC, use:
#LDFLAGS= -linet
# If you're using Wallongong TCP/IP on an AT&T box, use:
--- 53,59 ----
# you defined ARCHIE_HOST as), you need to add `-lresolv'.
#
# * If you need the PW library (e.g. A/UX), add -lPW
! #LDFLAGS=
# If you're using ISC, use:
#LDFLAGS= -linet
# If you're using Wallongong TCP/IP on an AT&T box, use:
***************
*** 73,79 ****
# Yer' done....make archie.
# =========================
#
! CFLAGS=$(OPTIONS) $(DEFINES) -DARCHIE_HOST=\"$(ARCHIE)\"
VERSION=1.4.1
VMS_VERSION=`echo $(VERSION) | sed -e 's,\\.,_,g'`
--- 73,79 ----
# Yer' done....make archie.
# =========================
#
! CFLAGS+=$(OPTIONS) $(DEFINES) -DARCHIE_HOST=\"$(ARCHIE)\"
VERSION=1.4.1
VMS_VERSION=`echo $(VERSION) | sed -e 's,\\.,_,g'`
***************
*** 84,89 ****
--- 84,93 ----
vlalloc.o vl_comp.o
@ -56,8 +91,8 @@
all: archie
+
+ install:
+ install -c -s archie ${PREFIX}/bin/archie
+ install -c archie.man ${PREFIX}/man/man1/archie.1
+ ${BSD_INSTALL_PROGRAM} archie ${PREFIX}/bin/
+ ${BSD_INSTALL_MAN} archie.man ${PREFIX}/man/man1/archie.1
archie: $(OBJS)
$(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS)