1# 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
14include ../.config
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)/ez-ipupdate
38pkglibdir = $(libdir)/ez-ipupdate
39pkgincludedir = $(includedir)/ez-ipupdate
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-gnu
61host_triplet = i686-pc-linux-gnu
62#CC = gcc
63#CPP = gcc -E
64EXTRAOBJ = 
65EXTRASRC = 
66MAKEINFO = makeinfo
67PACKAGE = ez-ipupdate
68VERSION = 3.0.11b7
69
70bin_PROGRAMS = ez-ipupdate
71ez_ipupdate_SOURCES = ez-ipupdate.c conf_file.c conf_file.h md5.c md5.h cache_file.c cache_file.h error.h pid_file.c pid_file.h dprintf.h 
72ez_ipupdate_LDADD = 
73
74EXTRA_DIST = getpass.c ez-ipupdate.lsm example.conf example-pgpow.conf example-dhs.conf example-dnsomatic.conf example-dyndns.conf example-ods.conf example-tzo.conf example-gnudip.conf example-easydns.conf example-justlinux.conf example-dyns.conf CHANGELOG mkbinary example-heipv6tb.conf
75
76AUTOMAKE_OPTIONS = foreign
77ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
78mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
79CONFIG_HEADER = config.h
80CONFIG_CLEAN_FILES = 
81PROGRAMS =  $(bin_PROGRAMS)
82
83#2007.03.14 Yau add
84MD5_CHECK = md5_check
85
86DEFS = -DHAVE_CONFIG_H -I. -I$(srcdir) -I.
87CPPFLAGS = 
88#LDFLAGS = 
89LIBS = $(LDLIBS)
90
91ez_ipupdate_OBJECTS =  ez-ipupdate.o conf_file.o md5.o cache_file.o \
92pid_file.o
93
94ez_ipupdate_DEPENDENCIES = 
95ez_ipupdate_LDFLAGS = 
96#CFLAGS = -g -O2
97
98# 2007.03.14 Yau add for ASUS DDNS
99ez_ipupdate_OBJECTS += asus_ddns.o
100CFLAGS += -I$(SRCBASE)/include -I$(TOP)/shared -DASUS_DDNS -DHAVE_STRING_H -D_LIBC
101LDFLAGS += -L$(TOP)/shared -lshared -L$(TOP)/nvram${BCMEX} -lnvram 
102#end of Yau add
103ifeq ($(RTCONFIG_BCMARM),y)
104LDFLAGS += -lgcc_s
105endif
106ifeq ($(RTCONFIG_QTN),y)
107CFLAGS += -I$(TOP)/libqcsapi_client -I$(TOP)/httpd -I./sysdeps/qtn
108LDFLAGS += -L$(TOP)/libqcsapi_client -lqcsapi_client
109endif
110
111COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
112CCLD = $(CC)
113LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
114DIST_COMMON =  README ./stamp-h.in COPYING INSTALL Makefile.am \
115Makefile.in acconfig.h aclocal.m4 config.guess config.h.in config.sub \
116configure configure.in install-sh missing mkinstalldirs
117
118
119DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
120
121TAR = gtar
122GZIP_ENV = --best
123SOURCES = $(ez_ipupdate_SOURCES)
124OBJECTS = $(ez_ipupdate_OBJECTS)
125
126all: all-redirect
127.SUFFIXES:
128.SUFFIXES: .S .c .o .s
129$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
130	cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
131
132#Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
133#	cd $(top_builddir) \
134#	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
135
136$(ACLOCAL_M4):  configure.in 
137	cd $(srcdir) && $(ACLOCAL)
138
139config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
140	$(SHELL) ./config.status --recheck
141$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
142	cd $(srcdir) && $(AUTOCONF)
143
144#config.h: stamp-h
145#	@if test ! -f $@; then \
146#		rm -f stamp-h; \
147#		$(MAKE) stamp-h; \
148#	else :; fi
149stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
150	cd $(top_builddir) \
151	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
152	     $(SHELL) ./config.status
153	@echo timestamp > stamp-h 2> /dev/null
154$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
155	@if test ! -f $@; then \
156		rm -f $(srcdir)/stamp-h.in; \
157		$(MAKE) $(srcdir)/stamp-h.in; \
158	else :; fi
159$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
160	cd $(top_srcdir) && $(AUTOHEADER)
161	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
162
163mostlyclean-hdr:
164
165clean-hdr:
166
167distclean-hdr:
168	-rm -f config.h
169
170maintainer-clean-hdr:
171
172mostlyclean-binPROGRAMS:
173
174clean-binPROGRAMS:
175	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
176
177distclean-binPROGRAMS:
178
179maintainer-clean-binPROGRAMS:
180
181install-binPROGRAMS: $(bin_PROGRAMS)
182	@$(NORMAL_INSTALL)
183	#$(mkinstalldirs) $(DESTDIR)$(bindir)
184	@list='$(bin_PROGRAMS)'; for p in $$list; do \
185	  if test -f $$p; then \
186	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
187	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
188	  else :; fi; \
189	done
190
191uninstall-binPROGRAMS:
192	@$(NORMAL_UNINSTALL)
193	list='$(bin_PROGRAMS)'; for p in $$list; do \
194	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
195	done
196
197.c.o:
198	$(COMPILE) -c $<
199
200.s.o:
201	$(COMPILE) -c $<
202
203.S.o:
204	$(COMPILE) -c $<
205
206mostlyclean-compile:
207	-rm -f *.o core *.core *.gdb
208
209clean-compile:
210
211distclean-compile:
212	-rm -f *.tab.c
213
214maintainer-clean-compile:
215
216ez-ipupdate: $(ez_ipupdate_OBJECTS) $(ez_ipupdate_DEPENDENCIES)
217	@rm -f ez-ipupdate
218	$(LINK) $(ez_ipupdate_LDFLAGS) $(ez_ipupdate_OBJECTS) $(ez_ipupdate_LDADD) $(LIBS)
219
220md5_check:
221	rm -f test_hmac_md5
222	$(CC) $(CFLAGS) -Wall -c -o test_hmac_md5.o -DTEST_HMAC_MD5 -DUSE_MD5 asus_ddns.c
223	$(CC) $(CFLAGS) -Wall -c -o md5_x86.o -DTEST_HMAC_MD5 -DUSE_MD5 md5.c
224	$(CC) -Wall -o test_hmac_md5 test_hmac_md5.o md5_x86.o
225
226tags: TAGS
227
228ID: $(HEADERS) $(SOURCES) $(LISP)
229	list='$(SOURCES) $(HEADERS)'; \
230	unique=`for i in $$list; do echo $$i; done | \
231	  awk '    { files[$$0] = 1; } \
232	       END { for (i in files) print i; }'`; \
233	here=`pwd` && cd $(srcdir) \
234	  && mkid -f$$here/ID $$unique $(LISP)
235
236TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
237	tags=; \
238	here=`pwd`; \
239	list='$(SOURCES) $(HEADERS)'; \
240	unique=`for i in $$list; do echo $$i; done | \
241	  awk '    { files[$$0] = 1; } \
242	       END { for (i in files) print i; }'`; \
243	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
244	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
245
246mostlyclean-tags:
247
248clean-tags:
249
250distclean-tags:
251	-rm -f TAGS ID
252
253maintainer-clean-tags:
254
255distdir = $(PACKAGE)-$(VERSION)
256top_distdir = $(distdir)
257
258# This target untars the dist file and tries a VPATH configuration.  Then
259# it guarantees that the distribution is self-contained by making another
260# tarfile.
261distcheck: dist
262	-rm -rf $(distdir)
263	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
264	mkdir $(distdir)/=build
265	mkdir $(distdir)/=inst
266	dc_install_base=`cd $(distdir)/=inst && pwd`; \
267	cd $(distdir)/=build \
268	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
269	  && $(MAKE) $(AM_MAKEFLAGS) \
270	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
271	  && $(MAKE) $(AM_MAKEFLAGS) check \
272	  && $(MAKE) $(AM_MAKEFLAGS) install \
273	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
274	  && $(MAKE) $(AM_MAKEFLAGS) dist
275	-rm -rf $(distdir)
276	@banner="$(distdir).tar.gz is ready for distribution"; \
277	dashes=`echo "$$banner" | sed s/./=/g`; \
278	echo "$$dashes"; \
279	echo "$$banner"; \
280	echo "$$dashes"
281dist: distdir
282	-chmod -R a+r $(distdir)
283	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
284	-rm -rf $(distdir)
285dist-all: distdir
286	-chmod -R a+r $(distdir)
287	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
288	-rm -rf $(distdir)
289distdir: $(DISTFILES)
290	-rm -rf $(distdir)
291	mkdir $(distdir)
292	-chmod 777 $(distdir)
293	@for file in $(DISTFILES); do \
294	  d=$(srcdir); \
295	  if test -d $$d/$$file; then \
296	    cp -pr $$d/$$file $(distdir)/$$file; \
297	  else \
298	    test -f $(distdir)/$$file \
299	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
300	    || cp -p $$d/$$file $(distdir)/$$file || :; \
301	  fi; \
302	done
303cache_file.o: cache_file.c config.h cache_file.h
304conf_file.o: conf_file.c config.h conf_file.h
305ez-ipupdate.o: ez-ipupdate.c config.h error.h md5.h dprintf.h \
306	conf_file.h cache_file.h pid_file.h
307
308md5.o: md5.c config.h md5.h
309
310pid_file.o: pid_file.c config.h error.h dprintf.h
311
312info-am:
313info: info-am
314dvi-am:
315dvi: dvi-am
316check-am: all-am
317check: check-am
318installcheck-am:
319installcheck: installcheck-am
320all-recursive-am: config.h
321	$(MAKE) $(AM_MAKEFLAGS) all-recursive
322
323install-exec-am: install-binPROGRAMS
324install-exec: install-exec-am
325
326install-data-am:
327install-data: install-data-am
328
329install-am: all-am
330	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
331install: install-am
332uninstall-am: uninstall-binPROGRAMS
333uninstall: uninstall-am
334
335#2007.03.14 Yau add MD5_CHECK
336all-am: $(PROGRAMS) $(MD5_CHECK)
337all-redirect: all-am
338install-strip:
339	$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
340installdirs:
341	$(mkinstalldirs)  $(DESTDIR)$(bindir)
342
343install: $(PROGRAMS)
344	install -D ez-ipupdate $(INSTALLDIR)/usr/sbin/ez-ipupdate
345	$(STRIP) $(INSTALLDIR)/usr/sbin/ez-ipupdate
346#2007.03.14 Yau add
347#	install -D test_hmac_md5 $(INSTALLDIR)/usr/sbin/test_hmac_md5
348#	$(STRIP) $(INSTALLDIR)/usr/sbin/test_hmac_md5
349
350romfs:
351	$(ROMFSINST) /bin/ez-ipupdate
352
353
354mostlyclean-generic:
355
356clean-generic:
357
358distclean-generic:
359	-rm -f Makefile $(CONFIG_CLEAN_FILES)
360	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
361
362maintainer-clean-generic:
363mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
364		mostlyclean-compile mostlyclean-tags \
365		mostlyclean-generic
366
367mostlyclean: mostlyclean-am
368
369clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
370		clean-generic mostlyclean-am
371
372clean: clean-am
373
374distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
375		distclean-tags distclean-generic clean-am
376
377distclean: distclean-am
378	-rm -f config.status
379
380maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
381		maintainer-clean-compile maintainer-clean-tags \
382		maintainer-clean-generic distclean-am
383	@echo "This command is intended for maintainers to use;"
384	@echo "it deletes files that may require special tools to rebuild."
385
386maintainer-clean: maintainer-clean-am
387	-rm -f config.status
388
389.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
390mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
391maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
392mostlyclean-compile distclean-compile clean-compile \
393maintainer-clean-compile tags mostlyclean-tags distclean-tags \
394clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
395check-am installcheck-am installcheck all-recursive-am install-exec-am \
396install-exec install-data-am install-data install-am install \
397uninstall-am uninstall all-redirect all-am all installdirs \
398mostlyclean-generic distclean-generic clean-generic \
399maintainer-clean-generic clean mostlyclean distclean maintainer-clean
400
401
402# Tell versions [3.59,3.63) of GNU make to not export all variables.
403# Otherwise a system limit (for SysV at least) may be exceeded.
404.NOEXPORT:
405