blob: 1403f43205cabff70582268e48f000f24f700fb3 [file] [log] [blame]
jjako52c24142002-12-16 13:33:51 +00001# Generated automatically from Makefile.in by configure.
2# Makefile.in generated automatically by automake 1.4 from Makefile.am
3
4# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14
15SHELL = /bin/sh
16
17srcdir = .
18top_srcdir = ..
19prefix = /usr/local
20exec_prefix = ${prefix}
21
22bindir = ${exec_prefix}/bin
23sbindir = ${exec_prefix}/sbin
24libexecdir = ${exec_prefix}/libexec
25datadir = ${prefix}/share
26sysconfdir = ${prefix}/etc
27sharedstatedir = ${prefix}/com
28localstatedir = ${prefix}/var
29libdir = ${exec_prefix}/lib
30infodir = ${prefix}/info
31mandir = ${prefix}/man
32includedir = ${prefix}/include
33oldincludedir = /usr/include
34
35DESTDIR =
36
37pkgdatadir = $(datadir)/OpenGGSN
38pkglibdir = $(libdir)/OpenGGSN
39pkgincludedir = $(includedir)/OpenGGSN
40
41top_builddir = ..
42
43ACLOCAL = aclocal
44AUTOCONF = autoconf
45AUTOMAKE = automake
46AUTOHEADER = autoheader
47
48INSTALL = /usr/bin/install -c
49INSTALL_PROGRAM = ${INSTALL} $(AM_INSTALL_PROGRAM_FLAGS)
50INSTALL_DATA = ${INSTALL} -m 644
51INSTALL_SCRIPT = ${INSTALL_PROGRAM}
52transform = s,x,x,
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60host_alias = i686-pc-linux
61host_triplet = i686-pc-linux-gnu
62AS = @AS@
63AWK = gawk
64CC = gcc
65DLLTOOL = @DLLTOOL@
66LIBTOOL = $(SHELL) $(top_builddir)/libtool
67LN_S = ln -s
68MAKEINFO = makeinfo
69OBJDUMP = @OBJDUMP@
70PACKAGE = OpenGGSN
71RANLIB = ranlib
72VERSION = 0.5
73
74bin_PROGRAMS = ggsn
75
76CFLAGS = -O2 -fno-builtin -Wall -ansi -DSBINDIR='"$(sbindir)"' -lgtp
77
78ggsn_SOURCES = ggsn.c tun.c tun.h cmdline.c cmdline.h
79mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
80CONFIG_CLEAN_FILES =
81PROGRAMS = $(bin_PROGRAMS)
82
83
84DEFS = -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOUL=1 -DPACKAGE=\"OpenGGSN\" -DVERSION=\"0.5\" -I. -I$(srcdir)
85CPPFLAGS =
86LDFLAGS =
87LIBS =
88ggsn_OBJECTS = ggsn.o tun.o cmdline.o
89ggsn_LDADD = $(LDADD)
90ggsn_DEPENDENCIES =
91ggsn_LDFLAGS =
92COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
93LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
94CCLD = $(CC)
95LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
96DIST_COMMON = Makefile.am Makefile.in
97
98
99DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
100
101TAR = gtar
102GZIP_ENV = --best
103DEP_FILES = .deps/cmdline.P .deps/ggsn.P .deps/tun.P
104SOURCES = $(ggsn_SOURCES)
105OBJECTS = $(ggsn_OBJECTS)
106
107all: all-redirect
108.SUFFIXES:
109.SUFFIXES: .S .c .lo .o .s
110$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
111 cd $(top_srcdir) && $(AUTOMAKE) --gnu ggsn/Makefile
112
113Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
114 cd $(top_builddir) \
115 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
116
117
118mostlyclean-binPROGRAMS:
119
120clean-binPROGRAMS:
121 -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
122
123distclean-binPROGRAMS:
124
125maintainer-clean-binPROGRAMS:
126
127install-binPROGRAMS: $(bin_PROGRAMS)
128 @$(NORMAL_INSTALL)
129 $(mkinstalldirs) $(DESTDIR)$(bindir)
130 @list='$(bin_PROGRAMS)'; for p in $$list; do \
131 if test -f $$p; then \
132 echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
133 $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
134 else :; fi; \
135 done
136
137uninstall-binPROGRAMS:
138 @$(NORMAL_UNINSTALL)
139 list='$(bin_PROGRAMS)'; for p in $$list; do \
140 rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
141 done
142
143.s.o:
144 $(COMPILE) -c $<
145
146.S.o:
147 $(COMPILE) -c $<
148
149mostlyclean-compile:
150 -rm -f *.o core *.core
151
152clean-compile:
153
154distclean-compile:
155 -rm -f *.tab.c
156
157maintainer-clean-compile:
158
159.s.lo:
160 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
161
162.S.lo:
163 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
164
165mostlyclean-libtool:
166 -rm -f *.lo
167
168clean-libtool:
169 -rm -rf .libs _libs
170
171distclean-libtool:
172
173maintainer-clean-libtool:
174
175ggsn: $(ggsn_OBJECTS) $(ggsn_DEPENDENCIES)
176 @rm -f ggsn
177 $(LINK) $(ggsn_LDFLAGS) $(ggsn_OBJECTS) $(ggsn_LDADD) $(LIBS)
178
179tags: TAGS
180
181ID: $(HEADERS) $(SOURCES) $(LISP)
182 list='$(SOURCES) $(HEADERS)'; \
183 unique=`for i in $$list; do echo $$i; done | \
184 awk ' { files[$$0] = 1; } \
185 END { for (i in files) print i; }'`; \
186 here=`pwd` && cd $(srcdir) \
187 && mkid -f$$here/ID $$unique $(LISP)
188
189TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
190 tags=; \
191 here=`pwd`; \
192 list='$(SOURCES) $(HEADERS)'; \
193 unique=`for i in $$list; do echo $$i; done | \
194 awk ' { files[$$0] = 1; } \
195 END { for (i in files) print i; }'`; \
196 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
197 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
198
199mostlyclean-tags:
200
201clean-tags:
202
203distclean-tags:
204 -rm -f TAGS ID
205
206maintainer-clean-tags:
207
208distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
209
210subdir = ggsn
211
212distdir: $(DISTFILES)
213 here=`cd $(top_builddir) && pwd`; \
214 top_distdir=`cd $(top_distdir) && pwd`; \
215 distdir=`cd $(distdir) && pwd`; \
216 cd $(top_srcdir) \
217 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu ggsn/Makefile
218 @for file in $(DISTFILES); do \
219 d=$(srcdir); \
220 if test -d $$d/$$file; then \
221 cp -pr $$d/$$file $(distdir)/$$file; \
222 else \
223 test -f $(distdir)/$$file \
224 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
225 || cp -p $$d/$$file $(distdir)/$$file || :; \
226 fi; \
227 done
228
229DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
230
231-include $(DEP_FILES)
232
233mostlyclean-depend:
234
235clean-depend:
236
237distclean-depend:
238 -rm -rf .deps
239
240maintainer-clean-depend:
241
242%.o: %.c
243 @echo '$(COMPILE) -c $<'; \
244 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
245 @-cp .deps/$(*F).pp .deps/$(*F).P; \
246 tr ' ' '\012' < .deps/$(*F).pp \
247 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
248 >> .deps/$(*F).P; \
249 rm .deps/$(*F).pp
250
251%.lo: %.c
252 @echo '$(LTCOMPILE) -c $<'; \
253 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
254 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
255 < .deps/$(*F).pp > .deps/$(*F).P; \
256 tr ' ' '\012' < .deps/$(*F).pp \
257 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
258 >> .deps/$(*F).P; \
259 rm -f .deps/$(*F).pp
260info-am:
261info: info-am
262dvi-am:
263dvi: dvi-am
264check-am: all-am
265check: check-am
266installcheck-am:
267installcheck: installcheck-am
268install-exec-am: install-binPROGRAMS
269install-exec: install-exec-am
270
271install-data-am:
272install-data: install-data-am
273
274install-am: all-am
275 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
276install: install-am
277uninstall-am: uninstall-binPROGRAMS
278uninstall: uninstall-am
279all-am: Makefile $(PROGRAMS)
280all-redirect: all-am
281install-strip:
282 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
283installdirs:
284 $(mkinstalldirs) $(DESTDIR)$(bindir)
285
286
287mostlyclean-generic:
288
289clean-generic:
290
291distclean-generic:
292 -rm -f Makefile $(CONFIG_CLEAN_FILES)
293 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
294
295maintainer-clean-generic:
296mostlyclean-am: mostlyclean-binPROGRAMS mostlyclean-compile \
297 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
298 mostlyclean-generic
299
300mostlyclean: mostlyclean-am
301
302clean-am: clean-binPROGRAMS clean-compile clean-libtool clean-tags \
303 clean-depend clean-generic mostlyclean-am
304
305clean: clean-am
306
307distclean-am: distclean-binPROGRAMS distclean-compile distclean-libtool \
308 distclean-tags distclean-depend distclean-generic \
309 clean-am
310 -rm -f libtool
311
312distclean: distclean-am
313
314maintainer-clean-am: maintainer-clean-binPROGRAMS \
315 maintainer-clean-compile maintainer-clean-libtool \
316 maintainer-clean-tags maintainer-clean-depend \
317 maintainer-clean-generic distclean-am
318 @echo "This command is intended for maintainers to use;"
319 @echo "it deletes files that may require special tools to rebuild."
320
321maintainer-clean: maintainer-clean-am
322
323.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
324maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
325mostlyclean-compile distclean-compile clean-compile \
326maintainer-clean-compile mostlyclean-libtool distclean-libtool \
327clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
328distclean-tags clean-tags maintainer-clean-tags distdir \
329mostlyclean-depend distclean-depend clean-depend \
330maintainer-clean-depend info-am info dvi-am dvi check check-am \
331installcheck-am installcheck install-exec-am install-exec \
332install-data-am install-data install-am install uninstall-am uninstall \
333all-redirect all-am all installdirs mostlyclean-generic \
334distclean-generic clean-generic maintainer-clean-generic clean \
335mostlyclean distclean maintainer-clean
336
337
338cmdline.c: cmdline.ggo
339 gengetopt < cmdline.ggo --unamed-opts
340
341# Tell versions [3.59,3.63) of GNU make to not export all variables.
342# Otherwise a system limit (for SysV at least) may be exceeded.
343.NOEXPORT: