1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile.dev 6.2 (Berkeley) 3/16/91
|
1998-02-09 07:22:14 +03:00
|
|
|
# $NetBSD: Makefile.dev,v 1.20 1998/02/09 04:22:14 lukem Exp $
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
# Client Makefiles define DEVICE and FONTFILES and provide rules for
|
|
|
|
# individual font files
|
|
|
|
|
1993-12-30 03:10:17 +03:00
|
|
|
DEVICES_=no_libraries
|
1997-05-09 08:53:38 +04:00
|
|
|
.include "../Makefile.cfg"
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1993-07-16 21:11:36 +04:00
|
|
|
# XXX -- this depends on ../include/defs.h
|
|
|
|
FONTDIR= /usr/share/groff_font
|
|
|
|
|
1997-03-27 12:52:03 +03:00
|
|
|
DEVICEDIR?= $(FONTDIR)/dev$(DEVICE)
|
1998-02-09 07:22:14 +03:00
|
|
|
FONTOWN?= ${FILESOWN}
|
|
|
|
FONTGRP?= ${FILESGRP}
|
|
|
|
FONTMODE?= ${FILESMODE}
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.MAIN: all
|
|
|
|
|
|
|
|
all: $(FONTFILES)
|
|
|
|
|
|
|
|
.if !target(clean)
|
1993-07-17 15:58:38 +04:00
|
|
|
clean cleandir:
|
1993-07-15 00:39:14 +04:00
|
|
|
-rm -f $(FONTFILES)
|
1993-07-18 23:44:28 +04:00
|
|
|
.else
|
|
|
|
COPY= -c
|
1993-07-15 00:39:14 +04:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
.if !target(install)
|
1997-03-25 01:02:40 +03:00
|
|
|
FILES=${FONTFILES}
|
|
|
|
FILESDIR=${DEVICEDIR}
|
|
|
|
GENFILES=${FONTFILES:Mgenerate/*}
|
|
|
|
.for i in ${GENFILES}
|
|
|
|
FILESDIR_$i=${DEVICEDIR}/generate
|
|
|
|
.endfor
|
1993-03-21 12:45:37 +03:00
|
|
|
.endif
|
1993-07-17 15:58:38 +04:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|