Makefile (9199c09a159c4e3e98c212d4eec1edc5252d9e33) Makefile (d50a71bdd882717df3f41dadd84ffc28f3466a1a)
1# $FreeBSD$
1# Makefile for apmd
2# $Id: Makefile,v 1.1.3.2 1999/06/08 09:01:47 koie Exp $
2
3PROG= apmd
3
4PROG= apmd
4MAN= apmd.8
5MANSUBDIR= /i386
6SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h
5SHSRCS= apmd.c apmdparse.y apmdlex.l
6GENSRCS=
7GENHDRS= y.tab.h
8SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS}
7
9
8WARNS?= 0
10DPADD+= ${LIBL}
11LDADD+= -ll
9
12
10DPADD= ${LIBL}
11LDADD= -ll
13MAN8= apmd.8
12
13YFLAGS+=-v
14
15YFLAGS+=-v
14CFLAGS+=-I. -I${.CURDIR} #-DYY_STACK_USED
16CFLAGS+=-I. -I${.CURDIR} -Wall #-DYY_STACK_USED
15# for debug:
16#CFLAGS+= -g -DDEBUG
17
17# for debug:
18#CFLAGS+= -g -DDEBUG
19
18CLEANFILES= y.output
19
20test:
21 ./apmd -d -f etc/apmd.conf -n
22
23.include <bsd.prog.mk>
20test:
21 ./apmd -d -f etc/apmd.conf -n
22
23.include <bsd.prog.mk>