aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/groff/xditview/Makefile
blob: 223d0515e98a4e77789713637e25287ef915d9d1 (plain) (blame)
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
.if exists(/usr/X386/include)
.if exists(/usr/X386/lib)
.if exists(${DESTDIR}/usr/X386/bin)
.if exists(${DESTDIR}/usr/X386/man/man1)
.if exists(${DESTDIR}/usr/X386/lib/X11/app-defaults)

BINDIR=		/usr/X386/bin
MANDIR=		/usr/X386/man/man

PROG=		gxditview
CFLAGS+=	-I/usr/X386/include -DFONTPATH=\"/usr/share/groff_font\"
SRCS+=		xditview.c Dvi.c draw.c font.c lex.c page.c parse.c \
		XFontName.c DviChar.c device.c
LDADD+=		-L/usr/X386/lib -lXaw -lXmu -lXt -lXext -lX11 -lm 

afterinstall:
		install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/GXditview.ad \
			${DESTDIR}/usr/X386/lib/X11/app-defaults/GXditview
.endif
.endif
.endif
.endif
.endif

.include <bsd.prog.mk>