39 lines
737 B
Makefile
39 lines
737 B
Makefile
# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
|
|
# $NetBSD: Makefile.dev,v 1.20 1998/02/09 04:22:14 lukem Exp $
|
|
|
|
# Client Makefiles define DEVICE and FONTFILES and provide rules for
|
|
# individual font files
|
|
|
|
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
|
|
|
|
all: $(FONTFILES)
|
|
|
|
.if !target(clean)
|
|
clean cleandir:
|
|
-rm -f $(FONTFILES)
|
|
.else
|
|
COPY= -c
|
|
.endif
|
|
|
|
.if !target(install)
|
|
FILES=${FONTFILES}
|
|
FILESDIR=${DEVICEDIR}
|
|
GENFILES=${FONTFILES:Mgenerate/*}
|
|
.for i in ${GENFILES}
|
|
FILESDIR_$i=${DEVICEDIR}/generate
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|