From: Paul Mackerras Date: Thu, 26 Sep 1996 06:17:12 +0000 (+0000) Subject: needs to work under gnu make too X-Git-Tag: RELEASE_2_3_6~310 X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=573c1e58a8463fd19f4bfb3c3573427030606118;ds=sidebyside needs to work under gnu make too --- diff --git a/sunos4/Makefile b/sunos4/Makefile index c73fa30..27fad7d 100644 --- a/sunos4/Makefile +++ b/sunos4/Makefile @@ -1,10 +1,9 @@ # # Makefile for STREAMS modules for SunOS 4. # -# $Id: Makefile,v 1.6 1996/09/14 05:11:25 paulus Exp $ +# $Id: Makefile,v 1.7 1996/09/26 06:17:12 paulus Exp $ # -ARCH:sh = /bin/arch -k #CC = gcc LD = /usr/bin/ld # make sure we don't get gnu ld @@ -12,6 +11,7 @@ BINDIR = /usr/local/etc INSTALL = install -o root -g daemon # Defining __$(ARCH)__ is for gcc's broken version of sun/vddrv.h. +ARCH = `/bin/arch -k` DEFINES= -DKERNEL -D_KERNEL -DSUNOS4 -D$(ARCH) -D__$(ARCH)__ \ -DDEBUG -DNO_DLPI -DSNIT_SUPPORT CFLAGS= $(DEFINES) -I.. -O