tools/tcp_stream: Set message size on both send and receive sides
[dragonfly.git] / usr.bin / m4 / Makefile
blob8cc7535ffb3dccc748ece4add5f5f682bf213a3a
1 # $OpenBSD: Makefile,v 1.10 2002/04/26 13:13:41 espie Exp $
2 # $FreeBSD: src/usr.bin/m4/Makefile,v 1.14 2013/01/01 18:26:42 svnexp Exp $
4 # -DEXTENDED
5 # if you want the paste & spaste macros.
7 PROG= m4
8 CFLAGS+=-DEXTENDED -I${.CURDIR} -I${.CURDIR}/lib -I.
9 DPADD= ${LIBY} ${LIBL} ${LIBM}
10 LDADD= -ly -ll -lm
12 # m4 depends on lex which depends on m4. Jeeze, gimme a break! To break
13 # this loop we manually lex tokenizer.l and installed it in the source
14 # tree as manual_tokenizer.c. Now we can build m4 without needing lex.
16 # To regenerate manual_tokenizer.c rename manual_tokenizer.c to tokenizer.l
17 # and manual_tokenizer.o to tokenizer.o, build, copy tokenizer.c from the
18 # obj dir to manual_tokenizer.c here, and then adjust the Makefile back to
19 # using manual_tokenizer.c.
21 # A pox on whatever idiots who thought making lex depend on m4 was a good
22 # idea. m4 is such a piece of crap, nobody should be using it anymore.
24 SRCS= eval.c expr.c look.c main.c misc.c gnum4.c trace.c parser.y
25 SRCS+= manual_tokenizer.c
26 .PATH: ${.CURDIR}/lib
27 SRCS+= ohash_create_entry.c ohash_delete.c ohash_do.c ohash_entries.c \
28 ohash_enum.c ohash_init.c ohash_int.h ohash_interval.c \
29 ohash_lookup_interval.c ohash_lookup_memory.c ohash_qlookup.c \
30 ohash_qlookupi.c
32 manual_tokenizer.o: parser.h
34 CLEANFILES+= parser.c parser.h manual_tokenizer.o
36 .include <bsd.prog.mk>