Home | History | Annotate | Line # | Download | only in m4
      1 #	$NetBSD: Makefile,v 1.19 2015/01/29 19:26:20 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 
      9 PROG=		m4
     10 CPPFLAGS+=	-DEXTENDED -I${.CURDIR}/lib
     11 SRCS=	parser.y tokenizer.l eval.c expr.c look.c main.c misc.c gnum4.c trace.c
     12 .PATH: ${.CURDIR}/lib
     13 SRCS+=	ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \
     14 	ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \
     15 	ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \
     16 	ohash_qlookupi.c
     17 YHEADER=1
     18 .if (${HOSTPROG:U} == "")
     19 DPADD+=		${LIBUTIL} ${LIBL}
     20 LDADD+=		-lutil -ll
     21 .endif
     22 
     23 tokenizer.o: parser.h
     24 
     25 CLEANFILES+=parser.c parser.h tokenizer.o
     26 
     27 .include <bsd.prog.mk>
     28