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

File: [local] / src / usr.bin / sudo / lib / Attic / Makefile (download)

Revision 1.4, Fri Nov 14 11:58:08 2008 UTC (15 years, 6 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.3: +17 -12 lines

Upgrade to sudo 1.7.  See the WHATSNEW files for details.

#	$OpenBSD: Makefile,v 1.4 2008/11/14 11:58:08 millert Exp $

.PATH:		${.CURDIR}/..

LIB=	sudo
SRCS=	alias.c alloc.c defaults.c error.c fileops.c find_path.c gettime.c \
	goodpath.c list.c match.c redblack.c toke.c gram.c zero_bytes.c
CPPFLAGS+=	-I..

CLEANFILES=	gram.c gram.h toke.c

DEBUGLIBS= no
NOPROFILE= yes

.include <bsd.own.mk>
.if !defined(NOPIC)
CPPFLAGS+= -D_PATH_SUDO_NOEXEC=\"/usr/libexec/sudo_noexec.so\"
NOPIC=	yes
.endif

gram.c gram.h: gram.y
	rm -f gram.c gram.h
	${YACC} -d ${.CURDIR}/../gram.y
	mv -f y.tab.c gram.c
	if cmp -s y.tab.h ../gram.h; then rm -f y.tab.h; else mv -f y.tab.h ../gram.h; fi

toke.c: toke.l
	rm -f toke.c
	${LEX} ${.CURDIR}/../toke.l
	mv -f lex.yy.c toke.c

install:
	@echo -n

beforedepend: gram.c toke.c

.include <bsd.lib.mk>