blob: 91bfcf3b3224b880c70ab7344549a2221ced864a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $FreeBSD$
PROG= gxditview
SRCS= device.c draw.c Dvi.c font.c lex.c page.c parse.c xditview.c
DPADD= ${LIBM}
LDADD= -lm
CLEANFILES= ${MAN}
GENHDRS= GXditview-ad.h
SRCS+= ${GENHDRS}
CFLAGS+= -I.
CLEANFILES+= ${GENHDRS}
GXditview-ad.h: GXditview.ad
${SHELL} ${DIST_DIR}/ad2c ${.ALLSRC} >${.TARGET}
# libxutil
SRCS+= DviChar.c XFontName.c xmalloc.c
# X11 glue
CFLAGS+= -I${X11BASE}/include
LDFLAGS= -L${X11BASE}/lib
DPADD+= ${X11BASE}/lib/libXaw.a
LDADD+= -lXaw
BINDIR= ${X11BASE}/bin
MANDIR= ${X11BASE}/man/man
FILESDIR= ${X11BASE}/lib/X11/app-defaults
FILES= GXditview.ad
FILESNAME= GXditview
.include <bsd.prog.mk>
.PATH: ${GROFF_DIST}/src/libs/libxutil
|