Cross Reference: Makefile
xref: /src/usr.bin/m4/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.bin/m4/
Makefile revision 1.18
11.18Schristos#	$NetBSD: Makefile,v 1.18 2015/01/29 13:20:51 christos Exp $
21.7Sperry#
31.4Sglass#	@(#)Makefile	8.1 (Berkeley) 6/6/93
41.4Sglass
51.4Sglass# -DEXTENDED 
61.4Sglass# 	if you want the paste & spaste macros.
71.15Schristos.include <bsd.own.mk>
81.14Slukem
91.10StvPROG=		m4
101.15SchristosCPPFLAGS+=	-DEXTENDED -I${.CURDIR}/lib
111.18SchristosCPPFLAGS+=	-D_OPENBSD_SOURCE
121.15SchristosSRCS=	parser.y tokenizer.l eval.c expr.c look.c main.c misc.c gnum4.c trace.c
131.15Schristos.PATH: ${.CURDIR}/lib
141.15SchristosSRCS+=	ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \
151.15Schristos	ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \
161.15Schristos	ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \
171.18Schristos	ohash_qlookupi.c
181.15SchristosYHEADER=1
191.13Slukem.if (${HOSTPROG:U} == "")
201.15SchristosDPADD+=		${LIBUTIL} ${LIBL}
211.15SchristosLDADD+=		-lutil -ll
221.13Slukem.endif
231.13Slukem
241.15Schristostokenizer.o: parser.h
251.15Schristos
261.15SchristosCLEANFILES+=parser.c parser.h tokenizer.o
271.15Schristos
281.1Scgd.include <bsd.prog.mk>
29

Indexes created Tue Jan 13 23:09:28 GMT 2026