[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / src / usr.bin / xlint / lint1

File: [local] / src / usr.bin / xlint / lint1 / Attic / Makefile (download)

Revision 1.3, Tue Sep 11 00:06:28 2001 UTC (22 years, 8 months ago) by jason
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1, OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.2: +5 -2 lines

gcc on sparc64 needs -O0 or it barfs

#	$OpenBSD: Makefile,v 1.3 2001/09/11 00:06:28 jason Exp $
#	$NetBSD: Makefile,v 1.3 1995/07/04 01:53:05 cgd Exp $

PROG=	lint1
SRCS=	cgram.c scan.c mem1.c mem.c err.c main1.c decl.c tree.c func.c \
	init.c emit.c emit1.c
NOMAN=
LDADD+=	-ll
DPADD+=	${LIBL}
YFLAGS=	-d
CFLAGS+=-I.
LINTFLAGS=-aehpz
CLEANFILES+=y.tab.h cgram.c scan.c

BINDIR=	/usr/libexec

 XXX: -O causes the gcc to die on the i386, when compiling tree.o
CFLAGS+= -DXXX_BROKEN_GCC
.if (${MACHINE_ARCH} == "sparc64")
CFLAGS+= -O0
.endif

.include <bsd.prog.mk>