# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91 # $NetBSD: Makefile.dev,v 1.25 1999/02/14 13:17:13 lukem Exp $ # Client Makefiles define DEVICE and FONTFILES and provide rules for # individual font files .include 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" all: $(FONTFILES) .else all: .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