1 --- a/src/qgen/Makefile.am
2 +++ b/src/qgen/Makefile.am
3 @@ -2,7 +2,7 @@ noinst_PROGRAMS = qgen
5 qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
6 qgen.h second.c third.c
11 CFLAGS = @CFLAGS_FOR_BUILD@
12 --- a/src/qgen/Makefile.in
13 +++ b/src/qgen/Makefile.in
14 @@ -58,7 +58,7 @@ depcomp = $(SHELL) $(top_srcdir)/depcomp
15 am__depfiles_maybe = depfiles
17 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
18 - $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
19 + $(AM_CFLAGS) $(CFLAGS)
20 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
21 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
22 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
23 @@ -208,7 +208,7 @@ top_srcdir = @top_srcdir@
24 qgen_SOURCES = common.c common.h file.c file.h first.c ql_y.y ql_l.l qgen.c \
25 qgen.h second.c third.c
30 #TESTS = $(check_PROGRAMS)
31 EXTRA_DIST = ql_y.h ql_y.c ql_l.c
32 --- a/src/sigd/Makefile.am
33 +++ b/src/sigd/Makefile.am
34 @@ -8,7 +8,7 @@ atmsigd_XTRAS = mess.o $(top_builddir)/s
35 $(top_builddir)/src/q2931/qd.dump.o \
36 $(top_builddir)/src/lib/libatm.la \
37 $(top_builddir)/src/saal/libsaal.a
38 -atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
39 +atmsigd_LDADD = $(atmsigd_XTRAS)
40 atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
43 --- a/src/sigd/Makefile.in
44 +++ b/src/sigd/Makefile.in
45 @@ -244,7 +244,7 @@ atmsigd_XTRAS = mess.o $(top_builddir)/s
46 $(top_builddir)/src/lib/libatm.la \
47 $(top_builddir)/src/saal/libsaal.a
49 -atmsigd_LDADD = $(atmsigd_XTRAS) -lfl
50 +atmsigd_LDADD = $(atmsigd_XTRAS)
51 atmsigd_DEPENDENCIES = mess.c $(atmsigd_XTRAS)
53 sysconf_DATA = atmsigd.conf
54 --- a/src/switch/debug/debug.c
55 +++ b/src/switch/debug/debug.c
58 #define PRV(call) ((FAB *) (call)->fab)
67 CALL *next; /* relay.c may not keep track of calls, but WE are */
68 --- a/src/switch/debug/Makefile.am
69 +++ b/src/switch/debug/Makefile.am
70 @@ -5,7 +5,7 @@ INCLUDES = -I$(srcdir)/../../q2931
71 sw_debug_SOURCES = debug.c
72 sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
73 $(top_builddir)/src/lib/libatm.la
74 -sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
75 +sw_debug_LDADD = $(sw_debug_XTRAS)
77 sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
79 --- a/src/switch/debug/Makefile.in
80 +++ b/src/switch/debug/Makefile.in
81 @@ -199,7 +199,8 @@ sw_debug_SOURCES = debug.c
82 sw_debug_XTRAS = $(top_builddir)/src/switch/libsw.a \
83 $(top_builddir)/src/lib/libatm.la
85 -sw_debug_LDADD = $(sw_debug_XTRAS) -lfl
86 +sw_debug_LDADD = $(sw_debug_XTRAS)
88 sw_debug_DEPENDENCIES = $(sw_debug_XTRAS)
89 EXTRA_DIST = demo README
91 --- a/src/switch/tcp/Makefile.am
92 +++ b/src/switch/tcp/Makefile.am
93 @@ -5,7 +5,7 @@ INCLUDES = -I$(srcdir)/../../q2931
94 sw_tcp_SOURCES = tcpsw.c
95 sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
96 $(top_builddir)/src/lib/libatm.la
97 -sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
98 +sw_tcp_LDADD = $(sw_tcp_XTRAS)
99 sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
101 EXTRA_DIST = mkfiles README
102 --- a/src/switch/tcp/Makefile.in
103 +++ b/src/switch/tcp/Makefile.in
104 @@ -199,7 +199,7 @@ sw_tcp_SOURCES = tcpsw.c
105 sw_tcp_XTRAS = $(top_builddir)/src/switch/libsw.a \
106 $(top_builddir)/src/lib/libatm.la
108 -sw_tcp_LDADD = $(sw_tcp_XTRAS) -lfl
109 +sw_tcp_LDADD = $(sw_tcp_XTRAS)
110 sw_tcp_DEPENDENCIES = $(sw_tcp_XTRAS)
111 EXTRA_DIST = mkfiles README
113 --- a/src/switch/tcp/tcpsw.c
114 +++ b/src/switch/tcp/tcpsw.c
116 #define MAX_PACKET (ATM_MAX_AAL5_PDU+sizeof(struct atmtcp_hdr))
117 #define BUFFER_SIZE (MAX_PACKET*2)
124 typedef struct _table {
125 struct _link *out; /* output port */
126 --- a/src/test/Makefile.am
127 +++ b/src/test/Makefile.am
128 @@ -20,7 +20,7 @@ br_SOURCES = br.c
130 isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
132 -isp_LDADD = $(isp_XTRAS) -lfl
133 +isp_LDADD = $(isp_XTRAS)
134 isp_DEPENDENCIES = $(isp_XTRAS)
135 window_SOURCES = window.c
137 --- a/src/test/Makefile.in
138 +++ b/src/test/Makefile.in
139 @@ -282,7 +282,7 @@ br_SOURCES = br.c
141 isp_SOURCES = isp.c isp.h ispl_y.y ispl_l.l
143 -isp_LDADD = $(isp_XTRAS) -lfl
144 +isp_LDADD = $(isp_XTRAS)
145 isp_DEPENDENCIES = $(isp_XTRAS)
146 window_SOURCES = window.c
147 CLEANFILES = errnos.inc
148 --- a/src/test/ispl_l.l
149 +++ b/src/test/ispl_l.l
159 static int lineno = 1;
162 --- a/src/qgen/ql_l.l
163 +++ b/src/qgen/ql_l.l
173 typedef struct _tree {
174 struct _tree *left,*right;
176 --- a/src/sigd/cfg_l.l
177 +++ b/src/sigd/cfg_l.l
187 static int lineno = 1;
188 static int token; /* f@#%ing flex doesn't grok return after BEGIN */