mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
24 lines
345 B
Makefile
24 lines
345 B
Makefile
# Makefile for apmd
|
|
# $FreeBSD$
|
|
|
|
PROG= apmd
|
|
SHSRCS= apmd.c apmdparse.y apmdlex.l
|
|
GENSRCS=
|
|
GENHDRS= y.tab.h
|
|
SRCS= ${SHSRCS} ${GENSRCS} ${GENHDRS}
|
|
|
|
DPADD+= ${LIBL}
|
|
LDADD+= -ll
|
|
|
|
MAN8= apmd.8
|
|
|
|
YFLAGS+=-v
|
|
CFLAGS+=-I. -I${.CURDIR} -Wall #-DYY_STACK_USED
|
|
# for debug:
|
|
#CFLAGS+= -g -DDEBUG
|
|
|
|
test:
|
|
./apmd -d -f etc/apmd.conf -n
|
|
|
|
.include <bsd.prog.mk>
|