mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-25 16:13:17 +00:00
Simpler way to handling the names needed on the various platforms.
This commit is contained in:
parent
b72c70af4c
commit
da2af9ad11
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91758
@ -3,13 +3,8 @@
|
||||
AWKSRC= ${.CURDIR}/../../contrib/one-true-awk
|
||||
.PATH: ${AWKSRC}
|
||||
|
||||
.if ${MACHINE_ARCH} == "sparc64"
|
||||
PROG= awk
|
||||
.else
|
||||
PROG= nawk
|
||||
.endif
|
||||
SRCS= b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.c ytab.h
|
||||
MAN1= ${PROG}.1
|
||||
|
||||
# Important for ctype macros!
|
||||
CFLAGS+= -funsigned-char
|
||||
@ -18,8 +13,10 @@ CFLAGS+= -I. -I${AWKSRC}
|
||||
DPADD+= ${LIBM}
|
||||
LDADD+= -lm
|
||||
|
||||
#LINKS+= ${BINDIR}/awk ${BINDIR}/nawk
|
||||
#MLINKS+= awk.1 nawk.1
|
||||
.if ${MACHINE_ARCH} == "sparc64"
|
||||
LINKS+= ${BINDIR}/nawk ${BINDIR}/awk
|
||||
MLINKS+= nawk.1 awk.1
|
||||
.endif
|
||||
|
||||
CLEANFILES+= maketab proctab.c ytab.c ytab.h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user