[or-cvs] moved configure.ac to configure.in, should work with older ...

Felipe Paulo Guazzi Bergo bergo at seul.org
Fri Jun 28 23:43:02 UTC 2002


Update of /home/or/cvsroot/src/httpap
In directory moria.seul.org:/tmp/cvs-serv5551/src/httpap

Modified Files:
	Makefile 
Log Message:
moved configure.ac to configure.in, should work with older autoconfs and automakes



Index: Makefile
===================================================================
RCS file: /home/or/cvsroot/src/httpap/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile	28 Jun 2002 18:31:12 -0000	1.2
+++ Makefile	28 Jun 2002 23:42:59 -0000	1.3
@@ -1,99 +1,323 @@
-SRC=httpap.c http.c
-OBJ=${SRC:.c=.o}
-PROGS=httpap
-LIB=
-LIBS=
-INCLUDE =
+# Makefile.in generated by automake 1.6.1 from Makefile.am.
+# src/httpap/Makefile.  Generated from Makefile.in by configure.
 
-CFLAGS= $(INCLUDE) -Wall -Wpointer-arith -O2 -ggdb
-LDFLAGS = $(LIB) $(LIBS)
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
 
-all:	${PROGS}
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
 
-clean:
-	rm -f *.o ${PROGS}
 
-depend:
-	makedepend -- ${CFLAGS} -- ${SRC}
+SHELL = /bin/sh
 
-httpap:	${OBJ}
-	$(LINK.c) -o $@ $(OBJ) ../common/log.o ../common/config.o ../common/utils.o -lpopt
+srcdir = .
+top_srcdir = ../..
 
-# DO NOT DELETE
+prefix = /usr/local
+exec_prefix = ${prefix}
 
+bindir = ${exec_prefix}/bin
+sbindir = ${exec_prefix}/sbin
+libexecdir = ${exec_prefix}/libexec
+datadir = ${prefix}/share
+sysconfdir = ${prefix}/etc
+sharedstatedir = ${prefix}/com
+localstatedir = ${prefix}/var
+libdir = ${exec_prefix}/lib
+infodir = ${prefix}/info
+mandir = ${prefix}/man
+includedir = ${prefix}/include
+oldincludedir = /usr/include
+pkgdatadir = $(datadir)/or
+pkglibdir = $(libdir)/or
+pkgincludedir = $(includedir)/or
+top_builddir = ../..
 
-httpap.o: ../common/config.h ../common/log.h ../common/ss.h ../common/utils.h
-httpap.o: ../common/version.h httpap.h http.h /usr/include/alloca.h
-httpap.o: /usr/include/arpa/inet.h /usr/include/asm/errno.h
-httpap.o: /usr/include/asm/sigcontext.h /usr/include/asm/socket.h
-httpap.o: /usr/include/asm/sockios.h /usr/include/bits/byteswap.h
-httpap.o: /usr/include/bits/confname.h /usr/include/bits/endian.h
-httpap.o: /usr/include/bits/environments.h /usr/include/bits/errno.h
-httpap.o: /usr/include/bits/in.h /usr/include/bits/local_lim.h
-httpap.o: /usr/include/bits/netdb.h /usr/include/bits/posix1_lim.h
-httpap.o: /usr/include/bits/posix2_lim.h /usr/include/bits/posix_opt.h
-httpap.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/resource.h
-httpap.o: /usr/include/bits/sched.h /usr/include/bits/select.h
-httpap.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
-httpap.o: /usr/include/bits/siginfo.h /usr/include/bits/signum.h
-httpap.o: /usr/include/bits/sigset.h /usr/include/bits/sigstack.h
-httpap.o: /usr/include/bits/sigthread.h /usr/include/bits/sockaddr.h
-httpap.o: /usr/include/bits/socket.h /usr/include/bits/stdio_lim.h
-httpap.o: /usr/include/bits/time.h /usr/include/bits/types.h
-httpap.o: /usr/include/bits/uio.h /usr/include/bits/waitflags.h
-httpap.o: /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h
-httpap.o: /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h
-httpap.o: /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h
-httpap.o: /usr/include/features.h /usr/include/_G_config.h
-httpap.o: /usr/include/gconv.h /usr/include/getopt.h /usr/include/gnu/stubs.h
-httpap.o: /usr/include/libio.h /usr/include/limits.h
-httpap.o: /usr/include/linux/errno.h /usr/include/linux/limits.h
-httpap.o: /usr/include/netdb.h /usr/include/netinet/in.h
-httpap.o: /usr/include/rpc/netdb.h /usr/include/signal.h /usr/include/stdint.h
-httpap.o: /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h
-httpap.o: /usr/include/sys/cdefs.h /usr/include/syslog.h
-httpap.o: /usr/include/sys/resource.h /usr/include/sys/select.h
-httpap.o: /usr/include/sys/socket.h /usr/include/sys/syslog.h
-httpap.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
-httpap.o: /usr/include/sys/types.h /usr/include/sys/ucontext.h
-httpap.o: /usr/include/sys/uio.h /usr/include/sys/un.h /usr/include/sys/wait.h
-httpap.o: /usr/include/time.h /usr/include/ucontext.h /usr/include/unistd.h
-httpap.o: /usr/include/wait.h /usr/include/wchar.h /usr/include/xlocale.h
-httpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h
-httpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h
-httpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h
-httpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h
-http.o: ../common/log.h ../common/utils.h http.h /usr/include/alloca.h
-http.o: /usr/include/arpa/inet.h /usr/include/asm/errno.h
-http.o: /usr/include/asm/socket.h /usr/include/asm/sockios.h
-http.o: /usr/include/bits/byteswap.h /usr/include/bits/confname.h
-http.o: /usr/include/bits/endian.h /usr/include/bits/environments.h
-http.o: /usr/include/bits/errno.h /usr/include/bits/in.h
-http.o: /usr/include/bits/local_lim.h /usr/include/bits/netdb.h
-http.o: /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h
-http.o: /usr/include/bits/posix_opt.h /usr/include/bits/pthreadtypes.h
-http.o: /usr/include/bits/sched.h /usr/include/bits/select.h
-http.o: /usr/include/bits/siginfo.h /usr/include/bits/sigset.h
-http.o: /usr/include/bits/sockaddr.h /usr/include/bits/socket.h
-http.o: /usr/include/bits/stdio_lim.h /usr/include/bits/time.h
-http.o: /usr/include/bits/types.h /usr/include/bits/uio.h
-http.o: /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h
-http.o: /usr/include/bits/wchar.h /usr/include/bits/wordsize.h
-http.o: /usr/include/bits/xopen_lim.h /usr/include/ctype.h
-http.o: /usr/include/endian.h /usr/include/errno.h /usr/include/features.h
-http.o: /usr/include/_G_config.h /usr/include/gconv.h /usr/include/getopt.h
-http.o: /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h
-http.o: /usr/include/linux/errno.h /usr/include/linux/limits.h
-http.o: /usr/include/netdb.h /usr/include/netinet/in.h
-http.o: /usr/include/rpc/netdb.h /usr/include/stdint.h /usr/include/stdio.h
-http.o: /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h
-http.o: /usr/include/syslog.h /usr/include/sys/select.h
-http.o: /usr/include/sys/socket.h /usr/include/sys/syslog.h
-http.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
-http.o: /usr/include/sys/types.h /usr/include/sys/uio.h /usr/include/sys/un.h
-http.o: /usr/include/time.h /usr/include/unistd.h /usr/include/wchar.h
-http.o: /usr/include/xlocale.h
-http.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h
-http.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h
-http.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h
-http.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h
+ACLOCAL = ${SHELL} /home/bergo/src/work/or/missing --run aclocal-1.6
+AUTOCONF = ${SHELL} /home/bergo/src/work/or/missing --run autoconf
+AUTOMAKE = ${SHELL} /home/bergo/src/work/or/missing --run automake-1.6
+AUTOHEADER = ${SHELL} /home/bergo/src/work/or/missing --run autoheader
+
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/ginstall -c
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_DATA = ${INSTALL} -m 644
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = s,x,x,
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+
+EXEEXT = 
+OBJEXT = o
+PATH_SEPARATOR = :
+AMTAR = ${SHELL} /home/bergo/src/work/or/missing --run tar
+AWK = gawk
+CC = gcc
+DEPDIR = .deps
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+PACKAGE = or
+RANLIB = ranlib
+STRIP = 
+VERSION = 0.0.0
+am__include = include
+am__quote = 
+install_sh = /home/bergo/src/work/or/install-sh
+
+bin_PROGRAMS = httpap
+
+httpap_LDADD = -L../common -lor
+
+httpap_SOURCES = httpap.c http.c
+
+noinst_HEADERS = httpap.h http.h
+subdir = src/httpap
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/orconfig.h
+CONFIG_CLEAN_FILES =
+bin_PROGRAMS = httpap$(EXEEXT)
+PROGRAMS = $(bin_PROGRAMS)
+
+am_httpap_OBJECTS = httpap.$(OBJEXT) http.$(OBJEXT)
+httpap_OBJECTS = $(am_httpap_OBJECTS)
+httpap_DEPENDENCIES =
+httpap_LDFLAGS =
+
+DEFS = -DHAVE_CONFIG_H
+DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
+CPPFLAGS = -I/usr/local/ssl/include 
+LDFLAGS = -L/usr/local/ssl/lib 
+LIBS =  -lpopt -lcrypto
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+DEP_FILES = ./$(DEPDIR)/http.Po ./$(DEPDIR)/httpap.Po
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+CFLAGS = -Wall -O2
+DIST_SOURCES = $(httpap_SOURCES)
+HEADERS = $(noinst_HEADERS)
+
+DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
+SOURCES = $(httpap_SOURCES)
+
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .o .obj
+$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.ac $(ACLOCAL_M4)
+	cd $(top_srcdir) && \
+	  $(AUTOMAKE) --gnu  src/httpap/Makefile
+Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
+	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
+binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+install-binPROGRAMS: $(bin_PROGRAMS)
+	@$(NORMAL_INSTALL)
+	$(mkinstalldirs) $(DESTDIR)$(bindir)
+	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+	  if test -f $$p \
+	  ; then \
+	    p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
+	    f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
+	   echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
+	   $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
+	  else :; fi; \
+	done
+
+uninstall-binPROGRAMS:
+	@$(NORMAL_UNINSTALL)
+	@list='$(bin_PROGRAMS)'; for p in $$list; do \
+	  f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+	  f=`echo "$$f" | sed -e 's,^.*/,,'`; \
+	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
+	  rm -f $(DESTDIR)$(bindir)/$$f; \
+	done
+
+clean-binPROGRAMS:
+	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+httpap$(EXEEXT): $(httpap_OBJECTS) $(httpap_DEPENDENCIES) 
+	@rm -f httpap$(EXEEXT)
+	$(LINK) $(httpap_LDFLAGS) $(httpap_OBJECTS) $(httpap_LDADD) $(LIBS)
+
+mostlyclean-compile:
+	-rm -f *.$(OBJEXT) core *.core
+
+distclean-compile:
+	-rm -f *.tab.c
+
+include ./$(DEPDIR)/http.Po
+include ./$(DEPDIR)/httpap.Po
+
+distclean-depend:
+	-rm -rf ./$(DEPDIR)
+
+.c.o:
+	source='$<' object='$@' libtool=no \
+	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
+	$(CCDEPMODE) $(depcomp) \
+	$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
+
+.c.obj:
+	source='$<' object='$@' libtool=no \
+	depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' \
+	$(CCDEPMODE) $(depcomp) \
+	$(COMPILE) -c `cygpath -w $<`
+CCDEPMODE = depmode=gcc
+uninstall-info-am:
+
+ETAGS = etags
+ETAGSFLAGS =
+
+tags: TAGS
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	mkid -fID $$unique
+
+TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
+		$(TAGS_FILES) $(LISP)
+	tags=; \
+	here=`pwd`; \
+	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
+	unique=`for i in $$list; do \
+	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+	  done | \
+	  $(AWK) '    { files[$$0] = 1; } \
+	       END { for (i in files) print i; }'`; \
+	test -z "$(ETAGS_ARGS)$$tags$$unique" \
+	  || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+	     $$tags $$unique
+
+GTAGS:
+	here=`$(am__cd) $(top_builddir) && pwd` \
+	  && cd $(top_srcdir) \
+	  && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+
+top_distdir = ../..
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
+
+distdir: $(DISTFILES)
+	@for file in $(DISTFILES); do \
+	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+	    dir="/$$dir"; \
+	    $(mkinstalldirs) "$(distdir)$$dir"; \
+	  else \
+	    dir=''; \
+	  fi; \
+	  if test -d $$d/$$file; then \
+	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+	    fi; \
+	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+	  else \
+	    test -f $(distdir)/$$file \
+	    || cp -p $$d/$$file $(distdir)/$$file \
+	    || exit 1; \
+	  fi; \
+	done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) $(HEADERS)
+
+installdirs:
+	$(mkinstalldirs) $(DESTDIR)$(bindir)
+
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+	  INSTALL_STRIP_FLAG=-s \
+	  `test -z '$(STRIP)' || \
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
+
+maintainer-clean-generic:
+	@echo "This command is intended for maintainers to use"
+	@echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
+
+distclean: distclean-am
+
+distclean-am: clean-am distclean-compile distclean-depend \
+	distclean-generic distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+info: info-am
+
+info-am:
+
+install-data-am:
+
+install-exec-am: install-binPROGRAMS
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
+
+uninstall-am: uninstall-binPROGRAMS uninstall-info-am
+
+.PHONY: GTAGS all all-am check check-am clean clean-binPROGRAMS \
+	clean-generic distclean distclean-compile distclean-depend \
+	distclean-generic distclean-tags distdir dvi dvi-am info \
+	info-am install install-am install-binPROGRAMS install-data \
+	install-data-am install-exec install-exec-am install-info \
+	install-info-am install-man install-strip installcheck \
+	installcheck-am installdirs maintainer-clean \
+	maintainer-clean-generic mostlyclean mostlyclean-compile \
+	mostlyclean-generic tags uninstall uninstall-am \
+	uninstall-binPROGRAMS uninstall-info-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:



More information about the tor-commits mailing list