NetBSD/gnu/usr.bin/groff/devices/Makefile.dev

45 lines
823 B
Makefile

# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
# $NetBSD: Makefile.dev,v 1.26 2000/01/23 22:17:10 mycroft Exp $
# Client Makefiles define DEVICE and FONTFILES and provide rules for
# individual font files
.include <bsd.own.mk>
DEVICES_=no_libraries
.include "../Makefile.cfg"
# XXX -- this depends on ../include/defs.h
FONTDIR= /usr/share/groff_font
DEVICEDIR?= $(FONTDIR)/dev$(DEVICE)
FONTOWN?= ${FILESOWN}
FONTGRP?= ${FILESGRP}
FONTMODE?= ${FILESMODE}
.MAIN: all
.if ${MKSHARE} != "no"
realall: $(FONTFILES)
.else
realall:
.endif
.if !target(clean)
clean cleandir distclean:
-rm -f $(FONTFILES)
.else
COPY= -c
.endif
.if ${MKSHARE} != "no"
FILES=${FONTFILES}
FILESDIR=${DEVICEDIR}
GENFILES=${FONTFILES:Mgenerate/*}
.for i in ${GENFILES}
FILESDIR_$i=${DEVICEDIR}/generate
.endfor
.endif
.include <bsd.prog.mk>