Cross Reference: Makefile
xref: /src/usr.bin/m4/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.bin/m4/
Makefile revision 1.18
1#	$NetBSD: Makefile,v 1.18 2015/01/29 13:20:51 christos Exp $
2#
3#	@(#)Makefile	8.1 (Berkeley) 6/6/93
4
5# -DEXTENDED 
6# 	if you want the paste & spaste macros.
7.include <bsd.own.mk>
8
9PROG=		m4
10CPPFLAGS+=	-DEXTENDED -I${.CURDIR}/lib
11CPPFLAGS+=	-D_OPENBSD_SOURCE
12SRCS=	parser.y tokenizer.l eval.c expr.c look.c main.c misc.c gnum4.c trace.c
13.PATH: ${.CURDIR}/lib
14SRCS+=	ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \
15	ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \
16	ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \
17	ohash_qlookupi.c
18YHEADER=1
19.if (${HOSTPROG:U} == "")
20DPADD+=		${LIBUTIL} ${LIBL}
21LDADD+=		-lutil -ll
22.endif
23
24tokenizer.o: parser.h
25
26CLEANFILES+=parser.c parser.h tokenizer.o
27
28.include <bsd.prog.mk>
29

Indexes created Tue Dec 16 10:09:24 GMT 2025