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)
39 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
40 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
42 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
44 mkinstalldirs = $(install_sh) -d
45 CONFIG_HEADER = $(top_builddir)/config.h
47 CONFIG_CLEAN_VPATH_FILES =
48 am__installdirs = "$(DESTDIR)$(bindir)"
49 PROGRAMS = $(bin_PROGRAMS)
50 am_libwebsockets_test_server_OBJECTS = test-server.$(OBJEXT)
51 libwebsockets_test_server_OBJECTS = \
52 $(am_libwebsockets_test_server_OBJECTS)
53 libwebsockets_test_server_DEPENDENCIES =
54 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
55 depcomp = $(SHELL) $(top_srcdir)/depcomp
56 am__depfiles_maybe = depfiles
58 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
59 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
60 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
61 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
62 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
64 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
65 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
67 SOURCES = $(libwebsockets_test_server_SOURCES)
68 DIST_SOURCES = $(libwebsockets_test_server_SOURCES)
71 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76 AUTOHEADER = @AUTOHEADER@
80 CCDEPMODE = @CCDEPMODE@
84 CYGPATH_W = @CYGPATH_W@
98 INSTALL_DATA = @INSTALL_DATA@
99 INSTALL_PROGRAM = @INSTALL_PROGRAM@
100 INSTALL_SCRIPT = @INSTALL_SCRIPT@
101 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109 LTLIBOBJS = @LTLIBOBJS@
110 MAKEINFO = @MAKEINFO@
111 MANIFEST_TOOL = @MANIFEST_TOOL@
120 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
121 PACKAGE_NAME = @PACKAGE_NAME@
122 PACKAGE_STRING = @PACKAGE_STRING@
123 PACKAGE_TARNAME = @PACKAGE_TARNAME@
124 PACKAGE_URL = @PACKAGE_URL@
125 PACKAGE_VERSION = @PACKAGE_VERSION@
126 PATH_SEPARATOR = @PATH_SEPARATOR@
129 SET_MAKE = @SET_MAKE@
133 abs_builddir = @abs_builddir@
134 abs_srcdir = @abs_srcdir@
135 abs_top_builddir = @abs_top_builddir@
136 abs_top_srcdir = @abs_top_srcdir@
137 ac_ct_AR = @ac_ct_AR@
138 ac_ct_CC = @ac_ct_CC@
139 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
140 am__include = @am__include@
141 am__leading_dot = @am__leading_dot@
142 am__quote = @am__quote@
144 am__untar = @am__untar@
147 build_alias = @build_alias@
148 build_cpu = @build_cpu@
149 build_os = @build_os@
150 build_vendor = @build_vendor@
151 builddir = @builddir@
153 datarootdir = @datarootdir@
156 exec_prefix = @exec_prefix@
158 host_alias = @host_alias@
159 host_cpu = @host_cpu@
161 host_vendor = @host_vendor@
163 includedir = @includedir@
165 install_sh = @install_sh@
167 libexecdir = @libexecdir@
168 localedir = @localedir@
169 localstatedir = @localstatedir@
172 oldincludedir = @oldincludedir@
175 program_transform_name = @program_transform_name@
178 sharedstatedir = @sharedstatedir@
180 sysconfdir = @sysconfdir@
181 target_alias = @target_alias@
182 top_build_prefix = @top_build_prefix@
183 top_builddir = @top_builddir@
184 top_srcdir = @top_srcdir@
185 libwebsockets_test_server_SOURCES = test-server.c
186 libwebsockets_test_server_LDADD = -L../lib -lwebsockets
190 .SUFFIXES: .c .lo .o .obj
191 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
193 case '$(am__configure_deps)' in \
195 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
196 && { if test -f $@; then exit 0; else break; fi; }; \
200 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign test-server/Makefile'; \
201 $(am__cd) $(top_srcdir) && \
202 $(AUTOMAKE) --foreign test-server/Makefile
204 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
207 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
209 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
210 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
213 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
214 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
216 $(top_srcdir)/configure: $(am__configure_deps)
217 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
218 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
219 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
220 $(am__aclocal_m4_deps):
221 install-binPROGRAMS: $(bin_PROGRAMS)
223 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
224 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
225 for p in $$list; do echo "$$p $$p"; done | \
226 sed 's/$(EXEEXT)$$//' | \
227 while read p p1; do if test -f $$p || test -f $$p1; \
228 then echo "$$p"; echo "$$p"; else :; fi; \
230 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
231 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
232 sed 'N;N;N;s,\n, ,g' | \
233 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
234 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
235 if ($$2 == $$4) files[d] = files[d] " " $$1; \
236 else { print "f", $$3 "/" $$4, $$1; } } \
237 END { for (d in files) print "f", d, files[d] }' | \
238 while read type dir files; do \
239 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
240 test -z "$$files" || { \
241 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
242 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
246 uninstall-binPROGRAMS:
248 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
249 files=`for p in $$list; do echo "$$p"; done | \
250 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
251 -e 's/$$/$(EXEEXT)/' `; \
252 test -n "$$list" || exit 0; \
253 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
254 cd "$(DESTDIR)$(bindir)" && rm -f $$files
257 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
258 echo " rm -f" $$list; \
259 rm -f $$list || exit $$?; \
260 test -n "$(EXEEXT)" || exit 0; \
261 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
262 echo " rm -f" $$list; \
264 libwebsockets-test-server$(EXEEXT): $(libwebsockets_test_server_OBJECTS) $(libwebsockets_test_server_DEPENDENCIES)
265 @rm -f libwebsockets-test-server$(EXEEXT)
266 $(LINK) $(libwebsockets_test_server_OBJECTS) $(libwebsockets_test_server_LDADD) $(LIBS)
274 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/test-server.Po@am__quote@
277 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
278 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
279 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
280 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
281 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
284 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
285 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
286 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
287 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
288 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
291 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
292 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
293 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
294 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
295 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
303 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
304 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
305 unique=`for i in $$list; do \
306 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
308 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
309 END { if (nonempty) { for (i in files) print i; }; }'`; \
313 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
314 $(TAGS_FILES) $(LISP)
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; }; }'`; \
324 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
325 test -n "$$unique" || unique=$$empty_fix; \
326 if test $$# -gt 0; then \
327 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
330 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
335 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
336 $(TAGS_FILES) $(LISP)
337 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
338 unique=`for i in $$list; do \
339 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
341 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
342 END { if (nonempty) { for (i in files) print i; }; }'`; \
343 test -z "$(CTAGS_ARGS)$$unique" \
344 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
348 here=`$(am__cd) $(top_builddir) && pwd` \
349 && $(am__cd) $(top_srcdir) \
350 && gtags -i $(GTAGS_ARGS) "$$here"
353 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
355 distdir: $(DISTFILES)
356 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
357 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
358 list='$(DISTFILES)'; \
359 dist_files=`for file in $$list; do echo $$file; done | \
360 sed -e "s|^$$srcdirstrip/||;t" \
361 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
362 case $$dist_files in \
363 */*) $(MKDIR_P) `echo "$$dist_files" | \
364 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
367 for file in $$dist_files; do \
368 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
369 if test -d $$d/$$file; then \
370 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
371 if test -d "$(distdir)/$$file"; then \
372 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
374 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
375 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
376 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
378 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
380 test -f "$(distdir)/$$file" \
381 || cp -p $$d/$$file "$(distdir)/$$file" \
387 all-am: Makefile $(PROGRAMS)
389 for dir in "$(DESTDIR)$(bindir)"; do \
390 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
393 install-exec: install-exec-am
394 install-data: install-data-am
395 uninstall: uninstall-am
398 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
400 installcheck: installcheck-am
402 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
403 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
404 `test -z '$(STRIP)' || \
405 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
411 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
412 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
414 maintainer-clean-generic:
415 @echo "This command is intended for maintainers to use"
416 @echo "it deletes files that may require special tools to rebuild."
419 clean-am: clean-binPROGRAMS clean-generic clean-libtool clean-local \
422 distclean: distclean-am
425 distclean-am: clean-am distclean-compile distclean-generic \
440 install-data-am: install-data-local
442 install-dvi: install-dvi-am
446 install-exec-am: install-binPROGRAMS
448 install-html: install-html-am
452 install-info: install-info-am
458 install-pdf: install-pdf-am
462 install-ps: install-ps-am
468 maintainer-clean: maintainer-clean-am
471 maintainer-clean-am: distclean-am maintainer-clean-generic
473 mostlyclean: mostlyclean-am
475 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
486 uninstall-am: uninstall-binPROGRAMS
488 .MAKE: install-am install-strip
490 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
491 clean-generic clean-libtool clean-local ctags distclean \
492 distclean-compile distclean-generic distclean-libtool \
493 distclean-tags distdir dvi dvi-am html html-am info info-am \
494 install install-am install-binPROGRAMS install-data \
495 install-data-am install-data-local install-dvi install-dvi-am \
496 install-exec install-exec-am install-html install-html-am \
497 install-info install-info-am install-man install-pdf \
498 install-pdf-am install-ps install-ps-am install-strip \
499 installcheck installcheck-am installdirs maintainer-clean \
500 maintainer-clean-generic mostlyclean mostlyclean-compile \
501 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
502 tags uninstall uninstall-am uninstall-binPROGRAMS
506 # cook a random test cert and key
507 # notice your real cert and key will want to be 0600 permissions
508 libwebsockets-test-server.pem libwebsockets-test-server.key.pem:
509 printf "GB\nErewhon\nAll around\nlibwebsockets-test\n\nlocalhost\nnone@invalid.org\n" | \
510 openssl req -new -newkey rsa:1024 -days 10000 -nodes -x509 -keyout \
511 ./libwebsockets-test-server.key.pem -out ./libwebsockets-test-server.pem >/dev/null 2>&1 && \
512 chmod 644 ./libwebsockets-test-server.key.pem \
513 ./libwebsockets-test-server.pem
516 rm -f ./libwebsockets-test-server.key.pem ./libwebsockets-test-server.pem
518 install-data-local:libwebsockets-test-server.key.pem libwebsockets-test-server.pem
519 mkdir -p $(DESTDIR)$(datadir)/libwebsockets-test-server
520 cp -a test.html favicon.ico libwebsockets-test-server.key.pem libwebsockets-test-server.pem \
521 $(DESTDIR)$(datadir)/libwebsockets-test-server
523 # Tell versions [3.59,3.63) of GNU make to not export all variables.
524 # Otherwise a system limit (for SysV at least) may be exceeded.