aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-10-20 11:10:44 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-10-20 11:10:44 +0000
commit68d4f22195f1641451d573548c878371d73d2e03 (patch)
tree1e48a714b919fa558d782b0be8e05d6d3cf96309 /gnu
parentbb796dbec884a44caccb50439671ede595cbc591 (diff)
Notes
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/groff/src/devices/xditview/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/src/devices/xditview/Makefile b/gnu/usr.bin/groff/src/devices/xditview/Makefile
new file mode 100644
index 000000000000..91bfcf3b3224
--- /dev/null
+++ b/gnu/usr.bin/groff/src/devices/xditview/Makefile
@@ -0,0 +1,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