1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkgincludedir = $(includedir)/@PACKAGE@
21 pkglibdir = $(libdir)/@PACKAGE@
22 pkglibexecdir = $(libexecdir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24 install_sh_DATA = $(install_sh) -c -m 644
25 install_sh_PROGRAM = $(install_sh) -c
26 install_sh_SCRIPT = $(install_sh) -c
27 INSTALL_HEADER = $(INSTALL_DATA)
28 transform = $(program_transform_name)
35 build_triplet = @build@
37 bin_PROGRAMS = libwebsockets-test-server$(EXEEXT) \
38 libwebsockets-test-client$(EXEEXT)
40 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
43 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
45 mkinstalldirs = $(install_sh) -d
46 CONFIG_HEADER = $(top_builddir)/config.h
48 CONFIG_CLEAN_VPATH_FILES =
49 am__installdirs = "$(DESTDIR)$(bindir)"
50 PROGRAMS = $(bin_PROGRAMS)
51 am_libwebsockets_test_client_OBJECTS = test-client.$(OBJEXT)
52 libwebsockets_test_client_OBJECTS = \
53 $(am_libwebsockets_test_client_OBJECTS)
54 libwebsockets_test_client_DEPENDENCIES =
55 am_libwebsockets_test_server_OBJECTS = test-server.$(OBJEXT)
56 libwebsockets_test_server_OBJECTS = \
57 $(am_libwebsockets_test_server_OBJECTS)
58 libwebsockets_test_server_DEPENDENCIES =
59 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
60 depcomp = $(SHELL) $(top_srcdir)/depcomp
61 am__depfiles_maybe = depfiles
63 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
64 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
65 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
66 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
67 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
69 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
70 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
72 SOURCES = $(libwebsockets_test_client_SOURCES) \
73 $(libwebsockets_test_server_SOURCES)
74 DIST_SOURCES = $(libwebsockets_test_client_SOURCES) \
75 $(libwebsockets_test_server_SOURCES)
78 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
83 AUTOHEADER = @AUTOHEADER@
87 CCDEPMODE = @CCDEPMODE@
91 CYGPATH_W = @CYGPATH_W@
105 INSTALL_DATA = @INSTALL_DATA@
106 INSTALL_PROGRAM = @INSTALL_PROGRAM@
107 INSTALL_SCRIPT = @INSTALL_SCRIPT@
108 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
116 LTLIBOBJS = @LTLIBOBJS@
117 MAKEINFO = @MAKEINFO@
118 MANIFEST_TOOL = @MANIFEST_TOOL@
127 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
128 PACKAGE_NAME = @PACKAGE_NAME@
129 PACKAGE_STRING = @PACKAGE_STRING@
130 PACKAGE_TARNAME = @PACKAGE_TARNAME@
131 PACKAGE_URL = @PACKAGE_URL@
132 PACKAGE_VERSION = @PACKAGE_VERSION@
133 PATH_SEPARATOR = @PATH_SEPARATOR@
136 SET_MAKE = @SET_MAKE@
140 abs_builddir = @abs_builddir@
141 abs_srcdir = @abs_srcdir@
142 abs_top_builddir = @abs_top_builddir@
143 abs_top_srcdir = @abs_top_srcdir@
144 ac_ct_AR = @ac_ct_AR@
145 ac_ct_CC = @ac_ct_CC@
146 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
147 am__include = @am__include@
148 am__leading_dot = @am__leading_dot@
149 am__quote = @am__quote@
151 am__untar = @am__untar@
154 build_alias = @build_alias@
155 build_cpu = @build_cpu@
156 build_os = @build_os@
157 build_vendor = @build_vendor@
158 builddir = @builddir@
160 datarootdir = @datarootdir@
163 exec_prefix = @exec_prefix@
165 host_alias = @host_alias@
166 host_cpu = @host_cpu@
168 host_vendor = @host_vendor@
170 includedir = @includedir@
172 install_sh = @install_sh@
174 libexecdir = @libexecdir@
175 localedir = @localedir@
176 localstatedir = @localstatedir@
179 oldincludedir = @oldincludedir@
182 program_transform_name = @program_transform_name@
185 sharedstatedir = @sharedstatedir@
187 sysconfdir = @sysconfdir@
188 target_alias = @target_alias@
189 top_build_prefix = @top_build_prefix@
190 top_builddir = @top_builddir@
191 top_srcdir = @top_srcdir@
192 libwebsockets_test_server_SOURCES = test-server.c
193 libwebsockets_test_server_LDADD = -L../lib -lwebsockets
194 libwebsockets_test_client_SOURCES = test-client.c
195 libwebsockets_test_client_LDADD = -L../lib -lwebsockets
199 .SUFFIXES: .c .lo .o .obj
200 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
202 case '$(am__configure_deps)' in \
204 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
205 && { if test -f $@; then exit 0; else break; fi; }; \
209 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test-server/Makefile'; \
210 $(am__cd) $(top_srcdir) && \
211 $(AUTOMAKE) --foreign test-server/Makefile
213 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
216 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
218 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
219 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
222 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
223 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
225 $(top_srcdir)/configure: $(am__configure_deps)
226 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
227 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
228 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
229 $(am__aclocal_m4_deps):
230 install-binPROGRAMS: $(bin_PROGRAMS)
232 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
233 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
234 for p in $$list; do echo "$$p $$p"; done | \
235 sed 's/$(EXEEXT)$$//' | \
236 while read p p1; do if test -f $$p || test -f $$p1; \
237 then echo "$$p"; echo "$$p"; else :; fi; \
239 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
240 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
241 sed 'N;N;N;s,\n, ,g' | \
242 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
243 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
244 if ($$2 == $$4) files[d] = files[d] " " $$1; \
245 else { print "f", $$3 "/" $$4, $$1; } } \
246 END { for (d in files) print "f", d, files[d] }' | \
247 while read type dir files; do \
248 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
249 test -z "$$files" || { \
250 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
251 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
255 uninstall-binPROGRAMS:
257 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
258 files=`for p in $$list; do echo "$$p"; done | \
259 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
260 -e 's/$$/$(EXEEXT)/' `; \
261 test -n "$$list" || exit 0; \
262 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
263 cd "$(DESTDIR)$(bindir)" && rm -f $$files
266 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
267 echo " rm -f" $$list; \
268 rm -f $$list || exit $$?; \
269 test -n "$(EXEEXT)" || exit 0; \
270 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
271 echo " rm -f" $$list; \
273 libwebsockets-test-client$(EXEEXT): $(libwebsockets_test_client_OBJECTS) $(libwebsockets_test_client_DEPENDENCIES)
274 @rm -f libwebsockets-test-client$(EXEEXT)
275 $(LINK) $(libwebsockets_test_client_OBJECTS) $(libwebsockets_test_client_LDADD) $(LIBS)
276 libwebsockets-test-server$(EXEEXT): $(libwebsockets_test_server_OBJECTS) $(libwebsockets_test_server_DEPENDENCIES)
277 @rm -f libwebsockets-test-server$(EXEEXT)
278 $(LINK) $(libwebsockets_test_server_OBJECTS) $(libwebsockets_test_server_LDADD) $(LIBS)
286 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-client.Po@am__quote@
287 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-server.Po@am__quote@
290 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
291 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
292 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
293 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
294 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
297 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
298 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
299 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
300 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
301 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
304 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
305 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
306 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
307 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
308 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
316 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
317 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
318 unique=`for i in $$list; do \
319 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
321 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
322 END { if (nonempty) { for (i in files) print i; }; }'`; \
326 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
327 $(TAGS_FILES) $(LISP)
330 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
331 unique=`for i in $$list; do \
332 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
334 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
335 END { if (nonempty) { for (i in files) print i; }; }'`; \
337 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
338 test -n "$$unique" || unique=$$empty_fix; \
339 if test $$# -gt 0; then \
340 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
343 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
348 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
349 $(TAGS_FILES) $(LISP)
350 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
351 unique=`for i in $$list; do \
352 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
354 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
355 END { if (nonempty) { for (i in files) print i; }; }'`; \
356 test -z "$(CTAGS_ARGS)$$unique" \
357 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
361 here=`$(am__cd) $(top_builddir) && pwd` \
362 && $(am__cd) $(top_srcdir) \
363 && gtags -i $(GTAGS_ARGS) "$$here"
366 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
368 distdir: $(DISTFILES)
369 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
370 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
371 list='$(DISTFILES)'; \
372 dist_files=`for file in $$list; do echo $$file; done | \
373 sed -e "s|^$$srcdirstrip/||;t" \
374 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
375 case $$dist_files in \
376 */*) $(MKDIR_P) `echo "$$dist_files" | \
377 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
380 for file in $$dist_files; do \
381 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
382 if test -d $$d/$$file; then \
383 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
384 if test -d "$(distdir)/$$file"; then \
385 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
387 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
388 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
389 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
391 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
393 test -f "$(distdir)/$$file" \
394 || cp -p $$d/$$file "$(distdir)/$$file" \
400 all-am: Makefile $(PROGRAMS)
402 for dir in "$(DESTDIR)$(bindir)"; do \
403 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
406 install-exec: install-exec-am
407 install-data: install-data-am
408 uninstall: uninstall-am
411 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
413 installcheck: installcheck-am
415 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
416 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
417 `test -z '$(STRIP)' || \
418 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
424 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
425 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
427 maintainer-clean-generic:
428 @echo "This command is intended for maintainers to use"
429 @echo "it deletes files that may require special tools to rebuild."
432 clean-am: clean-binPROGRAMS clean-generic clean-libtool clean-local \
435 distclean: distclean-am
438 distclean-am: clean-am distclean-compile distclean-generic \
453 install-data-am: install-data-local
455 install-dvi: install-dvi-am
459 install-exec-am: install-binPROGRAMS
461 install-html: install-html-am
465 install-info: install-info-am
471 install-pdf: install-pdf-am
475 install-ps: install-ps-am
481 maintainer-clean: maintainer-clean-am
484 maintainer-clean-am: distclean-am maintainer-clean-generic
486 mostlyclean: mostlyclean-am
488 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
499 uninstall-am: uninstall-binPROGRAMS
501 .MAKE: install-am install-strip
503 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
504 clean-generic clean-libtool clean-local ctags distclean \
505 distclean-compile distclean-generic distclean-libtool \
506 distclean-tags distdir dvi dvi-am html html-am info info-am \
507 install install-am install-binPROGRAMS install-data \
508 install-data-am install-data-local install-dvi install-dvi-am \
509 install-exec install-exec-am install-html install-html-am \
510 install-info install-info-am install-man install-pdf \
511 install-pdf-am install-ps install-ps-am install-strip \
512 installcheck installcheck-am installdirs maintainer-clean \
513 maintainer-clean-generic mostlyclean mostlyclean-compile \
514 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
515 tags uninstall uninstall-am uninstall-binPROGRAMS
518 # cook a random test cert and key
519 # notice your real cert and key will want to be 0600 permissions
520 libwebsockets-test-server.pem libwebsockets-test-server.key.pem:
521 printf "GB\nErewhon\nAll around\nlibwebsockets-test\n\nlocalhost\nnone@invalid.org\n" | \
522 openssl req -new -newkey rsa:1024 -days 10000 -nodes -x509 -keyout \
523 ./libwebsockets-test-server.key.pem -out ./libwebsockets-test-server.pem >/dev/null 2>&1 && \
524 chmod 644 ./libwebsockets-test-server.key.pem \
525 ./libwebsockets-test-server.pem
528 rm -f ./libwebsockets-test-server.key.pem ./libwebsockets-test-server.pem
530 install-data-local:libwebsockets-test-server.key.pem libwebsockets-test-server.pem
531 mkdir -p $(DESTDIR)$(datadir)/libwebsockets-test-server
532 cp -a test.html favicon.ico libwebsockets-test-server.key.pem libwebsockets-test-server.pem \
533 $(DESTDIR)$(datadir)/libwebsockets-test-server
535 # Tell versions [3.59,3.63) of GNU make to not export all variables.
536 # Otherwise a system limit (for SysV at least) may be exceeded.