aboutsummaryrefslogtreecommitdiff
path: root/src/smtpap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/smtpap/Makefile')
-rw-r--r--src/smtpap/Makefile403
1 files changed, 323 insertions, 80 deletions
diff --git a/src/smtpap/Makefile b/src/smtpap/Makefile
index fc685ba34..5b83f90b1 100644
--- a/src/smtpap/Makefile
+++ b/src/smtpap/Makefile
@@ -1,80 +1,323 @@
-SRC=smtpap.c io.c
-OBJ=${SRC:.c=.o}
-PROGS=smtpap
-LIB=
-LIBS=
-INCLUDE =
-
-CFLAGS= $(INCLUDE) -Wall -Wpointer-arith -O2 -ggdb
-LDFLAGS = $(LIB) $(LIBS)
-
-all: ${PROGS}
-
-clean:
- rm -f *.o ${PROGS}
-
-depend:
- makedepend -- ${CFLAGS} -- ${SRC}
-
-${PROGS}: ${OBJ}
- $(LINK.c) -o $@ $(OBJ) ../common/log.o ../common/config.o ../common/utils.o -lpopt
-
-# DO NOT DELETE
-
-
-io.o: ../common/log.h ../common/utils.h io.h smtpap.h
-io.o: /usr/include/bits/endian.h /usr/include/bits/pthreadtypes.h
-io.o: /usr/include/bits/sched.h /usr/include/bits/select.h
-io.o: /usr/include/bits/sigset.h /usr/include/bits/sockaddr.h
-io.o: /usr/include/bits/stdio_lim.h /usr/include/bits/time.h
-io.o: /usr/include/bits/types.h /usr/include/bits/wchar.h
-io.o: /usr/include/endian.h /usr/include/features.h /usr/include/_G_config.h
-io.o: /usr/include/gconv.h /usr/include/gnu/stubs.h /usr/include/libio.h
-io.o: /usr/include/malloc.h /usr/include/stdio.h /usr/include/string.h
-io.o: /usr/include/sys/cdefs.h /usr/include/syslog.h /usr/include/sys/select.h
-io.o: /usr/include/sys/syslog.h /usr/include/sys/sysmacros.h
-io.o: /usr/include/sys/time.h /usr/include/sys/types.h /usr/include/sys/un.h
-io.o: /usr/include/time.h /usr/include/wchar.h /usr/include/xlocale.h
-io.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h
-io.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h
-smtpap.o: ../common/config.h ../common/log.h ../common/ss.h ../common/utils.h
-smtpap.o: ../common/version.h io.h smtpap.h /usr/include/alloca.h
-smtpap.o: /usr/include/arpa/inet.h /usr/include/asm/errno.h
-smtpap.o: /usr/include/asm/sigcontext.h /usr/include/asm/socket.h
-smtpap.o: /usr/include/asm/sockios.h /usr/include/bits/byteswap.h
-smtpap.o: /usr/include/bits/confname.h /usr/include/bits/endian.h
-smtpap.o: /usr/include/bits/environments.h /usr/include/bits/errno.h
-smtpap.o: /usr/include/bits/in.h /usr/include/bits/local_lim.h
-smtpap.o: /usr/include/bits/netdb.h /usr/include/bits/posix1_lim.h
-smtpap.o: /usr/include/bits/posix2_lim.h /usr/include/bits/posix_opt.h
-smtpap.o: /usr/include/bits/pthreadtypes.h /usr/include/bits/resource.h
-smtpap.o: /usr/include/bits/sched.h /usr/include/bits/select.h
-smtpap.o: /usr/include/bits/sigaction.h /usr/include/bits/sigcontext.h
-smtpap.o: /usr/include/bits/siginfo.h /usr/include/bits/signum.h
-smtpap.o: /usr/include/bits/sigset.h /usr/include/bits/sigstack.h
-smtpap.o: /usr/include/bits/sigthread.h /usr/include/bits/sockaddr.h
-smtpap.o: /usr/include/bits/socket.h /usr/include/bits/stdio_lim.h
-smtpap.o: /usr/include/bits/time.h /usr/include/bits/types.h
-smtpap.o: /usr/include/bits/uio.h /usr/include/bits/waitflags.h
-smtpap.o: /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h
-smtpap.o: /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h
-smtpap.o: /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h
-smtpap.o: /usr/include/features.h /usr/include/_G_config.h
-smtpap.o: /usr/include/gconv.h /usr/include/getopt.h /usr/include/gnu/stubs.h
-smtpap.o: /usr/include/libio.h /usr/include/limits.h
-smtpap.o: /usr/include/linux/errno.h /usr/include/linux/limits.h
-smtpap.o: /usr/include/netdb.h /usr/include/netinet/in.h
-smtpap.o: /usr/include/rpc/netdb.h /usr/include/signal.h /usr/include/stdint.h
-smtpap.o: /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h
-smtpap.o: /usr/include/sys/cdefs.h /usr/include/syslog.h
-smtpap.o: /usr/include/sys/resource.h /usr/include/sys/select.h
-smtpap.o: /usr/include/sys/socket.h /usr/include/sys/syslog.h
-smtpap.o: /usr/include/sys/sysmacros.h /usr/include/sys/time.h
-smtpap.o: /usr/include/sys/types.h /usr/include/sys/ucontext.h
-smtpap.o: /usr/include/sys/uio.h /usr/include/sys/un.h /usr/include/sys/wait.h
-smtpap.o: /usr/include/time.h /usr/include/ucontext.h /usr/include/unistd.h
-smtpap.o: /usr/include/wait.h /usr/include/wchar.h /usr/include/xlocale.h
-smtpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/limits.h
-smtpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stdarg.h
-smtpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/stddef.h
-smtpap.o: /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/syslimits.h
+# Makefile.in generated by automake 1.6.1 from Makefile.am.
+# src/smtpap/Makefile. Generated from Makefile.in by configure.
+
+# 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.
+
+# 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.
+
+
+SHELL = /bin/sh
+
+srcdir = .
+top_srcdir = ../..
+
+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 = ../..
+
+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 = smtpap
+
+smtpap_LDADD = -L../common -lor
+
+smtpap_SOURCES = smtpap.c io.c
+
+noinst_HEADERS = smtpap.h io.h
+subdir = src/smtpap
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/orconfig.h
+CONFIG_CLEAN_FILES =
+bin_PROGRAMS = smtpap$(EXEEXT)
+PROGRAMS = $(bin_PROGRAMS)
+
+am_smtpap_OBJECTS = smtpap.$(OBJEXT) io.$(OBJEXT)
+smtpap_OBJECTS = $(am_smtpap_OBJECTS)
+smtpap_DEPENDENCIES =
+smtpap_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)/io.Po ./$(DEPDIR)/smtpap.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 = $(smtpap_SOURCES)
+HEADERS = $(noinst_HEADERS)
+
+DIST_COMMON = $(noinst_HEADERS) Makefile.am Makefile.in
+SOURCES = $(smtpap_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/smtpap/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)
+smtpap$(EXEEXT): $(smtpap_OBJECTS) $(smtpap_DEPENDENCIES)
+ @rm -f smtpap$(EXEEXT)
+ $(LINK) $(smtpap_LDFLAGS) $(smtpap_OBJECTS) $(smtpap_LDADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT) core *.core
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include ./$(DEPDIR)/io.Po
+include ./$(DEPDIR)/smtpap.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: