]> jfr.im git - irc/thales.git/commitdiff
added getopt_long() support
authorklausweiss <klausweiss>
Fri, 2 Feb 2007 17:29:14 +0000 (17:29 +0000)
committerklausweiss <klausweiss>
Fri, 2 Feb 2007 17:29:14 +0000 (17:29 +0000)
src/Makefile.in
src/config.h.in
src/main.c
src/thales.h

index 130388c5e870b7ee06a553f79a93b65014c60c79..8fe914fb923ada6c26893f57e7228426df06a2f3 100644 (file)
@@ -1,6 +1,8 @@
-# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
 
-# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005  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.
 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
 # PARTICULAR PURPOSE.
 
-
-SHELL = @SHELL@
+@SET_MAKE@
 
 srcdir = @srcdir@
 top_srcdir = @top_srcdir@
 VPATH = @srcdir@
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-libexecdir = @libexecdir@
-sysconfdir = @sysconfdir@
-sharedstatedir = @sharedstatedir@
-localstatedir = @localstatedir@
-libdir = @libdir@
-infodir = @infodir@
-mandir = @mandir@
-includedir = @includedir@
-oldincludedir = /usr/include
-
-DESTDIR =
-
 pkgdatadir = $(datadir)/@PACKAGE@
 pkglibdir = $(libdir)/@PACKAGE@
 pkgincludedir = $(includedir)/@PACKAGE@
-
 top_builddir = ..
-
-ACLOCAL = @ACLOCAL@
-AUTOCONF = @AUTOCONF@
-AUTOMAKE = @AUTOMAKE@
-AUTOHEADER = @AUTOHEADER@
-
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
 INSTALL = @INSTALL@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-transform = @program_transform_name@
-
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
 NORMAL_INSTALL = :
 PRE_INSTALL = :
 POST_INSTALL = :
 NORMAL_UNINSTALL = :
 PRE_UNINSTALL = :
 POST_UNINSTALL = :
-host_alias = @host_alias@
-host_triplet = @host@
+bin_PROGRAMS = thales$(EXEEXT)
+subdir = src
+DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
+       $(srcdir)/config.h.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
+       $(top_srcdir)/configure.in
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+       $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+CONFIG_HEADER = config.h
+CONFIG_CLEAN_FILES =
+am__installdirs = "$(DESTDIR)$(bindir)"
+binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
+PROGRAMS = $(bin_PROGRAMS)
+am_thales_OBJECTS = thales-main.$(OBJEXT) thales-log.$(OBJEXT) \
+       thales-conf.$(OBJEXT) thales-compat.$(OBJEXT) \
+       thales-misc.$(OBJEXT) thales-send.$(OBJEXT) \
+       thales-sockutil.$(OBJEXT) thales-messages.$(OBJEXT) \
+       thales-process.$(OBJEXT) thales-memory.$(OBJEXT) \
+       thales-db.$(OBJEXT) thales-actions.$(OBJEXT) \
+       thales-hashlist.$(OBJEXT)
+thales_OBJECTS = $(am_thales_OBJECTS)
+thales_LDADD = $(LDADD)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+       $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(thales_SOURCES)
+DIST_SOURCES = $(thales_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
 AWK = @AWK@
 CC = @CC@
-HAVE_LIB = @HAVE_LIB@
-LIB = @LIB@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+GREP = @GREP@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
 LN_S = @LN_S@
-LTLIB = @LTLIB@
+LTLIBOBJS = @LTLIBOBJS@
 MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
 PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
 VERSION = @VERSION@
-
-bin_PROGRAMS = thales
+ac_ct_CC = @ac_ct_CC@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build_alias = @build_alias@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host_alias = @host_alias@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
 thales_SOURCES = main.c log.c log.h thales.h conf.c conf.h compat.c compat.h misc.c misc.h defs.h send.c send.h sockutil.c sockutil.h messages.c messages.h process.c process.h memory.c memory.h db.c db.h actions.c actions.h hashlist.c hashlist.h
-bindir = $(exec_prefix)
-sbindir = $(exec_prefix)
-datadir = $(exec_prefix)
-mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
-CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = 
-PROGRAMS =  $(bin_PROGRAMS)
-
-
-DEFS = @DEFS@ -I. -I$(srcdir) -I.
-CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = @LIBS@
-thales_OBJECTS =  main.o log.o conf.o compat.o misc.o send.o sockutil.o \
-messages.o process.o memory.o db.o actions.o hashlist.o
-thales_LDADD = $(LDADD)
-thales_DEPENDENCIES = 
-thales_LDFLAGS = 
-CFLAGS = @CFLAGS@
-COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-DIST_COMMON =  ./stamp-h.in Makefile.am Makefile.in config.h.in
-
+thales_CPPFLAGS = "-DTHALES_CONF=\"$(sysconfdir)/thales.conf\""
+all: config.h
+       $(MAKE) $(AM_MAKEFLAGS) all-am
 
-DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
-
-TAR = tar
-GZIP_ENV = --best
-DEP_FILES =  .deps/actions.P .deps/compat.P .deps/conf.P .deps/db.P \
-.deps/hashlist.P .deps/log.P .deps/main.P .deps/memory.P \
-.deps/messages.P .deps/misc.P .deps/process.P .deps/send.P \
-.deps/sockutil.P
-SOURCES = $(thales_SOURCES)
-OBJECTS = $(thales_OBJECTS)
-
-all: all-redirect
 .SUFFIXES:
-.SUFFIXES: .S .c .o .s
-$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
-       cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile
-
-Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status $(BUILT_SOURCES)
-       cd $(top_builddir) \
-         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
-
-
-config.h: stamp-h
-       @if test ! -f $@; then \
-               rm -f stamp-h; \
-               $(MAKE) stamp-h; \
-       else :; fi
-stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status
-       cd $(top_builddir) \
-         && CONFIG_FILES= CONFIG_HEADERS=src/config.h \
-            $(SHELL) ./config.status
-       @echo timestamp > stamp-h 2> /dev/null
-$(srcdir)/config.h.in: $(srcdir)/stamp-h.in
+.SUFFIXES: .c .o .obj
+$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
+       @for dep in $?; do \
+         case '$(am__configure_deps)' in \
+           *$$dep*) \
+             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+               && exit 0; \
+             exit 1;; \
+         esac; \
+       done; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
+       cd $(top_srcdir) && \
+         $(AUTOMAKE) --gnu  src/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+       @case '$?' in \
+         *config.status*) \
+           cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+         *) \
+           echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+           cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+       esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure:  $(am__configure_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
+       cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+config.h: stamp-h1
        @if test ! -f $@; then \
-               rm -f $(srcdir)/stamp-h.in; \
-               $(MAKE) $(srcdir)/stamp-h.in; \
+         rm -f stamp-h1; \
+         $(MAKE) stamp-h1; \
        else :; fi
-$(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) 
-       cd $(top_srcdir) && $(AUTOHEADER)
-       @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null
-
-mostlyclean-hdr:
 
-clean-hdr:
+stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
+       @rm -f stamp-h1
+       cd $(top_builddir) && $(SHELL) ./config.status src/config.h
+$(srcdir)/config.h.in:  $(am__configure_deps) 
+       cd $(top_srcdir) && $(AUTOHEADER)
+       rm -f stamp-h1
+       touch $@
 
 distclean-hdr:
-       -rm -f config.h
-
-maintainer-clean-hdr:
-
-mostlyclean-binPROGRAMS:
-
-clean-binPROGRAMS:
-       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-
-distclean-binPROGRAMS:
-
-maintainer-clean-binPROGRAMS:
-
+       -rm -f config.h stamp-h1
 install-binPROGRAMS: $(bin_PROGRAMS)
        @$(NORMAL_INSTALL)
-       $(mkinstalldirs) $(DESTDIR)$(bindir)
+       test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
        @list='$(bin_PROGRAMS)'; for p in $$list; do \
-         if test -f $$p; then \
-           echo "  $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
-            $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+         p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
+         if test -f $$p \
+         ; then \
+           f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
+          echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
+          $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
          else :; fi; \
        done
 
 uninstall-binPROGRAMS:
        @$(NORMAL_UNINSTALL)
-       list='$(bin_PROGRAMS)'; for p in $$list; do \
-         rm -f $(DESTDIR)$(bindir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
+       @list='$(bin_PROGRAMS)'; for p in $$list; do \
+         f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
+         echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
+         rm -f "$(DESTDIR)$(bindir)/$$f"; \
        done
 
-.s.o:
-       $(COMPILE) -c $<
-
-.S.o:
-       $(COMPILE) -c $<
+clean-binPROGRAMS:
+       -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+thales$(EXEEXT): $(thales_OBJECTS) $(thales_DEPENDENCIES) 
+       @rm -f thales$(EXEEXT)
+       $(LINK) $(thales_LDFLAGS) $(thales_OBJECTS) $(thales_LDADD) $(LIBS)
 
 mostlyclean-compile:
-       -rm -f *.o core *.core
-
-clean-compile:
+       -rm -f *.$(OBJEXT)
 
 distclean-compile:
        -rm -f *.tab.c
 
-maintainer-clean-compile:
-
-thales: $(thales_OBJECTS) $(thales_DEPENDENCIES)
-       @rm -f thales
-       $(LINK) $(thales_LDFLAGS) $(thales_OBJECTS) $(thales_LDADD) $(LIBS)
-
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-actions.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-compat.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-conf.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-db.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-hashlist.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-log.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-main.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-memory.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-messages.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-misc.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-process.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-send.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/thales-sockutil.Po@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@   if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@   if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+thales-main.o: main.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-main.o -MD -MP -MF "$(DEPDIR)/thales-main.Tpo" -c -o thales-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-main.Tpo" "$(DEPDIR)/thales-main.Po"; else rm -f "$(DEPDIR)/thales-main.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='main.c' object='thales-main.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
+
+thales-main.obj: main.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-main.obj -MD -MP -MF "$(DEPDIR)/thales-main.Tpo" -c -o thales-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-main.Tpo" "$(DEPDIR)/thales-main.Po"; else rm -f "$(DEPDIR)/thales-main.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='main.c' object='thales-main.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
+
+thales-log.o: log.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-log.o -MD -MP -MF "$(DEPDIR)/thales-log.Tpo" -c -o thales-log.o `test -f 'log.c' || echo '$(srcdir)/'`log.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-log.Tpo" "$(DEPDIR)/thales-log.Po"; else rm -f "$(DEPDIR)/thales-log.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='log.c' object='thales-log.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-log.o `test -f 'log.c' || echo '$(srcdir)/'`log.c
+
+thales-log.obj: log.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-log.obj -MD -MP -MF "$(DEPDIR)/thales-log.Tpo" -c -o thales-log.obj `if test -f 'log.c'; then $(CYGPATH_W) 'log.c'; else $(CYGPATH_W) '$(srcdir)/log.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-log.Tpo" "$(DEPDIR)/thales-log.Po"; else rm -f "$(DEPDIR)/thales-log.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='log.c' object='thales-log.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-log.obj `if test -f 'log.c'; then $(CYGPATH_W) 'log.c'; else $(CYGPATH_W) '$(srcdir)/log.c'; fi`
+
+thales-conf.o: conf.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-conf.o -MD -MP -MF "$(DEPDIR)/thales-conf.Tpo" -c -o thales-conf.o `test -f 'conf.c' || echo '$(srcdir)/'`conf.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-conf.Tpo" "$(DEPDIR)/thales-conf.Po"; else rm -f "$(DEPDIR)/thales-conf.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='conf.c' object='thales-conf.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-conf.o `test -f 'conf.c' || echo '$(srcdir)/'`conf.c
+
+thales-conf.obj: conf.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-conf.obj -MD -MP -MF "$(DEPDIR)/thales-conf.Tpo" -c -o thales-conf.obj `if test -f 'conf.c'; then $(CYGPATH_W) 'conf.c'; else $(CYGPATH_W) '$(srcdir)/conf.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-conf.Tpo" "$(DEPDIR)/thales-conf.Po"; else rm -f "$(DEPDIR)/thales-conf.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='conf.c' object='thales-conf.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-conf.obj `if test -f 'conf.c'; then $(CYGPATH_W) 'conf.c'; else $(CYGPATH_W) '$(srcdir)/conf.c'; fi`
+
+thales-compat.o: compat.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-compat.o -MD -MP -MF "$(DEPDIR)/thales-compat.Tpo" -c -o thales-compat.o `test -f 'compat.c' || echo '$(srcdir)/'`compat.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-compat.Tpo" "$(DEPDIR)/thales-compat.Po"; else rm -f "$(DEPDIR)/thales-compat.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='compat.c' object='thales-compat.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-compat.o `test -f 'compat.c' || echo '$(srcdir)/'`compat.c
+
+thales-compat.obj: compat.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-compat.obj -MD -MP -MF "$(DEPDIR)/thales-compat.Tpo" -c -o thales-compat.obj `if test -f 'compat.c'; then $(CYGPATH_W) 'compat.c'; else $(CYGPATH_W) '$(srcdir)/compat.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-compat.Tpo" "$(DEPDIR)/thales-compat.Po"; else rm -f "$(DEPDIR)/thales-compat.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='compat.c' object='thales-compat.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-compat.obj `if test -f 'compat.c'; then $(CYGPATH_W) 'compat.c'; else $(CYGPATH_W) '$(srcdir)/compat.c'; fi`
+
+thales-misc.o: misc.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-misc.o -MD -MP -MF "$(DEPDIR)/thales-misc.Tpo" -c -o thales-misc.o `test -f 'misc.c' || echo '$(srcdir)/'`misc.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-misc.Tpo" "$(DEPDIR)/thales-misc.Po"; else rm -f "$(DEPDIR)/thales-misc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='misc.c' object='thales-misc.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-misc.o `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
+
+thales-misc.obj: misc.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-misc.obj -MD -MP -MF "$(DEPDIR)/thales-misc.Tpo" -c -o thales-misc.obj `if test -f 'misc.c'; then $(CYGPATH_W) 'misc.c'; else $(CYGPATH_W) '$(srcdir)/misc.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-misc.Tpo" "$(DEPDIR)/thales-misc.Po"; else rm -f "$(DEPDIR)/thales-misc.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='misc.c' object='thales-misc.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-misc.obj `if test -f 'misc.c'; then $(CYGPATH_W) 'misc.c'; else $(CYGPATH_W) '$(srcdir)/misc.c'; fi`
+
+thales-send.o: send.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-send.o -MD -MP -MF "$(DEPDIR)/thales-send.Tpo" -c -o thales-send.o `test -f 'send.c' || echo '$(srcdir)/'`send.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-send.Tpo" "$(DEPDIR)/thales-send.Po"; else rm -f "$(DEPDIR)/thales-send.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='send.c' object='thales-send.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-send.o `test -f 'send.c' || echo '$(srcdir)/'`send.c
+
+thales-send.obj: send.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-send.obj -MD -MP -MF "$(DEPDIR)/thales-send.Tpo" -c -o thales-send.obj `if test -f 'send.c'; then $(CYGPATH_W) 'send.c'; else $(CYGPATH_W) '$(srcdir)/send.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-send.Tpo" "$(DEPDIR)/thales-send.Po"; else rm -f "$(DEPDIR)/thales-send.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='send.c' object='thales-send.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-send.obj `if test -f 'send.c'; then $(CYGPATH_W) 'send.c'; else $(CYGPATH_W) '$(srcdir)/send.c'; fi`
+
+thales-sockutil.o: sockutil.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-sockutil.o -MD -MP -MF "$(DEPDIR)/thales-sockutil.Tpo" -c -o thales-sockutil.o `test -f 'sockutil.c' || echo '$(srcdir)/'`sockutil.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-sockutil.Tpo" "$(DEPDIR)/thales-sockutil.Po"; else rm -f "$(DEPDIR)/thales-sockutil.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sockutil.c' object='thales-sockutil.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-sockutil.o `test -f 'sockutil.c' || echo '$(srcdir)/'`sockutil.c
+
+thales-sockutil.obj: sockutil.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-sockutil.obj -MD -MP -MF "$(DEPDIR)/thales-sockutil.Tpo" -c -o thales-sockutil.obj `if test -f 'sockutil.c'; then $(CYGPATH_W) 'sockutil.c'; else $(CYGPATH_W) '$(srcdir)/sockutil.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-sockutil.Tpo" "$(DEPDIR)/thales-sockutil.Po"; else rm -f "$(DEPDIR)/thales-sockutil.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='sockutil.c' object='thales-sockutil.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-sockutil.obj `if test -f 'sockutil.c'; then $(CYGPATH_W) 'sockutil.c'; else $(CYGPATH_W) '$(srcdir)/sockutil.c'; fi`
+
+thales-messages.o: messages.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-messages.o -MD -MP -MF "$(DEPDIR)/thales-messages.Tpo" -c -o thales-messages.o `test -f 'messages.c' || echo '$(srcdir)/'`messages.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-messages.Tpo" "$(DEPDIR)/thales-messages.Po"; else rm -f "$(DEPDIR)/thales-messages.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='messages.c' object='thales-messages.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-messages.o `test -f 'messages.c' || echo '$(srcdir)/'`messages.c
+
+thales-messages.obj: messages.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-messages.obj -MD -MP -MF "$(DEPDIR)/thales-messages.Tpo" -c -o thales-messages.obj `if test -f 'messages.c'; then $(CYGPATH_W) 'messages.c'; else $(CYGPATH_W) '$(srcdir)/messages.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-messages.Tpo" "$(DEPDIR)/thales-messages.Po"; else rm -f "$(DEPDIR)/thales-messages.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='messages.c' object='thales-messages.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-messages.obj `if test -f 'messages.c'; then $(CYGPATH_W) 'messages.c'; else $(CYGPATH_W) '$(srcdir)/messages.c'; fi`
+
+thales-process.o: process.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-process.o -MD -MP -MF "$(DEPDIR)/thales-process.Tpo" -c -o thales-process.o `test -f 'process.c' || echo '$(srcdir)/'`process.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-process.Tpo" "$(DEPDIR)/thales-process.Po"; else rm -f "$(DEPDIR)/thales-process.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='process.c' object='thales-process.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-process.o `test -f 'process.c' || echo '$(srcdir)/'`process.c
+
+thales-process.obj: process.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-process.obj -MD -MP -MF "$(DEPDIR)/thales-process.Tpo" -c -o thales-process.obj `if test -f 'process.c'; then $(CYGPATH_W) 'process.c'; else $(CYGPATH_W) '$(srcdir)/process.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-process.Tpo" "$(DEPDIR)/thales-process.Po"; else rm -f "$(DEPDIR)/thales-process.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='process.c' object='thales-process.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-process.obj `if test -f 'process.c'; then $(CYGPATH_W) 'process.c'; else $(CYGPATH_W) '$(srcdir)/process.c'; fi`
+
+thales-memory.o: memory.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-memory.o -MD -MP -MF "$(DEPDIR)/thales-memory.Tpo" -c -o thales-memory.o `test -f 'memory.c' || echo '$(srcdir)/'`memory.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-memory.Tpo" "$(DEPDIR)/thales-memory.Po"; else rm -f "$(DEPDIR)/thales-memory.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='memory.c' object='thales-memory.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-memory.o `test -f 'memory.c' || echo '$(srcdir)/'`memory.c
+
+thales-memory.obj: memory.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-memory.obj -MD -MP -MF "$(DEPDIR)/thales-memory.Tpo" -c -o thales-memory.obj `if test -f 'memory.c'; then $(CYGPATH_W) 'memory.c'; else $(CYGPATH_W) '$(srcdir)/memory.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-memory.Tpo" "$(DEPDIR)/thales-memory.Po"; else rm -f "$(DEPDIR)/thales-memory.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='memory.c' object='thales-memory.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-memory.obj `if test -f 'memory.c'; then $(CYGPATH_W) 'memory.c'; else $(CYGPATH_W) '$(srcdir)/memory.c'; fi`
+
+thales-db.o: db.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-db.o -MD -MP -MF "$(DEPDIR)/thales-db.Tpo" -c -o thales-db.o `test -f 'db.c' || echo '$(srcdir)/'`db.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-db.Tpo" "$(DEPDIR)/thales-db.Po"; else rm -f "$(DEPDIR)/thales-db.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='db.c' object='thales-db.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-db.o `test -f 'db.c' || echo '$(srcdir)/'`db.c
+
+thales-db.obj: db.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-db.obj -MD -MP -MF "$(DEPDIR)/thales-db.Tpo" -c -o thales-db.obj `if test -f 'db.c'; then $(CYGPATH_W) 'db.c'; else $(CYGPATH_W) '$(srcdir)/db.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-db.Tpo" "$(DEPDIR)/thales-db.Po"; else rm -f "$(DEPDIR)/thales-db.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='db.c' object='thales-db.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-db.obj `if test -f 'db.c'; then $(CYGPATH_W) 'db.c'; else $(CYGPATH_W) '$(srcdir)/db.c'; fi`
+
+thales-actions.o: actions.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-actions.o -MD -MP -MF "$(DEPDIR)/thales-actions.Tpo" -c -o thales-actions.o `test -f 'actions.c' || echo '$(srcdir)/'`actions.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-actions.Tpo" "$(DEPDIR)/thales-actions.Po"; else rm -f "$(DEPDIR)/thales-actions.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='actions.c' object='thales-actions.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-actions.o `test -f 'actions.c' || echo '$(srcdir)/'`actions.c
+
+thales-actions.obj: actions.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-actions.obj -MD -MP -MF "$(DEPDIR)/thales-actions.Tpo" -c -o thales-actions.obj `if test -f 'actions.c'; then $(CYGPATH_W) 'actions.c'; else $(CYGPATH_W) '$(srcdir)/actions.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-actions.Tpo" "$(DEPDIR)/thales-actions.Po"; else rm -f "$(DEPDIR)/thales-actions.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='actions.c' object='thales-actions.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-actions.obj `if test -f 'actions.c'; then $(CYGPATH_W) 'actions.c'; else $(CYGPATH_W) '$(srcdir)/actions.c'; fi`
+
+thales-hashlist.o: hashlist.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-hashlist.o -MD -MP -MF "$(DEPDIR)/thales-hashlist.Tpo" -c -o thales-hashlist.o `test -f 'hashlist.c' || echo '$(srcdir)/'`hashlist.c; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-hashlist.Tpo" "$(DEPDIR)/thales-hashlist.Po"; else rm -f "$(DEPDIR)/thales-hashlist.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='hashlist.c' object='thales-hashlist.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-hashlist.o `test -f 'hashlist.c' || echo '$(srcdir)/'`hashlist.c
+
+thales-hashlist.obj: hashlist.c
+@am__fastdepCC_TRUE@   if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT thales-hashlist.obj -MD -MP -MF "$(DEPDIR)/thales-hashlist.Tpo" -c -o thales-hashlist.obj `if test -f 'hashlist.c'; then $(CYGPATH_W) 'hashlist.c'; else $(CYGPATH_W) '$(srcdir)/hashlist.c'; fi`; \
+@am__fastdepCC_TRUE@   then mv -f "$(DEPDIR)/thales-hashlist.Tpo" "$(DEPDIR)/thales-hashlist.Po"; else rm -f "$(DEPDIR)/thales-hashlist.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      source='hashlist.c' object='thales-hashlist.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@      DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@  $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(thales_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o thales-hashlist.obj `if test -f 'hashlist.c'; then $(CYGPATH_W) 'hashlist.c'; else $(CYGPATH_W) '$(srcdir)/hashlist.c'; fi`
+uninstall-info-am:
+
+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: TAGS
 
-ID: $(HEADERS) $(SOURCES) $(LISP)
-       list='$(SOURCES) $(HEADERS)'; \
-       unique=`for i in $$list; do echo $$i; done | \
-         awk '    { files[$$0] = 1; } \
+TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
+       tags=; \
+       here=`pwd`; \
+       list='$(SOURCES) $(HEADERS) config.h.in $(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; }'`; \
-       here=`pwd` && cd $(srcdir) \
-         && mkid -f$$here/ID $$unique $(LISP)
-
-TAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP)
+       if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+         test -n "$$unique" || unique=$$empty_fix; \
+         $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+           $$tags $$unique; \
+       fi
+ctags: CTAGS
+CTAGS:  $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
+               $(TAGS_FILES) $(LISP)
        tags=; \
        here=`pwd`; \
-       list='$(SOURCES) $(HEADERS)'; \
-       unique=`for i in $$list; do echo $$i; done | \
-         awk '    { files[$$0] = 1; } \
+       list='$(SOURCES) $(HEADERS) config.h.in $(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)config.h.in$$unique$(LISP)$$tags" \
-         || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
-
-mostlyclean-tags:
+       test -z "$(CTAGS_ARGS)$$tags$$unique" \
+         || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+            $$tags $$unique
 
-clean-tags:
+GTAGS:
+       here=`$(am__cd) $(top_builddir) && pwd` \
+         && cd $(top_srcdir) \
+         && gtags -i $(GTAGS_ARGS) $$here
 
 distclean-tags:
-       -rm -f TAGS ID
-
-maintainer-clean-tags:
-
-distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
-
-subdir = src
+       -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
 
 distdir: $(DISTFILES)
-       here=`cd $(top_builddir) && pwd`; \
-       top_distdir=`cd $(top_distdir) && pwd`; \
-       distdir=`cd $(distdir) && pwd`; \
-       cd $(top_srcdir) \
-         && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu src/Makefile
-       @for file in $(DISTFILES); do \
-         d=$(srcdir); \
+       @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+       topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+       list='$(DISTFILES)'; for file in $$list; do \
+         case $$file in \
+           $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+           $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+         esac; \
+         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"; \
+           $(mkdir_p) "$(distdir)$$dir"; \
+         else \
+           dir=''; \
+         fi; \
          if test -d $$d/$$file; then \
-           cp -pr $$d/$$file $(distdir)/$$file; \
+           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 \
-           || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
-           || cp -p $$d/$$file $(distdir)/$$file || :; \
+           || cp -p $$d/$$file $(distdir)/$$file \
+           || exit 1; \
          fi; \
        done
+check-am: all-am
+check: check-am
+all-am: Makefile $(PROGRAMS) config.h
+installdirs:
+       for dir in "$(DESTDIR)$(bindir)"; do \
+         test -z "$$dir" || $(mkdir_p) "$$dir"; \
+       done
+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_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+         `test -z '$(STRIP)' || \
+           echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
 
-DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
+clean-generic:
+
+distclean-generic:
+       -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
 
--include $(DEP_FILES)
+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
 
-mostlyclean-depend:
+clean-am: clean-binPROGRAMS clean-generic mostlyclean-am
 
-clean-depend:
+distclean: distclean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+       distclean-hdr distclean-tags
 
-distclean-depend:
-       -rm -rf .deps
+dvi: dvi-am
 
-maintainer-clean-depend:
+dvi-am:
 
-%.o: %.c
-       @echo '$(COMPILE) -c $<'; \
-       $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-       @-cp .deps/$(*F).pp .deps/$(*F).P; \
-       tr ' ' '\012' < .deps/$(*F).pp \
-         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-           >> .deps/$(*F).P; \
-       rm .deps/$(*F).pp
+html: html-am
 
-%.lo: %.c
-       @echo '$(LTCOMPILE) -c $<'; \
-       $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
-       @-sed -e 's/^\([^:]*\)\.o[      ]*:/\1.lo \1.o :/' \
-         < .deps/$(*F).pp > .deps/$(*F).P; \
-       tr ' ' '\012' < .deps/$(*F).pp \
-         | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
-           >> .deps/$(*F).P; \
-       rm -f .deps/$(*F).pp
-info-am:
 info: info-am
-dvi-am:
-dvi: dvi-am
-check-am: all-am
-check: check-am
-installcheck-am:
-installcheck: installcheck-am
-all-recursive-am: config.h
-       $(MAKE) $(AM_MAKEFLAGS) all-recursive
 
-install-exec-am: install-binPROGRAMS
-install-exec: install-exec-am
+info-am:
 
 install-data-am:
-install-data: install-data-am
-
-install-am: all-am
-       @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-install: install-am
-uninstall-am: uninstall-binPROGRAMS
-uninstall: uninstall-am
-all-am: Makefile $(PROGRAMS) config.h
-all-redirect: all-am
-install-strip:
-       $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
-installdirs:
-       $(mkinstalldirs)  $(DESTDIR)$(bindir)
 
+install-exec-am: install-binPROGRAMS
 
-mostlyclean-generic:
+install-info: install-info-am
 
-clean-generic:
+install-man:
 
-distclean-generic:
-       -rm -f Makefile $(CONFIG_CLEAN_FILES)
-       -rm -f config.cache config.log stamp-h stamp-h[0-9]*
+installcheck-am:
 
-maintainer-clean-generic:
-mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
-               mostlyclean-compile mostlyclean-tags mostlyclean-depend \
-               mostlyclean-generic
+maintainer-clean: maintainer-clean-am
+       -rm -rf ./$(DEPDIR)
+       -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
 
 mostlyclean: mostlyclean-am
 
-clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
-               clean-depend clean-generic mostlyclean-am
+mostlyclean-am: mostlyclean-compile mostlyclean-generic
 
-clean: clean-am
+pdf: pdf-am
 
-distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
-               distclean-tags distclean-depend distclean-generic \
-               clean-am
+pdf-am:
 
-distclean: distclean-am
+ps: ps-am
 
-maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
-               maintainer-clean-compile maintainer-clean-tags \
-               maintainer-clean-depend maintainer-clean-generic \
-               distclean-am
-       @echo "This command is intended for maintainers to use;"
-       @echo "it deletes files that may require special tools to rebuild."
-
-maintainer-clean: maintainer-clean-am
+ps-am:
 
-.PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \
-mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
-maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
-mostlyclean-compile distclean-compile clean-compile \
-maintainer-clean-compile tags mostlyclean-tags distclean-tags \
-clean-tags maintainer-clean-tags distdir mostlyclean-depend \
-distclean-depend clean-depend maintainer-clean-depend info-am info \
-dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \
-install-exec-am install-exec install-data-am install-data install-am \
-install uninstall-am uninstall all-redirect all-am all installdirs \
-mostlyclean-generic distclean-generic clean-generic \
-maintainer-clean-generic clean mostlyclean distclean maintainer-clean
+uninstall-am: uninstall-binPROGRAMS uninstall-info-am
 
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
+       clean-generic ctags distclean distclean-compile \
+       distclean-generic distclean-hdr distclean-tags distdir dvi \
+       dvi-am html html-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 pdf pdf-am ps ps-am \
+       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.
index 9ae444aed1b8f14ca32bfcbc81baee46eb809ebb..d2d648cfdf1b1524d17d662c68d3496ab5ed1fbc 100644 (file)
 /* Define to rpl_realloc if the replacement function should be used. */
 #undef realloc
 
-/* Define to `unsigned' if <sys/types.h> does not define. */
+/* Define to `unsigned int' if <sys/types.h> does not define. */
 #undef size_t
 
 /* Define as `fork' if `vfork' does not work. */
index 9095f7dd2342f1cf0f229d7d764771c0354633c0..71baa0722d79c3e96deb64c29c8a49247bc45c4f 100644 (file)
@@ -31,7 +31,7 @@
 
 int debug = 0;                                           /* -d , debug mode = don't fork + log to stderr */
 
-int verbose = 0;                                         /* -v, verbose output */
+int verbose = 0;                                         /* -V, verbose output */
 
 /* Socket for talking to server */
 int servsock = -1;
@@ -51,16 +51,29 @@ extern char *RemotePassword;
 extern char *ServerName;
 extern char *ServerDesc;
 
-/* display usage */
-void usage()
+
+void
+usage()
+{
+  printf("Usage:\n\
+  -d, --debug                   enable debugging mode\n\
+  -h, --help                    print this text\n\
+  -v, --version                 display version and exit\n");
+  
+}
+
+void
+version()
 {
-       printf("\n   Syntax : thales\n");
-       printf("         -v : enable verbose mode\n");
-       printf("         -d : enable debugging mode\n");
-       printf("         -V : display version and exit\n");
-       exit(1);
+  printf("%s\n\
+Copyright 2007 Free Software Foundation, Inc.\n\
+This program is free software; you may redistribute it under the terms of\n\
+the GNU General Public License.  This program has absolutely no warranty.\n",
+        PACKAGE_STRING);
+  
 }
 
+
 /* Create our PID file and write the PID to it. */
 void write_pidfile(void)
 {
@@ -81,172 +94,226 @@ void write_pidfile(void)
 /* Main routine */
 int main(int argc, char **argv)
 {
-       char ch;
-       int i;
-       char *ch1, *ch2;
-       /* record start time */
-       start_time = time(NULL);
-       /* Parse command line options */
-       while ((ch = getopt(argc, argv, "dvV")) != -1)
+  char ch;
+  int i;
+  char *ch1, *ch2;
+  int opt = 0;
+  int opt_index = 0;
+
+  static struct option thales_options[] =
+    {
+      {"version", no_argument, NULL, 'v'},
+      {"verbose", no_argument, NULL, 'V'},
+      {"help", no_argument, NULL, 'h'},
+      {"debug", no_argument, NULL, 'd'},
+      {0, 0, 0, 0}
+    };
+
+
+  /* record start time */
+  start_time = time(NULL);
+  
+  opt = getopt_long(argc, argv, "hvVd",
+                   thales_options, &opt_index);
+
+  while(opt != EOF)
+    {
+      switch(opt)
        {
-               switch (ch)
-               {
-               case 'd':
-                       debug = 1;
-                       verbose = 1;
-                       break;
-               case 'v':
-                       verbose = 1;
-                       break;
-               case 'V':
-                       printf("GNU Thales v.%s\n", VERSION);
-                       exit(0);
-                       break;
-               default:
-                       usage();
-               }
+       case 'd':
+         verbose = 1;
+         debug = 1;
+         break;
+
+
+       case 'h':
+         usage();
+         exit(EXIT_SUCCESS);
+         break;
+         
+       case 'v':
+         version();
+         exit(EXIT_SUCCESS);
+         break;
+         
+       case 'V':
+         verbose = 1;
+         break;
+         
+
+       default:
+         usage();
        }
+      
+      opt = getopt_long(argc, argv, "hvVc:",
+                       thales_options, &opt_index);
+    }
 
-       /* Read configuration file; exit if there are problems. */
-       if (!read_config())
-               exit(-1);
 
-       /* Open logfile, and complain if we didn't. */
-       if (open_log() < 0)
+
+#if 0
+  /* Parse command line options */
+  while ((ch = getopt(argc, argv, "dvV")) != -1)
+    {
+      switch (ch)
        {
-               fprintf(stderr, "Warning: unable to open log file : %s\n",
-                                 strerror(errno));
-               exit(1);
+       case 'd':
+         debug = 1;
+         verbose = 1;
+         break;
+       case 'v':
+         verbose = 1;
+         break;
+       case 'V':
+         printf("GNU Thales v.%s\n", VERSION);
+         exit(0);
+         break;
+       default:
+         usage();
        }
-
-       /* Detach ourselves if requested. */
-       if (!debug)
+    }
+#endif
+  
+  /* Read configuration file; exit if there are problems. */
+  if (!read_config())
+    exit(-1);
+  
+  /* Open logfile, and complain if we didn't. */
+  if (open_log() < 0)
+    {
+      fprintf(stderr, "Warning: unable to open log file : %s\n",
+                   strerror(errno));
+      exit(1);
+    }
+  
+  /* Detach ourselves if requested. */
+  if (!debug)
+    {
+      if ((i = fork()) < 0)
        {
-               if ((i = fork()) < 0)
-               {
-                       perror("fork()");
-                       return -1;
-               }
-               else if (i != 0)
-               {
-                       exit(0);
-               }
-               if (isatty(0) && isatty(1) && isatty(2))
-               {
-                       close(0);
-                       close(1);
-                       close(2);
-               }
+         perror("fork()");
+         return -1;
        }
-       write_pidfile();
+      else if (i != 0)
+       {
+         exit(0);
+       }
+      if (isatty(0) && isatty(1) && isatty(2))
+       {
+         close(0);
+         close(1);
+         close(2);
+       }
+    }
+  write_pidfile();
 
-       /* Announce ourselves to the logfile. */
-       mylog("GNU Thales %s starting up with %s support%s", VERSION,
+  /* Announce ourselves to the logfile. */
+  mylog("GNU Thales %s starting up with %s support%s", VERSION,
 #if defined(IRCD_UNREAL)
-                "unreal",
+       "unreal",
 #elif defined(IRCD_HYBRID)
-                "hybrid",
+       "hybrid",
 #elif defined (IRCD_BAHAMUT)
-                "bahamut",
+       "bahamut",
 #elif defined (IRCD_IRCDRU)
-                "ircdru",
+       "ircdru",
 #elif defined (IRCD_ULTIMATE)
-                "ultimate30",
+       "ultimate30",
 #elif defined (IRCD_ULTI28)
-                "ultimate28",
+       "ultimate28",
 #else
-                "unknown (!)",
+       "unknown (!)",
 #endif
-                verbose ? (debug ? " (options: debug)" : " (options: verbose") :
-                "");
-       /* I should init databases here */
-       db_connect();
-       ch1 = db_escape(ServerName);
-       ch2 = db_escape(ServerDesc);
-       db_query("INSERT INTO " TBL_SERV
-                               " (server, comment, connecttime) values('%s', '%s', NOW())",
-                               ch1, ch2);
-       db_addserver(ch1, db_insertid());
-       free(ch1);
-       free(ch2);
-       /* connect to RemoteServer */
-       servsock = conn(RemoteServer, RemotePort, LocalHost, LocalPort);
-       if (servsock < 0)
-       {
-               fatal_perror("Can't connect to server");
-               exit(-1);
-       }
+       verbose ? (debug ? " (options: debug)" : " (options: verbose") :
+       "");
+  /* I should init databases here */
+  db_connect();
+  ch1 = db_escape(ServerName);
+  ch2 = db_escape(ServerDesc);
+  db_query("INSERT INTO " TBL_SERV
+          " (server, comment, connecttime) values('%s', '%s', NOW())",
+          ch1, ch2);
+  db_addserver(ch1, db_insertid());
+  free(ch1);
+  free(ch2);
+  /* connect to RemoteServer */
+  servsock = conn(RemoteServer, RemotePort, LocalHost, LocalPort);
+  if (servsock < 0)
+    {
+      fatal_perror("Can't connect to server");
+      exit(-1);
+    }
 #if defined(IRCD_UNREAL)
-       send_cmd(NULL, "PROTOCTL NICKv2 SJOIN SJOIN2 SJ3 NOQUIT");
+  send_cmd(NULL, "PROTOCTL NICKv2 SJOIN SJOIN2 SJ3 NOQUIT");
 #endif
 #if defined(IRCD_HYBRID)
-       send_cmd(NULL, "PASS %s :TS", RemotePassword);
-       send_cmd(NULL, "CAPAB :HOPS TBURST");
+  send_cmd(NULL, "PASS %s :TS", RemotePassword);
+  send_cmd(NULL, "CAPAB :HOPS TBURST");
 #elif defined (IRCD_BAHAMUT)
-       send_cmd(NULL, "PASS %s :TS", RemotePassword);
-       send_cmd(NULL, "CAPAB TS3 SSJOIN NICKIP NOQUIT");
+  send_cmd(NULL, "PASS %s :TS", RemotePassword);
+  send_cmd(NULL, "CAPAB TS3 SSJOIN NICKIP NOQUIT");
 #elif defined (IRCD_IRCDRU)
-       send_cmd(NULL, "PASS %s :TS", RemotePassword);
-       send_cmd(NULL, "CAPAB TS3 SSJOIN 8BNCI NICKIP");
-
+  send_cmd(NULL, "PASS %s :TS", RemotePassword);
+  send_cmd(NULL, "CAPAB TS3 SSJOIN 8BNCI NICKIP");
+  
 #elif defined (IRCD_ULTIMATE)
-       send_cmd(NULL, "PASS %s :TS", RemotePassword);
-       send_cmd(NULL, "CAPAB TS5 SSJ5 NICKIP");
+  send_cmd(NULL, "PASS %s :TS", RemotePassword);
+  send_cmd(NULL, "CAPAB TS5 SSJ5 NICKIP");
 #elif defined(IRCD_ULTI28)               /* special case to prevent future errors */
-       send_cmd(NULL, "PASS %s", RemotePassword);
+  send_cmd(NULL, "PASS %s", RemotePassword);
 #else
-       send_cmd(NULL, "PASS %s", RemotePassword);
+  send_cmd(NULL, "PASS %s", RemotePassword);
 #endif
-
+  
 #if defined(IRCD_IRCDRU)
-       send_cmd(NULL, "SERVER %s 1 8 :%s", ServerName, ServerDesc);
+  send_cmd(NULL, "SERVER %s 1 8 :%s", ServerName, ServerDesc);
 #else
-       send_cmd(NULL, "SERVER %s 1 :%s", ServerName, ServerDesc);
+  send_cmd(NULL, "SERVER %s 1 :%s", ServerName, ServerDesc);
 #endif
-
+  
 #if defined(IRCD_BAHAMUT)||defined(IRCD_IRCDRU)
-       send_cmd(NULL, "SVINFO 3 1 0 :%ld", time(NULL));
+  send_cmd(NULL, "SVINFO 3 1 0 :%ld", time(NULL));
 #elif defined(IRCD_ULTIMATE)
-       send_cmd(NULL, "SVINFO 5 3 0 :%ld", time(NULL));
+  send_cmd(NULL, "SVINFO 5 3 0 :%ld", time(NULL));
 #endif
 #if defined(IRCD_UNREAL)
    send_cmd(NULL, ":%s EOS", ServerName);
 #endif
-       sgets2(inbuf, sizeof(inbuf), servsock);
-       if (strncasecmp(inbuf, "ERROR", 5) == 0)
-       {
-               /* Close server socket first to stop wallops, since the other
-                * server doesn't want to listen to us anyway */
-               disconn(servsock);
-               servsock = -1;
-               fatal("Remote server returned: %s", inbuf);
-       }
-       /* We have a line left over from earlier, process it now */
-       process();
-       while (1)
-       {
-               i = (int) (long) sgets2(inbuf, sizeof(inbuf), servsock);
-               if (i > 0)
-               {
-                       process();
-               }
-               else if (i == 0)
-               {
-                       int errno_save = errno;
-                       quitmsg = (char *) scalloc(BUFSIZE, 1);
-                       if (quitmsg)
-                       {
-                               snprintf(quitmsg, BUFSIZE, "Read error from server: %s",
-                                                       strerror(errno_save));
-                       }
-                       else
-                       {
-                               quitmsg = "Read error from server";
+   sgets2(inbuf, sizeof(inbuf), servsock);
+   if (strncasecmp(inbuf, "ERROR", 5) == 0)
+     {
+       /* Close server socket first to stop wallops, since the other
+       * server doesn't want to listen to us anyway */
+       disconn(servsock);
+       servsock = -1;
+       fatal("Remote server returned: %s", inbuf);
+     }
+   /* We have a line left over from earlier, process it now */
+   process();
+   while (1)
+     {
+       i = (int) (long) sgets2(inbuf, sizeof(inbuf), servsock);
+       if (i > 0)
+        {
+          process();
+        }
+       else if (i == 0)
+        {
+          int errno_save = errno;
+          quitmsg = (char *) scalloc(BUFSIZE, 1);
+          if (quitmsg)
+            {
+              snprintf(quitmsg, BUFSIZE, "Read error from server: %s",
+                       strerror(errno_save));
+            }
+          else
+            {
+              quitmsg = "Read error from server";
                        }
-                       send_cmd(ServerName, "SQUIT %s :%s", ServerName, quitmsg);
-                       disconn(servsock);
-                       close_log();
-                       return 0;
-               }
-       }
+          send_cmd(ServerName, "SQUIT %s :%s", ServerName, quitmsg);
+          disconn(servsock);
+          close_log();
+          return 0;
+        }
+     }
 }
index 5374333059ab6265cbd2fb08d272458616216e95..13e60923bac2d4cdbcbab8ead66a3f373a533555 100644 (file)
@@ -34,6 +34,7 @@
 #include <ctype.h>
 #include <signal.h>
 #include <mysql.h>
+#include <getopt.h>
 #include "defs.h"
 #include "config.h"