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
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)/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-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
100                                                                                
101CFLAGS += -DASUS_DDNS
102CFLAGS += -I$(SRCBASE)/include
103#CFLAGS += -I/root/WL520gu/src/include
104LDFLAGS += -L$(TOP)/nvram -L$(INSTALLDIR)/nvram/usr/lib -lnvram 
105#end of Yau add
106
107COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
108CCLD = $(CC)
109LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
110DIST_COMMON =  README ./stamp-h.in COPYING INSTALL Makefile.am \
111Makefile.in acconfig.h aclocal.m4 config.guess config.h.in config.sub \
112configure configure.in install-sh missing mkinstalldirs
113
114
115DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
116
117TAR = gtar
118GZIP_ENV = --best
119SOURCES = $(ez_ipupdate_SOURCES)
120OBJECTS = $(ez_ipupdate_OBJECTS)
121
122all: all-redirect
123.SUFFIXES:
124.SUFFIXES: .S .c .o .s
125$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
126	cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
127
128#Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
129#	cd $(top_builddir) \
130#	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
131
132$(ACLOCAL_M4):  configure.in 
133	cd $(srcdir) && $(ACLOCAL)
134
135config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
136	$(SHELL) ./config.status --recheck
137$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
138	cd $(srcdir) && $(AUTOCONF)
139
140#config.h: stamp-h
141#	@if test ! -f $@; then \
142#		rm -f stamp-h; \
143#		$(MAKE) stamp-h; \
144#	else :; fi
145stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
146	cd $(top_builddir) \
147	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
148	     $(SHELL) ./config.status
149	@echo timestamp > stamp-h 2> /dev/null
150$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
151	@if test ! -f $@; then \
152		rm -f $(srcdir)/stamp-h.in; \
153		$(MAKE) $(srcdir)/stamp-h.in; \
154	else :; fi
155$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) acconfig.h
156	cd $(top_srcdir) && $(AUTOHEADER)
157	@echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
158
159mostlyclean-hdr:
160
161clean-hdr:
162
163distclean-hdr:
164	-rm -f config.h
165
166maintainer-clean-hdr:
167
168mostlyclean-binPROGRAMS:
169
170clean-binPROGRAMS:
171	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
172
173distclean-binPROGRAMS:
174
175maintainer-clean-binPROGRAMS:
176
177install-binPROGRAMS: $(bin_PROGRAMS)
178	@$(NORMAL_INSTALL)
179	$(mkinstalldirs) $(DESTDIR)$(bindir)
180	@list='$(bin_PROGRAMS)'; for p in $$list; do \
181	  if test -f $$p; then \
182	    echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
183	     $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
184	  else :; fi; \
185	done
186
187uninstall-binPROGRAMS:
188	@$(NORMAL_UNINSTALL)
189	list='$(bin_PROGRAMS)'; for p in $$list; do \
190	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
191	done
192
193.c.o:
194	$(COMPILE) -c $<
195
196.s.o:
197	$(COMPILE) -c $<
198
199.S.o:
200	$(COMPILE) -c $<
201
202mostlyclean-compile:
203	-rm -f *.o core *.core *.gdb
204
205clean-compile:
206
207distclean-compile:
208	-rm -f *.tab.c
209
210maintainer-clean-compile:
211
212ez-ipupdate: $(ez_ipupdate_OBJECTS) $(ez_ipupdate_DEPENDENCIES)
213	@rm -f ez-ipupdate
214	$(LINK) $(ez_ipupdate_LDFLAGS) $(ez_ipupdate_OBJECTS) $(ez_ipupdate_LDADD) $(LIBS)
215
216md5_check:
217	rm -f test_hmac_md5
218	$(CC) $(CFLAGS) -Wall -c -o test_hmac_md5.o -DTEST_HMAC_MD5 -DUSE_MD5 asus_ddns.c
219	$(CC) -Wall -c -o md5_x86.o -DTEST_HMAC_MD5 -DUSE_MD5 md5.c
220	$(CC) -Wall -o test_hmac_md5 test_hmac_md5.o md5_x86.o
221
222tags: TAGS
223
224ID: $(HEADERS) $(SOURCES) $(LISP)
225	list='$(SOURCES) $(HEADERS)'; \
226	unique=`for i in $$list; do echo $$i; done | \
227	  awk '    { files[$$0] = 1; } \
228	       END { for (i in files) print i; }'`; \
229	here=`pwd` && cd $(srcdir) \
230	  && mkid -f$$here/ID $$unique $(LISP)
231
232TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
233	tags=; \
234	here=`pwd`; \
235	list='$(SOURCES) $(HEADERS)'; \
236	unique=`for i in $$list; do echo $$i; done | \
237	  awk '    { files[$$0] = 1; } \
238	       END { for (i in files) print i; }'`; \
239	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
240	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
241
242mostlyclean-tags:
243
244clean-tags:
245
246distclean-tags:
247	-rm -f TAGS ID
248
249maintainer-clean-tags:
250
251distdir = $(PACKAGE)-$(VERSION)
252top_distdir = $(distdir)
253
254# This target untars the dist file and tries a VPATH configuration.  Then
255# it guarantees that the distribution is self-contained by making another
256# tarfile.
257distcheck: dist
258	-rm -rf $(distdir)
259	GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz
260	mkdir $(distdir)/=build
261	mkdir $(distdir)/=inst
262	dc_install_base=`cd $(distdir)/=inst && pwd`; \
263	cd $(distdir)/=build \
264	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
265	  && $(MAKE) $(AM_MAKEFLAGS) \
266	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
267	  && $(MAKE) $(AM_MAKEFLAGS) check \
268	  && $(MAKE) $(AM_MAKEFLAGS) install \
269	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
270	  && $(MAKE) $(AM_MAKEFLAGS) dist
271	-rm -rf $(distdir)
272	@banner="$(distdir).tar.gz is ready for distribution"; \
273	dashes=`echo "$$banner" | sed s/./=/g`; \
274	echo "$$dashes"; \
275	echo "$$banner"; \
276	echo "$$dashes"
277dist: distdir
278	-chmod -R a+r $(distdir)
279	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
280	-rm -rf $(distdir)
281dist-all: distdir
282	-chmod -R a+r $(distdir)
283	GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir)
284	-rm -rf $(distdir)
285distdir: $(DISTFILES)
286	-rm -rf $(distdir)
287	mkdir $(distdir)
288	-chmod 777 $(distdir)
289	@for file in $(DISTFILES); do \
290	  d=$(srcdir); \
291	  if test -d $$d/$$file; then \
292	    cp -pr $$d/$$file $(distdir)/$$file; \
293	  else \
294	    test -f $(distdir)/$$file \
295	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
296	    || cp -p $$d/$$file $(distdir)/$$file || :; \
297	  fi; \
298	done
299cache_file.o: cache_file.c config.h cache_file.h
300conf_file.o: conf_file.c config.h conf_file.h
301ez-ipupdate.o: ez-ipupdate.c config.h error.h md5.h dprintf.h \
302	conf_file.h cache_file.h pid_file.h
303
304#2007.03.15 Yau add
305#md5.o: md5.c config.h md5.h
306# for ASUS DDNS, asus_ddns.c need md5 implementation and I don't want to enable gnuip support.
307md5.o: md5.c md5.h
308	$(CC) $(CFLAGS) -DUSE_MD5 -c -o $@ $<
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