X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=sunos4%2FMakefile;fp=sunos4%2FMakefile;h=27fad7d609af2e31a0c940d066477f3e394220ed;hp=c73fa30bce082a618215fe968d0ccb22af1da68d;hb=573c1e58a8463fd19f4bfb3c3573427030606118;hpb=2521ca94620dfd5d3864a6f68a171a8be83d5b8e 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