libtoolize NeoStats, with full AutoConf/AutoMake support and import libtools wrappers
This commit is contained in:
parent
cd765728a0
commit
cfc48410ea
66 changed files with 59793 additions and 14391 deletions
53
.gitattributes
vendored
53
.gitattributes
vendored
|
@ -9,12 +9,22 @@
|
||||||
/Config -text
|
/Config -text
|
||||||
/INSTNOTES -text
|
/INSTNOTES -text
|
||||||
/INSTNOTES.svn -text
|
/INSTNOTES.svn -text
|
||||||
/Makefile -text
|
/Makefile.am -text
|
||||||
|
/Makefile.in -text
|
||||||
/README -text
|
/README -text
|
||||||
/RELNOTES -text
|
/RELNOTES -text
|
||||||
/TODO -text
|
/TODO -text
|
||||||
/acconfig.h eol=lf
|
|
||||||
/aclocal.m4 -text
|
/aclocal.m4 -text
|
||||||
|
autotools/acinclude.m4 -text
|
||||||
|
autotools/aclocal.m4 -text
|
||||||
|
autotools/compile -text
|
||||||
|
autotools/config.guess -text
|
||||||
|
autotools/config.sub -text
|
||||||
|
autotools/depcomp -text
|
||||||
|
autotools/install-sh -text
|
||||||
|
autotools/ltmain.sh -text
|
||||||
|
autotools/missing -text
|
||||||
|
autotools/mkinstalldirs -text
|
||||||
/config.guess -text
|
/config.guess -text
|
||||||
/config.sub -text
|
/config.sub -text
|
||||||
/configure -text
|
/configure -text
|
||||||
|
@ -41,14 +51,19 @@ doc/old/INSTALL.pt -text
|
||||||
doc/old/README.pt -text
|
doc/old/README.pt -text
|
||||||
doc/read-faq -text
|
doc/read-faq -text
|
||||||
doc/read-userman -text
|
doc/read-userman -text
|
||||||
/install-sh -text
|
include/Makefile.am -text
|
||||||
|
include/Makefile.in -text
|
||||||
|
include/config.h.in -text
|
||||||
|
include/version.sh -text
|
||||||
logs/.keepme -text
|
logs/.keepme -text
|
||||||
/makeconf -text
|
/makeconf -text
|
||||||
/neostats.motd -text
|
/neostats.motd -text
|
||||||
|
src/Makefile.am -text
|
||||||
src/Makefile.in -text
|
src/Makefile.in -text
|
||||||
src/Makefile.inc.in -text
|
src/Makefile.inc.in -text
|
||||||
src/adns/.indent.pro -text
|
src/adns/.indent.pro -text
|
||||||
src/adns/Makefile -text
|
src/adns/Makefile.am -text
|
||||||
|
src/adns/Makefile.in -text
|
||||||
src/adns/adns.h -text
|
src/adns/adns.h -text
|
||||||
src/adns/check.c -text
|
src/adns/check.c -text
|
||||||
src/adns/dlist.h -text
|
src/adns/dlist.h -text
|
||||||
|
@ -74,8 +89,8 @@ src/commands.c -text
|
||||||
src/commands.h -text
|
src/commands.h -text
|
||||||
src/conf.c eol=lf
|
src/conf.c eol=lf
|
||||||
src/conf.h eol=lf
|
src/conf.h eol=lf
|
||||||
src/config.h.in -text
|
|
||||||
src/curl/COPYING -text
|
src/curl/COPYING -text
|
||||||
|
src/curl/Makefile.am -text
|
||||||
src/curl/Makefile.in -text
|
src/curl/Makefile.in -text
|
||||||
src/curl/README -text
|
src/curl/README -text
|
||||||
src/curl/RELEASE-NOTES -text
|
src/curl/RELEASE-NOTES -text
|
||||||
|
@ -84,11 +99,6 @@ src/curl/aclocal.m4 -text
|
||||||
src/curl/arpa_telnet.h -text
|
src/curl/arpa_telnet.h -text
|
||||||
src/curl/base64.c -text
|
src/curl/base64.c -text
|
||||||
src/curl/base64.h -text
|
src/curl/base64.h -text
|
||||||
src/curl/config.guess -text
|
|
||||||
src/curl/config.h.in -text
|
|
||||||
src/curl/config.sub -text
|
|
||||||
src/curl/configure -text
|
|
||||||
src/curl/configure.in -text
|
|
||||||
src/curl/connect.c -text
|
src/curl/connect.c -text
|
||||||
src/curl/connect.h -text
|
src/curl/connect.h -text
|
||||||
src/curl/content_encoding.c -text
|
src/curl/content_encoding.c -text
|
||||||
|
@ -202,7 +212,8 @@ src/ircstring.c eol=lf
|
||||||
src/ircstring.h eol=lf
|
src/ircstring.h eol=lf
|
||||||
src/keeper.c eol=lf
|
src/keeper.c eol=lf
|
||||||
src/keeper/.indent.pro -text
|
src/keeper/.indent.pro -text
|
||||||
src/keeper/Makefile -text
|
src/keeper/Makefile.am -text
|
||||||
|
src/keeper/Makefile.in -text
|
||||||
src/keeper/keeper.h -text
|
src/keeper/keeper.h -text
|
||||||
src/keeper/kp_cache.c -text
|
src/keeper/kp_cache.c -text
|
||||||
src/keeper/kp_dir.c -text
|
src/keeper/kp_dir.c -text
|
||||||
|
@ -214,6 +225,24 @@ src/keeper/kp_set.c -text
|
||||||
src/keeper/kp_sort.c -text
|
src/keeper/kp_sort.c -text
|
||||||
src/keeper/kp_util.c -text
|
src/keeper/kp_util.c -text
|
||||||
src/keeper/kp_util.h -text
|
src/keeper/kp_util.h -text
|
||||||
|
src/libltdl/COPYING.LIB -text
|
||||||
|
src/libltdl/Makefile.am -text
|
||||||
|
src/libltdl/Makefile.in -text
|
||||||
|
src/libltdl/README -text
|
||||||
|
src/libltdl/acinclude.m4 -text
|
||||||
|
src/libltdl/aclocal.m4 -text
|
||||||
|
src/libltdl/config-h.in -text
|
||||||
|
src/libltdl/config.guess -text
|
||||||
|
src/libltdl/config.sub -text
|
||||||
|
src/libltdl/configure -text
|
||||||
|
src/libltdl/configure.in -text
|
||||||
|
src/libltdl/install-sh -text
|
||||||
|
src/libltdl/ltdl.c -text
|
||||||
|
src/libltdl/ltdl.h -text
|
||||||
|
src/libltdl/ltmain.sh -text
|
||||||
|
src/libltdl/missing -text
|
||||||
|
src/libltdl/mkinstalldirs -text
|
||||||
|
src/libltdl/stamp-h.in -text
|
||||||
src/list.c eol=lf
|
src/list.c eol=lf
|
||||||
src/list.h eol=lf
|
src/list.h eol=lf
|
||||||
src/log.c eol=lf
|
src/log.c eol=lf
|
||||||
|
@ -300,6 +329,7 @@ src/pcre/maketables.c eol=lf
|
||||||
src/pcre/pcre.c eol=lf
|
src/pcre/pcre.c eol=lf
|
||||||
src/pcre/pcre.h -text
|
src/pcre/pcre.h -text
|
||||||
src/pcre/study.c eol=lf
|
src/pcre/study.c eol=lf
|
||||||
|
src/protocol/Makefile.am -text
|
||||||
src/protocol/Makefile.in -text
|
src/protocol/Makefile.in -text
|
||||||
src/protocol/bahamut.c eol=lf
|
src/protocol/bahamut.c eol=lf
|
||||||
src/protocol/bahamut.h eol=lf
|
src/protocol/bahamut.h eol=lf
|
||||||
|
@ -377,4 +407,3 @@ src/transfer.c -text
|
||||||
src/transfer.h -text
|
src/transfer.h -text
|
||||||
src/users.c eol=lf
|
src/users.c eol=lf
|
||||||
src/users.h eol=lf
|
src/users.h eol=lf
|
||||||
src/version.sh -text
|
|
||||||
|
|
|
@ -4,6 +4,8 @@ Anything we add/remove/fix/change is in here (even our rants)
|
||||||
Fish (F), Mark (M)
|
Fish (F), Mark (M)
|
||||||
===============================================================================
|
===============================================================================
|
||||||
* NeoStats * Version 3.0.genesis
|
* NeoStats * Version 3.0.genesis
|
||||||
|
- Import libtools wrappers for dynamic module support (F)
|
||||||
|
- Full AutoConf Support on the way. Core Compiles. Modules Dont yet (F)
|
||||||
- Remove hard coded protocol/feature references in StatServ and HostServ.
|
- Remove hard coded protocol/feature references in StatServ and HostServ.
|
||||||
These are depreciated by the new soft protocol design and will use the new
|
These are depreciated by the new soft protocol design and will use the new
|
||||||
protocol/feature references in the ModuleInfo struct where required. (M)
|
protocol/feature references in the ModuleInfo struct where required. (M)
|
||||||
|
|
74
Makefile
74
Makefile
|
@ -1,74 +0,0 @@
|
||||||
# Makefile for NeoStats
|
|
||||||
include src/Makefile.inc
|
|
||||||
|
|
||||||
PROGS = src/neostats cronchk makeconf
|
|
||||||
CONF = neostats.motd
|
|
||||||
DOCS = doc/FAQ doc/USERMAN README BUGS AUTHORS COPYING CREDITS TODO \
|
|
||||||
ChangeLog doc/README.* src/modules/modules.txt RELNOTES INSTNOTES \
|
|
||||||
doc/old/*
|
|
||||||
DOCS_PROGS = doc/read-faq doc/read-userman
|
|
||||||
DATA = data/tlds.nfo
|
|
||||||
BUILDFILES = configure config.sub config.guess *.in install-sh Config \
|
|
||||||
makeconf cronchk Makefile
|
|
||||||
|
|
||||||
DISTFILES = $(BUILDFILES) $(DATA) $(DOCS) $(DOCS_PROGS) $(CONF)
|
|
||||||
|
|
||||||
SUBDIRS = doc doc/old data logs src src/tools src/modules
|
|
||||||
|
|
||||||
all:
|
|
||||||
(cd src; $(MAKE) $@)
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) *.cache *.log
|
|
||||||
(cd src; $(MAKE) $@)
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
$(RM) *.cache *.log
|
|
||||||
$(RM) config.status
|
|
||||||
(cd src; $(MAKE) $@)
|
|
||||||
|
|
||||||
install:
|
|
||||||
@echo "Installing ..."
|
|
||||||
$(INSTALL) -m 755 -d $(DIRECTORY)
|
|
||||||
$(INSTALL) -m 755 -d $(DIRECTORY)/modules
|
|
||||||
$(INSTALL) -m 755 -d $(DIRECTORY)/include
|
|
||||||
$(INSTALL) -m 755 -d $(DIRECTORY)/doc
|
|
||||||
$(INSTALL) -m 755 -d $(DIRECTORY)/doc/old
|
|
||||||
$(INSTALL) -m 755 -d $(DIRECTORY)/data
|
|
||||||
$(INSTALL) -m 750 -d $(DIRECTORY)/logs
|
|
||||||
$(INSTALL) -m 755 $(PROGS) $(DIRECTORY)
|
|
||||||
$(INSTALL_DATA) $(CONF) $(DIRECTORY)
|
|
||||||
$(INSTALL_DATA) $(DOCS) $(DIRECTORY)/doc
|
|
||||||
$(INSTALL) -m 755 $(DOCS_PROGS) $(DIRECTORY)/doc
|
|
||||||
$(INSTALL_DATA) $(DATA) $(DIRECTORY)/data
|
|
||||||
(cd src; $(MAKE) $@)
|
|
||||||
@echo "Done."
|
|
||||||
@cat INSTNOTES
|
|
||||||
@if test -f INSTNOTES.svn ; then cat INSTNOTES.svn ; fi
|
|
||||||
|
|
||||||
dist:
|
|
||||||
@echo -n "Creating Directories"
|
|
||||||
@$(RM) $(DISTDIR)
|
|
||||||
@echo -n "."
|
|
||||||
@mkdir $(DISTDIR)
|
|
||||||
@echo -n "."
|
|
||||||
@mkdir $(DISTDIR)/modules
|
|
||||||
@echo -n "."
|
|
||||||
@for subdir in $(SUBDIRS); do \
|
|
||||||
echo -n "."; \
|
|
||||||
mkdir $(DISTDIR)/$$subdir; \
|
|
||||||
chmod 777 $(DISTDIR)/$$subdir; \
|
|
||||||
done
|
|
||||||
@echo "Done"
|
|
||||||
@echo -n "Copying Core Distribution files"
|
|
||||||
@for file in $(DISTFILES); do \
|
|
||||||
echo -n "."; \
|
|
||||||
cp -pr $$file $(DISTDIR)/$$file; \
|
|
||||||
done
|
|
||||||
@$(RM) $(DISTDIR)/configure.in
|
|
||||||
@$(RM) $(DISTDIR)/src/config.h
|
|
||||||
@echo "Done"
|
|
||||||
(cd src; $(MAKE) $@)
|
|
||||||
@tar -czf $(DISTDIR).tar.gz $(DISTDIR)/*
|
|
||||||
# @$(RM) $(DISTDIR)
|
|
||||||
@echo "Tar file $(DISTDIR).tar.gz created. Freshmeat time!"
|
|
2
Makefile.am
Normal file
2
Makefile.am
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SUBDIRS = include src
|
||||||
|
ACLOCAL_AMFLAGS = -I autotools
|
531
Makefile.in
Normal file
531
Makefile.in
Normal file
|
@ -0,0 +1,531 @@
|
||||||
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = .
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
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_triplet = @host@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ALLOCA = @ALLOCA@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
GTK_CONFIG = @GTK_CONFIG@
|
||||||
|
INCLTDL = @INCLTDL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBLTDL = @LIBLTDL@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
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@
|
||||||
|
POW_LIB = @POW_LIB@
|
||||||
|
PROTOCOL = @PROTOCOL@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
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@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_configtool = @build_configtool@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
buildsqlsrv = @buildsqlsrv@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sqlsrvbuild = @sqlsrvbuild@
|
||||||
|
subdirs = @subdirs@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
SUBDIRS = include src
|
||||||
|
ACLOCAL_AMFLAGS = -I autotools
|
||||||
|
subdir = .
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
|
||||||
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
DIST_SOURCES =
|
||||||
|
|
||||||
|
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
|
||||||
|
ps-recursive install-info-recursive uninstall-info-recursive \
|
||||||
|
all-recursive install-data-recursive install-exec-recursive \
|
||||||
|
installdirs-recursive install-recursive uninstall-recursive \
|
||||||
|
check-recursive installcheck-recursive
|
||||||
|
DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
|
||||||
|
COPYING ChangeLog INSTALL Makefile.am NEWS TODO aclocal.m4 \
|
||||||
|
autotools/acinclude.m4 autotools/compile autotools/config.guess \
|
||||||
|
autotools/config.sub autotools/depcomp autotools/install-sh \
|
||||||
|
autotools/ltmain.sh autotools/missing autotools/mkinstalldirs \
|
||||||
|
configure configure.in
|
||||||
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
|
all: all-recursive
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
|
||||||
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||||
|
configure.lineno
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --gnu Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
$(SHELL) ./config.status --recheck
|
||||||
|
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
|
$(ACLOCAL_M4): configure.in autotools/acinclude.m4 autotools/aclocal.m4
|
||||||
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
|
# into them and run `make' without going through this Makefile.
|
||||||
|
# To change the values of `make' variables: instead of editing Makefiles,
|
||||||
|
# (1) if the variable is set in `config.status', edit `config.status'
|
||||||
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||||
|
# (2) otherwise, pass the desired values on the `make' command line.
|
||||||
|
$(RECURSIVE_TARGETS):
|
||||||
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||||
|
dot_seen=no; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
dot_seen=yes; \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
|
done; \
|
||||||
|
if test "$$dot_seen" = "no"; then \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
||||||
|
fi; test -z "$$fail"
|
||||||
|
|
||||||
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
||||||
|
maintainer-clean-recursive:
|
||||||
|
@set fnord $$MAKEFLAGS; amf=$$2; \
|
||||||
|
dot_seen=no; \
|
||||||
|
case "$@" in \
|
||||||
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
||||||
|
*) list='$(SUBDIRS)' ;; \
|
||||||
|
esac; \
|
||||||
|
rev=''; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = "."; then :; else \
|
||||||
|
rev="$$subdir $$rev"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
rev="$$rev ."; \
|
||||||
|
target=`echo $@ | sed s/-recursive//`; \
|
||||||
|
for subdir in $$rev; do \
|
||||||
|
echo "Making $$target in $$subdir"; \
|
||||||
|
if test "$$subdir" = "."; then \
|
||||||
|
local_target="$$target-am"; \
|
||||||
|
else \
|
||||||
|
local_target="$$target"; \
|
||||||
|
fi; \
|
||||||
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
||||||
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
||||||
|
done && test -z "$$fail"
|
||||||
|
tags-recursive:
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
||||||
|
done
|
||||||
|
ctags-recursive:
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
||||||
|
done
|
||||||
|
|
||||||
|
ETAGS = etags
|
||||||
|
ETAGSFLAGS =
|
||||||
|
|
||||||
|
CTAGS = ctags
|
||||||
|
CTAGSFLAGS =
|
||||||
|
|
||||||
|
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: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
||||||
|
$(TAGS_FILES) $(LISP)
|
||||||
|
tags=; \
|
||||||
|
here=`pwd`; \
|
||||||
|
if (etags --etags-include --version) >/dev/null 2>&1; then \
|
||||||
|
include_option=--etags-include; \
|
||||||
|
else \
|
||||||
|
include_option=--include; \
|
||||||
|
fi; \
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test -f $$subdir/TAGS && \
|
||||||
|
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
||||||
|
fi; \
|
||||||
|
done; \
|
||||||
|
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
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: ctags-recursive $(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 "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_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 tags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = .
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
am__remove_distdir = \
|
||||||
|
{ test ! -d $(distdir) \
|
||||||
|
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||||
|
&& rm -fr $(distdir); }; }
|
||||||
|
|
||||||
|
GZIP_ENV = --best
|
||||||
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
|
distcleancheck_listfiles = find . -type f -print
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
$(am__remove_distdir)
|
||||||
|
mkdir $(distdir)
|
||||||
|
$(mkinstalldirs) $(distdir)/autotools
|
||||||
|
@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"; \
|
||||||
|
$(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
|
||||||
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
||||||
|
if test "$$subdir" = .; then :; else \
|
||||||
|
test -d $(distdir)/$$subdir \
|
||||||
|
|| mkdir $(distdir)/$$subdir \
|
||||||
|
|| exit 1; \
|
||||||
|
(cd $$subdir && \
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
top_distdir="$(top_distdir)" \
|
||||||
|
distdir=../$(distdir)/$$subdir \
|
||||||
|
distdir) \
|
||||||
|
|| exit 1; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||||
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||||
|
|| chmod -R a+r $(distdir)
|
||||||
|
dist-gzip: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
dist dist-all: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
|
# it guarantees that the distribution is self-contained by making another
|
||||||
|
# tarfile.
|
||||||
|
distcheck: dist
|
||||||
|
$(am__remove_distdir)
|
||||||
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
||||||
|
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||||
|
mkdir $(distdir)/_build
|
||||||
|
mkdir $(distdir)/_inst
|
||||||
|
chmod a-w $(distdir)
|
||||||
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||||
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||||
|
&& cd $(distdir)/_build \
|
||||||
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||||
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||||
|
distuninstallcheck \
|
||||||
|
&& chmod -R a-w "$$dc_install_base" \
|
||||||
|
&& ({ \
|
||||||
|
(cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||||
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||||
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||||
|
&& rm -rf "$$dc_destdir" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
||||||
|
&& rm -f $(distdir).tar.gz \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||||
|
$(am__remove_distdir)
|
||||||
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||||
|
sed 'h;s/./=/g;p;x;p;x'
|
||||||
|
distuninstallcheck:
|
||||||
|
@cd $(distuninstallcheck_dir) \
|
||||||
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||||
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
|
if test -n "$(DESTDIR)"; then \
|
||||||
|
echo " (check DESTDIR support)"; \
|
||||||
|
fi ; \
|
||||||
|
$(distuninstallcheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
distcleancheck: distclean
|
||||||
|
@if test '$(srcdir)' = . ; then \
|
||||||
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||||
|
exit 1 ; \
|
||||||
|
fi
|
||||||
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||||
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||||
|
$(distcleancheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
check-am: all-am
|
||||||
|
check: check-recursive
|
||||||
|
all-am: Makefile
|
||||||
|
installdirs: installdirs-recursive
|
||||||
|
installdirs-am:
|
||||||
|
|
||||||
|
install: install-recursive
|
||||||
|
install-exec: install-exec-recursive
|
||||||
|
install-data: install-data-recursive
|
||||||
|
uninstall: uninstall-recursive
|
||||||
|
|
||||||
|
install-am: all-am
|
||||||
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
||||||
|
|
||||||
|
installcheck: installcheck-recursive
|
||||||
|
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 $(CONFIG_CLEAN_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-recursive
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic distclean-libtool \
|
||||||
|
distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-recursive
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-recursive
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-info: install-info-recursive
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-recursive
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -rf $(top_srcdir)/autom4te.cache
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-recursive
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-recursive
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-recursive
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
|
uninstall-info: uninstall-info-recursive
|
||||||
|
|
||||||
|
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
|
||||||
|
clean-generic clean-libtool clean-recursive ctags \
|
||||||
|
ctags-recursive dist dist-all dist-gzip distcheck distclean \
|
||||||
|
distclean-generic distclean-libtool distclean-recursive \
|
||||||
|
distclean-tags distcleancheck distdir distuninstallcheck dvi \
|
||||||
|
dvi-am dvi-recursive info info-am info-recursive install \
|
||||||
|
install-am install-data install-data-am install-data-recursive \
|
||||||
|
install-exec install-exec-am install-exec-recursive \
|
||||||
|
install-info install-info-am install-info-recursive install-man \
|
||||||
|
install-recursive install-strip installcheck installcheck-am \
|
||||||
|
installdirs installdirs-am installdirs-recursive \
|
||||||
|
maintainer-clean maintainer-clean-generic \
|
||||||
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||||
|
mostlyclean-libtool mostlyclean-recursive pdf pdf-am \
|
||||||
|
pdf-recursive ps ps-am ps-recursive tags tags-recursive \
|
||||||
|
uninstall uninstall-am uninstall-info-am \
|
||||||
|
uninstall-info-recursive uninstall-recursive
|
||||||
|
|
||||||
|
# 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:
|
95
acconfig.h
95
acconfig.h
|
@ -1,95 +0,0 @@
|
||||||
#undef IRCDAUTH
|
|
||||||
/* Define if inline functions a la GCC are available. */
|
|
||||||
#undef HAVE_INLINE
|
|
||||||
|
|
||||||
/* Define if function attributes a la GCC 2.5 and higher are available. */
|
|
||||||
#undef HAVE_GNUC25_ATTRIB
|
|
||||||
|
|
||||||
/* Define if constant functions a la GCC 2.5 and higher are available. */
|
|
||||||
#undef HAVE_GNUC25_CONST
|
|
||||||
|
|
||||||
/* Define if nonreturning functions a la GCC 2.5 and higher are available. */
|
|
||||||
#undef HAVE_GNUC25_NORETURN
|
|
||||||
|
|
||||||
/* Define if printf-format argument lists a la GCC are available. */
|
|
||||||
#undef HAVE_GNUC25_PRINTFFORMAT
|
|
||||||
|
|
||||||
/* Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */
|
|
||||||
#undef HAVEUSE_RPCTYPES_H
|
|
||||||
|
|
||||||
@ BOTTOM @
|
|
||||||
/* Use the definitions: */
|
|
||||||
#ifndef HAVE_INLINE
|
|
||||||
#define inline
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_POLL
|
|
||||||
#include <sys/poll.h>
|
|
||||||
#else
|
|
||||||
/* kludge it up */
|
|
||||||
struct pollfd {
|
|
||||||
int fd;
|
|
||||||
short events;
|
|
||||||
short revents;
|
|
||||||
};
|
|
||||||
#define POLLIN 1
|
|
||||||
#define POLLPRI 2
|
|
||||||
#define POLLOUT 4
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C attributes. */
|
|
||||||
#ifndef FUNCATTR
|
|
||||||
#ifdef HAVE_GNUC25_ATTRIB
|
|
||||||
#define FUNCATTR(x) __attribute__(x)
|
|
||||||
#else
|
|
||||||
#define FUNCATTR(x)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C printf formats, or null. */
|
|
||||||
#ifndef ATTRPRINTF
|
|
||||||
#ifdef HAVE_GNUC25_PRINTFFORMAT
|
|
||||||
#define ATTRPRINTF(si,tc) format(printf,si,tc)
|
|
||||||
#else
|
|
||||||
#define ATTRPRINTF(si,tc)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifndef PRINTFFORMAT
|
|
||||||
#define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C nonreturning functions, or null. */
|
|
||||||
#ifndef ATTRNORETURN
|
|
||||||
#ifdef HAVE_GNUC25_NORETURN
|
|
||||||
#define ATTRNORETURN noreturn
|
|
||||||
#else
|
|
||||||
#define ATTRNORETURN
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifndef NONRETURNING
|
|
||||||
#define NONRETURNING FUNCATTR((ATTRNORETURN))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Combination of both the above. */
|
|
||||||
#ifndef NONRETURNPRINTFFORMAT
|
|
||||||
#define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C constant functions, or null. */
|
|
||||||
#ifndef ATTRCONST
|
|
||||||
#ifdef HAVE_GNUC25_CONST
|
|
||||||
#define ATTRCONST const
|
|
||||||
#else
|
|
||||||
#define ATTRCONST
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifndef CONSTANT
|
|
||||||
#define CONSTANT FUNCATTR((ATTRCONST))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVEUSE_RPCTYPES_H
|
|
||||||
#include <rpc/types.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
|
||||||
#include <sys/select.h>
|
|
||||||
#endif
|
|
1253
aclocal.m4
vendored
1253
aclocal.m4
vendored
File diff suppressed because it is too large
Load diff
245
autotools/acinclude.m4
Normal file
245
autotools/acinclude.m4
Normal file
|
@ -0,0 +1,245 @@
|
||||||
|
AC_DEFUN([TYPE_SOCKLEN_T],
|
||||||
|
[
|
||||||
|
AC_CHECK_TYPE([socklen_t], ,[
|
||||||
|
AC_MSG_CHECKING([for socklen_t equivalent])
|
||||||
|
AC_CACHE_VAL([curl_cv_socklen_t_equiv],
|
||||||
|
[
|
||||||
|
# Systems have either "struct sockaddr *" or
|
||||||
|
# "void *" as the second argument to getpeername
|
||||||
|
curl_cv_socklen_t_equiv=
|
||||||
|
for arg2 in "struct sockaddr" void; do
|
||||||
|
for t in int size_t unsigned long "unsigned long"; do
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int getpeername (int, $arg2 *, $t *);
|
||||||
|
],[
|
||||||
|
$t len;
|
||||||
|
getpeername(0,0,&len);
|
||||||
|
],[
|
||||||
|
curl_cv_socklen_t_equiv="$t"
|
||||||
|
break
|
||||||
|
])
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
if test "x$curl_cv_socklen_t_equiv" = x; then
|
||||||
|
AC_MSG_ERROR([Cannot find a type to use in place of socklen_t])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
AC_MSG_RESULT($curl_cv_socklen_t_equiv)
|
||||||
|
AC_DEFINE_UNQUOTED(socklen_t, $curl_cv_socklen_t_equiv,
|
||||||
|
[type to use in place of socklen_t if not defined])],
|
||||||
|
[#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>])
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl Check for in_addr_t: it is used to receive the return code of inet_addr()
|
||||||
|
dnl and a few other things. If not found, we set it to unsigned int, as even
|
||||||
|
dnl 64-bit implementations use to set it to a 32-bit type.
|
||||||
|
AC_DEFUN([TYPE_IN_ADDR_T],
|
||||||
|
[
|
||||||
|
AC_CHECK_TYPE([in_addr_t], ,[
|
||||||
|
AC_MSG_CHECKING([for in_addr_t equivalent])
|
||||||
|
AC_CACHE_VAL([curl_cv_in_addr_t_equiv],
|
||||||
|
[
|
||||||
|
curl_cv_in_addr_t_equiv=
|
||||||
|
for t in "unsigned long" int size_t unsigned long; do
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_ARPA_INET_H
|
||||||
|
#include <arpa/inet.h>
|
||||||
|
#endif
|
||||||
|
],[
|
||||||
|
$t data = inet_addr ("1.2.3.4");
|
||||||
|
],[
|
||||||
|
curl_cv_in_addr_t_equiv="$t"
|
||||||
|
break
|
||||||
|
])
|
||||||
|
done
|
||||||
|
|
||||||
|
if test "x$curl_cv_in_addr_t_equiv" = x; then
|
||||||
|
AC_MSG_ERROR([Cannot find a type to use in place of in_addr_t])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
AC_MSG_RESULT($curl_cv_in_addr_t_equiv)
|
||||||
|
AC_DEFINE_UNQUOTED(in_addr_t, $curl_cv_in_addr_t_equiv,
|
||||||
|
[type to use in place of in_addr_t if not defined])],
|
||||||
|
[#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <arpa/inet.h>])
|
||||||
|
])
|
||||||
|
AC_DEFUN(CURL_CHECK_NONBLOCKING_SOCKET,
|
||||||
|
[
|
||||||
|
AC_MSG_CHECKING([non-blocking sockets style])
|
||||||
|
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
/* headers for O_NONBLOCK test */
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
],[
|
||||||
|
/* try to compile O_NONBLOCK */
|
||||||
|
|
||||||
|
#if defined(sun) || defined(__sun__) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||||
|
# if defined(__SVR4) || defined(__srv4__)
|
||||||
|
# define PLATFORM_SOLARIS
|
||||||
|
# else
|
||||||
|
# define PLATFORM_SUNOS4
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if (defined(_AIX) || defined(__xlC__)) && !defined(_AIX4)
|
||||||
|
# define PLATFORM_AIX_V3
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(PLATFORM_SUNOS4) || defined(PLATFORM_AIX_V3) || defined(__BEOS__)
|
||||||
|
#error "O_NONBLOCK does not work on this platform"
|
||||||
|
#endif
|
||||||
|
int socket;
|
||||||
|
int flags = fcntl(socket, F_SETFL, flags | O_NONBLOCK);
|
||||||
|
],[
|
||||||
|
dnl the O_NONBLOCK test was fine
|
||||||
|
nonblock="O_NONBLOCK"
|
||||||
|
AC_DEFINE(HAVE_O_NONBLOCK, 1, [use O_NONBLOCK for non-blocking sockets])
|
||||||
|
],[
|
||||||
|
dnl the code was bad, try a different program now, test 2
|
||||||
|
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
/* headers for FIONBIO test */
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <stropts.h>
|
||||||
|
],[
|
||||||
|
/* FIONBIO source test (old-style unix) */
|
||||||
|
int socket;
|
||||||
|
int flags = ioctl(socket, FIONBIO, &flags);
|
||||||
|
],[
|
||||||
|
dnl FIONBIO test was good
|
||||||
|
nonblock="FIONBIO"
|
||||||
|
AC_DEFINE(HAVE_FIONBIO, 1, [use FIONBIO for non-blocking sockets])
|
||||||
|
],[
|
||||||
|
dnl FIONBIO test was also bad
|
||||||
|
dnl the code was bad, try a different program now, test 3
|
||||||
|
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
/* headers for ioctlsocket test (cygwin?) */
|
||||||
|
#include <windows.h>
|
||||||
|
],[
|
||||||
|
/* ioctlsocket source code */
|
||||||
|
int socket;
|
||||||
|
int flags = ioctlsocket(socket, FIONBIO, &flags);
|
||||||
|
],[
|
||||||
|
dnl ioctlsocket test was good
|
||||||
|
nonblock="ioctlsocket"
|
||||||
|
AC_DEFINE(HAVE_IOCTLSOCKET, 1, [use ioctlsocket() for non-blocking sockets])
|
||||||
|
],[
|
||||||
|
dnl ioctlsocket didnt compile!, go to test 4
|
||||||
|
|
||||||
|
AC_TRY_LINK([
|
||||||
|
/* headers for IoctlSocket test (Amiga?) */
|
||||||
|
#include <sys/ioctl.h>
|
||||||
|
],[
|
||||||
|
/* IoctlSocket source code */
|
||||||
|
int socket;
|
||||||
|
int flags = IoctlSocket(socket, FIONBIO, (long)1);
|
||||||
|
],[
|
||||||
|
dnl ioctlsocket test was good
|
||||||
|
nonblock="IoctlSocket"
|
||||||
|
AC_DEFINE(HAVE_IOCTLSOCKET_CASE, 1, [use Ioctlsocket() for non-blocking sockets])
|
||||||
|
],[
|
||||||
|
dnl Ioctlsocket didnt compile, do test 5!
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
/* headers for SO_NONBLOCK test (BeOS) */
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
],[
|
||||||
|
/* SO_NONBLOCK source code */
|
||||||
|
long b = 1;
|
||||||
|
int socket;
|
||||||
|
int flags = setsockopt(socket, SOL_SOCKET, SO_NONBLOCK, &b, sizeof(b));
|
||||||
|
],[
|
||||||
|
dnl the SO_NONBLOCK test was good
|
||||||
|
nonblock="SO_NONBLOCK"
|
||||||
|
AC_DEFINE(HAVE_SO_NONBLOCK, 1, [use SO_NONBLOCK for non-blocking sockets])
|
||||||
|
],[
|
||||||
|
dnl test 5 didnt compile!
|
||||||
|
nonblock="nada"
|
||||||
|
AC_DEFINE(HAVE_DISABLED_NONBLOCKING, 1, [disabled non-blocking sockets])
|
||||||
|
])
|
||||||
|
dnl end of fifth test
|
||||||
|
|
||||||
|
])
|
||||||
|
dnl end of forth test
|
||||||
|
|
||||||
|
])
|
||||||
|
dnl end of third test
|
||||||
|
|
||||||
|
])
|
||||||
|
dnl end of second test
|
||||||
|
|
||||||
|
])
|
||||||
|
dnl end of non-blocking try-compile test
|
||||||
|
AC_MSG_RESULT($nonblock)
|
||||||
|
|
||||||
|
if test "$nonblock" = "nada"; then
|
||||||
|
AC_MSG_WARN([non-block sockets disabled])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
dnl DPKG_CACHED_TRY_COMPILE(<description>,<cachevar>,<include>,<program>,<ifyes>,<ifno>)
|
||||||
|
define(DPKG_CACHED_TRY_COMPILE,[
|
||||||
|
AC_MSG_CHECKING($1)
|
||||||
|
AC_CACHE_VAL($2,[
|
||||||
|
AC_TRY_COMPILE([$3],[$4],[$2=yes],[$2=no])
|
||||||
|
])
|
||||||
|
if test "x$$2" = xyes; then
|
||||||
|
true
|
||||||
|
$5
|
||||||
|
else
|
||||||
|
true
|
||||||
|
$6
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
define(ADNS_C_GCCATTRIB,[
|
||||||
|
DPKG_CACHED_TRY_COMPILE(__attribute__((,,)),adns_cv_c_attribute_supported,,
|
||||||
|
[extern int testfunction(int x) __attribute__((,,))],
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
AC_DEFINE(HAVE_GNUC25_ATTRIB, 1, HAVE_GNUC25_ATTRIB)
|
||||||
|
DPKG_CACHED_TRY_COMPILE(__attribute__((noreturn)),adns_cv_c_attribute_noreturn,,
|
||||||
|
[extern int testfunction(int x) __attribute__((noreturn))],
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
AC_DEFINE(HAVE_GNUC25_NORETURN, 1, HAVE_GNUC25_NORETURN),
|
||||||
|
AC_MSG_RESULT(no))
|
||||||
|
DPKG_CACHED_TRY_COMPILE(__attribute__((const)),adns_cv_c_attribute_const,,
|
||||||
|
[extern int testfunction(int x) __attribute__((const))],
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
AC_DEFINE(HAVE_GNUC25_CONST, 1, HAVE_GNUC25_CONST),
|
||||||
|
AC_MSG_RESULT(no))
|
||||||
|
DPKG_CACHED_TRY_COMPILE(__attribute__((format...)),adns_cv_attribute_format,,
|
||||||
|
[extern int testfunction(char *y, ...) __attribute__((format(printf,1,2)))],
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
AC_DEFINE(HAVE_GNUC25_PRINTFFORMAT, 1, HAVE_GNUC25_PRINTFFORMAT),
|
||||||
|
AC_MSG_RESULT(no)),
|
||||||
|
AC_MSG_RESULT(no))
|
||||||
|
])
|
||||||
|
|
||||||
|
define(ADNS_C_GETFUNC,[
|
||||||
|
AC_CHECK_FUNC([$1],,[
|
||||||
|
AC_CHECK_LIB([$2],[$1],[$3],[
|
||||||
|
AC_MSG_ERROR([cannot find library function $1])
|
||||||
|
])
|
||||||
|
])
|
||||||
|
])
|
4243
autotools/aclocal.m4
vendored
Normal file
4243
autotools/aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load diff
99
autotools/compile
Executable file
99
autotools/compile
Executable file
|
@ -0,0 +1,99 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# Wrapper for compilers which do not understand `-c -o'.
|
||||||
|
|
||||||
|
# Copyright 1999, 2000 Free Software Foundation, Inc.
|
||||||
|
# Written by Tom Tromey <tromey@cygnus.com>.
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# Usage:
|
||||||
|
# compile PROGRAM [ARGS]...
|
||||||
|
# `-o FOO.o' is removed from the args passed to the actual compile.
|
||||||
|
|
||||||
|
prog=$1
|
||||||
|
shift
|
||||||
|
|
||||||
|
ofile=
|
||||||
|
cfile=
|
||||||
|
args=
|
||||||
|
while test $# -gt 0; do
|
||||||
|
case "$1" in
|
||||||
|
-o)
|
||||||
|
# configure might choose to run compile as `compile cc -o foo foo.c'.
|
||||||
|
# So we do something ugly here.
|
||||||
|
ofile=$2
|
||||||
|
shift
|
||||||
|
case "$ofile" in
|
||||||
|
*.o | *.obj)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
args="$args -o $ofile"
|
||||||
|
ofile=
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
*.c)
|
||||||
|
cfile=$1
|
||||||
|
args="$args $1"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
args="$args $1"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
|
||||||
|
if test -z "$ofile" || test -z "$cfile"; then
|
||||||
|
# If no `-o' option was seen then we might have been invoked from a
|
||||||
|
# pattern rule where we don't need one. That is ok -- this is a
|
||||||
|
# normal compilation that the losing compiler can handle. If no
|
||||||
|
# `.c' file was seen then we are probably linking. That is also
|
||||||
|
# ok.
|
||||||
|
exec "$prog" $args
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Name of file we expect compiler to create.
|
||||||
|
cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
|
||||||
|
|
||||||
|
# Create the lock directory.
|
||||||
|
# Note: use `[/.-]' here to ensure that we don't use the same name
|
||||||
|
# that we are using for the .o file. Also, base the name on the expected
|
||||||
|
# object file name, since that is what matters with a parallel build.
|
||||||
|
lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
|
||||||
|
while true; do
|
||||||
|
if mkdir $lockdir > /dev/null 2>&1; then
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
# FIXME: race condition here if user kills between mkdir and trap.
|
||||||
|
trap "rmdir $lockdir; exit 1" 1 2 15
|
||||||
|
|
||||||
|
# Run the compile.
|
||||||
|
"$prog" $args
|
||||||
|
status=$?
|
||||||
|
|
||||||
|
if test -f "$cofile"; then
|
||||||
|
mv "$cofile" "$ofile"
|
||||||
|
fi
|
||||||
|
|
||||||
|
rmdir $lockdir
|
||||||
|
exit $status
|
0
src/curl/config.sub → autotools/config.sub
vendored
0
src/curl/config.sub → autotools/config.sub
vendored
479
autotools/depcomp
Executable file
479
autotools/depcomp
Executable file
|
@ -0,0 +1,479 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# depcomp - compile a program generating dependencies as side-effects
|
||||||
|
# Copyright 1999, 2000, 2003 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
|
||||||
|
|
||||||
|
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
|
||||||
|
echo "depcomp: Variables source, object and depmode must be set" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
# `libtool' can also be set to `yes' or `no'.
|
||||||
|
|
||||||
|
if test -z "$depfile"; then
|
||||||
|
base=`echo "$object" | sed -e 's,^.*/,,' -e 's,\.\([^.]*\)$,.P\1,'`
|
||||||
|
dir=`echo "$object" | sed 's,/.*$,/,'`
|
||||||
|
if test "$dir" = "$object"; then
|
||||||
|
dir=
|
||||||
|
fi
|
||||||
|
# FIXME: should be _deps on DOS.
|
||||||
|
depfile="$dir.deps/$base"
|
||||||
|
fi
|
||||||
|
|
||||||
|
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
|
||||||
|
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
|
||||||
|
# Some modes work just like other modes, but use different flags. We
|
||||||
|
# parameterize here, but still list the modes in the big case below,
|
||||||
|
# to make depend.m4 easier to write. Note that we *cannot* use a case
|
||||||
|
# here, because this file can only contain one case statement.
|
||||||
|
if test "$depmode" = hp; then
|
||||||
|
# HP compiler uses -M and no extra arg.
|
||||||
|
gccflag=-M
|
||||||
|
depmode=gcc
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$depmode" = dashXmstdout; then
|
||||||
|
# This is just like dashmstdout with a different argument.
|
||||||
|
dashmflag=-xM
|
||||||
|
depmode=dashmstdout
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$depmode" in
|
||||||
|
gcc3)
|
||||||
|
## gcc 3 implements dependency tracking that does exactly what
|
||||||
|
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||||
|
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||||
|
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -eq 0; then :
|
||||||
|
else
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
mv "$tmpdepfile" "$depfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
gcc)
|
||||||
|
## There are various ways to get dependency output from gcc. Here's
|
||||||
|
## why we pick this rather obscure method:
|
||||||
|
## - Don't want to use -MD because we'd like the dependencies to end
|
||||||
|
## up in a subdir. Having to rename by hand is ugly.
|
||||||
|
## (We might end up doing this anyway to support other compilers.)
|
||||||
|
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
|
||||||
|
## -MM, not -M (despite what the docs say).
|
||||||
|
## - Using -M directly means running the compiler twice (even worse
|
||||||
|
## than renaming).
|
||||||
|
if test -z "$gccflag"; then
|
||||||
|
gccflag=-MD,
|
||||||
|
fi
|
||||||
|
"$@" -Wp,"$gccflag$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -eq 0; then :
|
||||||
|
else
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
|
||||||
|
## The second -e expression handles DOS-style file names with drive letters.
|
||||||
|
sed -e 's/^[^:]*: / /' \
|
||||||
|
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
|
||||||
|
## This next piece of magic avoids the `deleted header file' problem.
|
||||||
|
## The problem is that when a header file which appears in a .P file
|
||||||
|
## is deleted, the dependency causes make to die (because there is
|
||||||
|
## typically no way to rebuild the header). We avoid this by adding
|
||||||
|
## dummy dependencies for each header file. Too bad gcc doesn't do
|
||||||
|
## this for us directly.
|
||||||
|
tr ' ' '
|
||||||
|
' < "$tmpdepfile" |
|
||||||
|
## Some versions of gcc put a space before the `:'. On the theory
|
||||||
|
## that the space means something, we add a space to the output as
|
||||||
|
## well.
|
||||||
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
hp)
|
||||||
|
# This case exists only to let depend.m4 do its work. It works by
|
||||||
|
# looking at the text of this script. This case will never be run,
|
||||||
|
# since it is checked for above.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
sgi)
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
"$@" "-Wp,-MDupdate,$tmpdepfile"
|
||||||
|
else
|
||||||
|
"$@" -MDupdate "$tmpdepfile"
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
if test $stat -eq 0; then :
|
||||||
|
else
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
|
||||||
|
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
|
||||||
|
# Clip off the initial element (the dependent). Don't try to be
|
||||||
|
# clever and replace this with sed code, as IRIX sed won't handle
|
||||||
|
# lines with more than a fixed number of characters (4096 in
|
||||||
|
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
|
||||||
|
# the IRIX cc adds comments like `#:fec' to the end of the
|
||||||
|
# dependency line.
|
||||||
|
tr ' ' '
|
||||||
|
' < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
|
||||||
|
tr '
|
||||||
|
' ' ' >> $depfile
|
||||||
|
echo >> $depfile
|
||||||
|
|
||||||
|
# The second pass generates a dummy entry for each header file.
|
||||||
|
tr ' ' '
|
||||||
|
' < "$tmpdepfile" \
|
||||||
|
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
|
||||||
|
>> $depfile
|
||||||
|
else
|
||||||
|
# The sourcefile does not contain any dependencies, so just
|
||||||
|
# store a dummy comment line, to avoid errors with the Makefile
|
||||||
|
# "include basename.Plo" scheme.
|
||||||
|
echo "#dummy" > "$depfile"
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
aix)
|
||||||
|
# The C for AIX Compiler uses -M and outputs the dependencies
|
||||||
|
# in a .u file. In older versions, this file always lives in the
|
||||||
|
# current directory. Also, the AIX compiler puts `$object:' at the
|
||||||
|
# start of each line; $object doesn't have directory information.
|
||||||
|
# Version 6 uses the directory in both cases.
|
||||||
|
stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
|
||||||
|
tmpdepfile="$stripped.u"
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
"$@" -Wc,-M
|
||||||
|
else
|
||||||
|
"$@" -M
|
||||||
|
fi
|
||||||
|
stat=$?
|
||||||
|
|
||||||
|
if test -f "$tmpdepfile"; then :
|
||||||
|
else
|
||||||
|
stripped=`echo "$stripped" | sed 's,^.*/,,'`
|
||||||
|
tmpdepfile="$stripped.u"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test $stat -eq 0; then :
|
||||||
|
else
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
outname="$stripped.o"
|
||||||
|
# Each line is of the form `foo.o: dependent.h'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||||
|
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
|
||||||
|
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
|
||||||
|
else
|
||||||
|
# The sourcefile does not contain any dependencies, so just
|
||||||
|
# store a dummy comment line, to avoid errors with the Makefile
|
||||||
|
# "include basename.Plo" scheme.
|
||||||
|
echo "#dummy" > "$depfile"
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
icc)
|
||||||
|
# Intel's C compiler understands `-MD -MF file'. However on
|
||||||
|
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
|
||||||
|
# ICC 7.0 will fill foo.d with something like
|
||||||
|
# foo.o: sub/foo.c
|
||||||
|
# foo.o: sub/foo.h
|
||||||
|
# which is wrong. We want:
|
||||||
|
# sub/foo.o: sub/foo.c
|
||||||
|
# sub/foo.o: sub/foo.h
|
||||||
|
# sub/foo.c:
|
||||||
|
# sub/foo.h:
|
||||||
|
# ICC 7.1 will output
|
||||||
|
# foo.o: sub/foo.c sub/foo.h
|
||||||
|
# and will wrap long lines using \ :
|
||||||
|
# foo.o: sub/foo.c ... \
|
||||||
|
# sub/foo.h ... \
|
||||||
|
# ...
|
||||||
|
|
||||||
|
"$@" -MD -MF "$tmpdepfile"
|
||||||
|
stat=$?
|
||||||
|
if test $stat -eq 0; then :
|
||||||
|
else
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
rm -f "$depfile"
|
||||||
|
# Each line is of the form `foo.o: dependent.h',
|
||||||
|
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
|
||||||
|
# Do two passes, one to just change these to
|
||||||
|
# `$object: dependent.h' and one to simply `dependent.h:'.
|
||||||
|
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
|
||||||
|
# Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
# correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
|
||||||
|
sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
tru64)
|
||||||
|
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||||
|
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||||
|
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
|
||||||
|
# dependencies in `foo.d' instead, so we check for that too.
|
||||||
|
# Subdirectories are respected.
|
||||||
|
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||||
|
test "x$dir" = "x$object" && dir=
|
||||||
|
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||||
|
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
tmpdepfile1="$dir.libs/$base.lo.d"
|
||||||
|
tmpdepfile2="$dir.libs/$base.d"
|
||||||
|
"$@" -Wc,-MD
|
||||||
|
else
|
||||||
|
tmpdepfile1="$dir$base.o.d"
|
||||||
|
tmpdepfile2="$dir$base.d"
|
||||||
|
"$@" -MD
|
||||||
|
fi
|
||||||
|
|
||||||
|
stat=$?
|
||||||
|
if test $stat -eq 0; then :
|
||||||
|
else
|
||||||
|
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||||
|
exit $stat
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -f "$tmpdepfile1"; then
|
||||||
|
tmpdepfile="$tmpdepfile1"
|
||||||
|
else
|
||||||
|
tmpdepfile="$tmpdepfile2"
|
||||||
|
fi
|
||||||
|
if test -f "$tmpdepfile"; then
|
||||||
|
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
|
||||||
|
# That's a tab and a space in the [].
|
||||||
|
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
|
||||||
|
else
|
||||||
|
echo "#dummy" > "$depfile"
|
||||||
|
fi
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
#nosideeffect)
|
||||||
|
# This comment above is used by automake to tell side-effect
|
||||||
|
# dependency tracking mechanisms from slower ones.
|
||||||
|
|
||||||
|
dashmstdout)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout, regardless of -o.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test $1 != '--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove `-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
test -z "$dashmflag" && dashmflag=-M
|
||||||
|
# Require at least two characters before searching for `:'
|
||||||
|
# in the target name. This is to cope with DOS-style filenames:
|
||||||
|
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
|
||||||
|
"$@" $dashmflag |
|
||||||
|
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
|
tr ' ' '
|
||||||
|
' < "$tmpdepfile" | \
|
||||||
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
dashXmstdout)
|
||||||
|
# This case only exists to satisfy depend.m4. It is never actually
|
||||||
|
# run, as this mode is specially recognized in the preamble.
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
makedepend)
|
||||||
|
"$@" || exit $?
|
||||||
|
# Remove any Libtool call
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test $1 != '--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
# X makedepend
|
||||||
|
shift
|
||||||
|
cleared=no
|
||||||
|
for arg in "$@"; do
|
||||||
|
case $cleared in
|
||||||
|
no)
|
||||||
|
set ""; shift
|
||||||
|
cleared=yes ;;
|
||||||
|
esac
|
||||||
|
case "$arg" in
|
||||||
|
-D*|-I*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
# Strip any option that makedepend may not understand. Remove
|
||||||
|
# the object too, otherwise makedepend will parse it as a source file.
|
||||||
|
-*|$object)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"; shift ;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
obj_suffix="`echo $object | sed 's/^.*\././'`"
|
||||||
|
touch "$tmpdepfile"
|
||||||
|
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
|
||||||
|
rm -f "$depfile"
|
||||||
|
cat < "$tmpdepfile" > "$depfile"
|
||||||
|
sed '1,2d' "$tmpdepfile" | tr ' ' '
|
||||||
|
' | \
|
||||||
|
## Some versions of the HPUX 10.20 sed can't process this invocation
|
||||||
|
## correctly. Breaking it into two sed invocations is a workaround.
|
||||||
|
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile" "$tmpdepfile".bak
|
||||||
|
;;
|
||||||
|
|
||||||
|
cpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout.
|
||||||
|
"$@" || exit $?
|
||||||
|
|
||||||
|
# Remove the call to Libtool.
|
||||||
|
if test "$libtool" = yes; then
|
||||||
|
while test $1 != '--mode=compile'; do
|
||||||
|
shift
|
||||||
|
done
|
||||||
|
shift
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Remove `-o $object'.
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case $arg in
|
||||||
|
-o)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
$object)
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift # fnord
|
||||||
|
shift # $arg
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
"$@" -E |
|
||||||
|
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
|
||||||
|
sed '$ s: \\$::' > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
cat < "$tmpdepfile" >> "$depfile"
|
||||||
|
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
msvisualcpp)
|
||||||
|
# Important note: in order to support this mode, a compiler *must*
|
||||||
|
# always write the preprocessed file to stdout, regardless of -o,
|
||||||
|
# because we must use -o when running libtool.
|
||||||
|
"$@" || exit $?
|
||||||
|
IFS=" "
|
||||||
|
for arg
|
||||||
|
do
|
||||||
|
case "$arg" in
|
||||||
|
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
|
||||||
|
set fnord "$@"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
set fnord "$@" "$arg"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
"$@" -E |
|
||||||
|
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
|
||||||
|
rm -f "$depfile"
|
||||||
|
echo "$object : \\" > "$depfile"
|
||||||
|
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
|
||||||
|
echo " " >> "$depfile"
|
||||||
|
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
|
||||||
|
rm -f "$tmpdepfile"
|
||||||
|
;;
|
||||||
|
|
||||||
|
none)
|
||||||
|
exec "$@"
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "Unknown depmode $depmode" 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
294
autotools/install-sh
Executable file
294
autotools/install-sh
Executable file
|
@ -0,0 +1,294 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# install - install a program, script, or datafile
|
||||||
|
#
|
||||||
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
|
# following copyright and license.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1994 X Consortium
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to
|
||||||
|
# deal in the Software without restriction, including without limitation the
|
||||||
|
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
# sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||||
|
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||||
|
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
#
|
||||||
|
# Except as contained in this notice, the name of the X Consortium shall not
|
||||||
|
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||||
|
# ings in this Software without prior written authorization from the X Consor-
|
||||||
|
# tium.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# FSF changes to this file are in the public domain.
|
||||||
|
#
|
||||||
|
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||||
|
# `make' implicit rules from creating a file called install from it
|
||||||
|
# when there is no Makefile.
|
||||||
|
#
|
||||||
|
# This script is compatible with the BSD install script, but was written
|
||||||
|
# from scratch. It can only install one file at a time, a restriction
|
||||||
|
# shared with many OS's install programs.
|
||||||
|
|
||||||
|
|
||||||
|
# set DOITPROG to echo to test this script
|
||||||
|
|
||||||
|
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||||
|
doit="${DOITPROG-}"
|
||||||
|
|
||||||
|
|
||||||
|
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||||
|
|
||||||
|
mvprog="${MVPROG-mv}"
|
||||||
|
cpprog="${CPPROG-cp}"
|
||||||
|
chmodprog="${CHMODPROG-chmod}"
|
||||||
|
chownprog="${CHOWNPROG-chown}"
|
||||||
|
chgrpprog="${CHGRPPROG-chgrp}"
|
||||||
|
stripprog="${STRIPPROG-strip}"
|
||||||
|
rmprog="${RMPROG-rm}"
|
||||||
|
mkdirprog="${MKDIRPROG-mkdir}"
|
||||||
|
|
||||||
|
transformbasename=""
|
||||||
|
transform_arg=""
|
||||||
|
instcmd="$mvprog"
|
||||||
|
chmodcmd="$chmodprog 0755"
|
||||||
|
chowncmd=""
|
||||||
|
chgrpcmd=""
|
||||||
|
stripcmd=""
|
||||||
|
rmcmd="$rmprog -f"
|
||||||
|
mvcmd="$mvprog"
|
||||||
|
src=""
|
||||||
|
dst=""
|
||||||
|
dir_arg=""
|
||||||
|
|
||||||
|
while [ x"$1" != x ]; do
|
||||||
|
case $1 in
|
||||||
|
-c) instcmd=$cpprog
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-d) dir_arg=true
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-m) chmodcmd="$chmodprog $2"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-o) chowncmd="$chownprog $2"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-g) chgrpcmd="$chgrpprog $2"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-s) stripcmd=$stripprog
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
*) if [ x"$src" = x ]
|
||||||
|
then
|
||||||
|
src=$1
|
||||||
|
else
|
||||||
|
# this colon is to work around a 386BSD /bin/sh bug
|
||||||
|
:
|
||||||
|
dst=$1
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ x"$src" = x ]
|
||||||
|
then
|
||||||
|
echo "$0: no input file specified" >&2
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ x"$dir_arg" != x ]; then
|
||||||
|
dst=$src
|
||||||
|
src=""
|
||||||
|
|
||||||
|
if [ -d "$dst" ]; then
|
||||||
|
instcmd=:
|
||||||
|
chmodcmd=""
|
||||||
|
else
|
||||||
|
instcmd=$mkdirprog
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
|
||||||
|
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||||
|
# might cause directories to be created, which would be especially bad
|
||||||
|
# if $src (and thus $dsttmp) contains '*'.
|
||||||
|
|
||||||
|
if [ -f "$src" ] || [ -d "$src" ]
|
||||||
|
then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "$0: $src does not exist" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ x"$dst" = x ]
|
||||||
|
then
|
||||||
|
echo "$0: no destination specified" >&2
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If destination is a directory, append the input filename; if your system
|
||||||
|
# does not like double slashes in filenames, you may need to add some logic
|
||||||
|
|
||||||
|
if [ -d "$dst" ]
|
||||||
|
then
|
||||||
|
dst=$dst/`basename "$src"`
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
## this sed command emulates the dirname command
|
||||||
|
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||||
|
|
||||||
|
# Make sure that the destination directory exists.
|
||||||
|
# this part is taken from Noah Friedman's mkinstalldirs script
|
||||||
|
|
||||||
|
# Skip lots of stat calls in the usual case.
|
||||||
|
if [ ! -d "$dstdir" ]; then
|
||||||
|
defaultIFS='
|
||||||
|
'
|
||||||
|
IFS="${IFS-$defaultIFS}"
|
||||||
|
|
||||||
|
oIFS=$IFS
|
||||||
|
# Some sh's can't handle IFS=/ for some reason.
|
||||||
|
IFS='%'
|
||||||
|
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||||
|
IFS=$oIFS
|
||||||
|
|
||||||
|
pathcomp=''
|
||||||
|
|
||||||
|
while [ $# -ne 0 ] ; do
|
||||||
|
pathcomp=$pathcomp$1
|
||||||
|
shift
|
||||||
|
|
||||||
|
if [ ! -d "$pathcomp" ] ;
|
||||||
|
then
|
||||||
|
$mkdirprog "$pathcomp"
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
pathcomp=$pathcomp/
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ x"$dir_arg" != x ]
|
||||||
|
then
|
||||||
|
$doit $instcmd "$dst" &&
|
||||||
|
|
||||||
|
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
|
||||||
|
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
|
||||||
|
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
|
||||||
|
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
|
||||||
|
else
|
||||||
|
|
||||||
|
# If we're going to rename the final executable, determine the name now.
|
||||||
|
|
||||||
|
if [ x"$transformarg" = x ]
|
||||||
|
then
|
||||||
|
dstfile=`basename "$dst"`
|
||||||
|
else
|
||||||
|
dstfile=`basename "$dst" $transformbasename |
|
||||||
|
sed $transformarg`$transformbasename
|
||||||
|
fi
|
||||||
|
|
||||||
|
# don't allow the sed command to completely eliminate the filename
|
||||||
|
|
||||||
|
if [ x"$dstfile" = x ]
|
||||||
|
then
|
||||||
|
dstfile=`basename "$dst"`
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make a couple of temp file names in the proper directory.
|
||||||
|
|
||||||
|
dsttmp=$dstdir/_inst.$$_
|
||||||
|
rmtmp=$dstdir/_rm.$$_
|
||||||
|
|
||||||
|
# Trap to clean up temp files at exit.
|
||||||
|
|
||||||
|
trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
|
||||||
|
trap '(exit $?); exit' 1 2 13 15
|
||||||
|
|
||||||
|
# Move or copy the file name to the temp name
|
||||||
|
|
||||||
|
$doit $instcmd "$src" "$dsttmp" &&
|
||||||
|
|
||||||
|
# and set any options; do chmod last to preserve setuid bits
|
||||||
|
|
||||||
|
# If any of these fail, we abort the whole thing. If we want to
|
||||||
|
# ignore errors from any of these, just make sure not to ignore
|
||||||
|
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
||||||
|
|
||||||
|
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
|
||||||
|
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
|
||||||
|
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
|
||||||
|
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
|
||||||
|
|
||||||
|
# Now remove or move aside any old file at destination location. We try this
|
||||||
|
# two ways since rm can't unlink itself on some systems and the destination
|
||||||
|
# file might be busy for other reasons. In this case, the final cleanup
|
||||||
|
# might fail but the new file should still install successfully.
|
||||||
|
|
||||||
|
{
|
||||||
|
if [ -f "$dstdir/$dstfile" ]
|
||||||
|
then
|
||||||
|
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
|
||||||
|
$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
|
||||||
|
{
|
||||||
|
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
||||||
|
(exit 1); exit
|
||||||
|
}
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
} &&
|
||||||
|
|
||||||
|
# Now rename the file to the real destination.
|
||||||
|
|
||||||
|
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
||||||
|
|
||||||
|
fi &&
|
||||||
|
|
||||||
|
# The final little trick to "correctly" pass the exit status to the exit trap.
|
||||||
|
|
||||||
|
{
|
||||||
|
(exit 0); exit
|
||||||
|
}
|
5118
autotools/ltmain.sh
Normal file
5118
autotools/ltmain.sh
Normal file
File diff suppressed because it is too large
Load diff
336
autotools/missing
Executable file
336
autotools/missing
Executable file
|
@ -0,0 +1,336 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Common stub for a few missing GNU programs while installing.
|
||||||
|
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
|
||||||
|
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
echo 1>&2 "Try \`$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
run=:
|
||||||
|
|
||||||
|
# In the cases where this matters, `missing' is being run in the
|
||||||
|
# srcdir already.
|
||||||
|
if test -f configure.ac; then
|
||||||
|
configure_ac=configure.ac
|
||||||
|
else
|
||||||
|
configure_ac=configure.in
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
--run)
|
||||||
|
# Try to run requested program, and just exit if it succeeds.
|
||||||
|
run=
|
||||||
|
shift
|
||||||
|
"$@" && exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# If it does not exist, or fails to run (possibly an outdated version),
|
||||||
|
# try to emulate it.
|
||||||
|
case "$1" in
|
||||||
|
|
||||||
|
-h|--h|--he|--hel|--help)
|
||||||
|
echo "\
|
||||||
|
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||||
|
|
||||||
|
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||||
|
error status if there is no known handling for PROGRAM.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-h, --help display this help and exit
|
||||||
|
-v, --version output version information and exit
|
||||||
|
--run try to run the given command, and emulate it if it fails
|
||||||
|
|
||||||
|
Supported PROGRAM values:
|
||||||
|
aclocal touch file \`aclocal.m4'
|
||||||
|
autoconf touch file \`configure'
|
||||||
|
autoheader touch file \`config.h.in'
|
||||||
|
automake touch all \`Makefile.in' files
|
||||||
|
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||||
|
flex create \`lex.yy.c', if possible, from existing .c
|
||||||
|
help2man touch the output file
|
||||||
|
lex create \`lex.yy.c', if possible, from existing .c
|
||||||
|
makeinfo touch the output file
|
||||||
|
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||||
|
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
||||||
|
;;
|
||||||
|
|
||||||
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||||
|
echo "missing 0.4 - GNU automake"
|
||||||
|
;;
|
||||||
|
|
||||||
|
-*)
|
||||||
|
echo 1>&2 "$0: Unknown \`$1' option"
|
||||||
|
echo 1>&2 "Try \`$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
aclocal*)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||||
|
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||||
|
any GNU archive site."
|
||||||
|
touch aclocal.m4
|
||||||
|
;;
|
||||||
|
|
||||||
|
autoconf)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`${configure_ac}'. You might want to install the
|
||||||
|
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||||
|
archive site."
|
||||||
|
touch configure
|
||||||
|
;;
|
||||||
|
|
||||||
|
autoheader)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||||
|
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||||
|
from any GNU archive site."
|
||||||
|
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||||
|
test -z "$files" && files="config.h"
|
||||||
|
touch_files=
|
||||||
|
for f in $files; do
|
||||||
|
case "$f" in
|
||||||
|
*:*) touch_files="$touch_files "`echo "$f" |
|
||||||
|
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||||
|
*) touch_files="$touch_files $f.in";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
touch $touch_files
|
||||||
|
;;
|
||||||
|
|
||||||
|
automake*)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||||
|
You might want to install the \`Automake' and \`Perl' packages.
|
||||||
|
Grab them from any GNU archive site."
|
||||||
|
find . -type f -name Makefile.am -print |
|
||||||
|
sed 's/\.am$/.in/' |
|
||||||
|
while read f; do touch "$f"; done
|
||||||
|
;;
|
||||||
|
|
||||||
|
autom4te)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||||
|
system. You might have modified some files without having the
|
||||||
|
proper tools for further handling them.
|
||||||
|
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||||
|
archive site."
|
||||||
|
|
||||||
|
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||||
|
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
|
||||||
|
if test -f "$file"; then
|
||||||
|
touch $file
|
||||||
|
else
|
||||||
|
test -z "$file" || exec >$file
|
||||||
|
echo "#! /bin/sh"
|
||||||
|
echo "# Created by GNU Automake missing as a replacement of"
|
||||||
|
echo "# $ $@"
|
||||||
|
echo "exit 0"
|
||||||
|
chmod +x $file
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
bison|yacc)
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a \`.y' file. You may need the \`Bison' package
|
||||||
|
in order for those modifications to take effect. You can get
|
||||||
|
\`Bison' from any GNU archive site."
|
||||||
|
rm -f y.tab.c y.tab.h
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
eval LASTARG="\${$#}"
|
||||||
|
case "$LASTARG" in
|
||||||
|
*.y)
|
||||||
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||||
|
if [ -f "$SRCFILE" ]; then
|
||||||
|
cp "$SRCFILE" y.tab.c
|
||||||
|
fi
|
||||||
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||||
|
if [ -f "$SRCFILE" ]; then
|
||||||
|
cp "$SRCFILE" y.tab.h
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ ! -f y.tab.h ]; then
|
||||||
|
echo >y.tab.h
|
||||||
|
fi
|
||||||
|
if [ ! -f y.tab.c ]; then
|
||||||
|
echo 'main() { return 0; }' >y.tab.c
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
lex|flex)
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a \`.l' file. You may need the \`Flex' package
|
||||||
|
in order for those modifications to take effect. You can get
|
||||||
|
\`Flex' from any GNU archive site."
|
||||||
|
rm -f lex.yy.c
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
eval LASTARG="\${$#}"
|
||||||
|
case "$LASTARG" in
|
||||||
|
*.l)
|
||||||
|
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||||
|
if [ -f "$SRCFILE" ]; then
|
||||||
|
cp "$SRCFILE" lex.yy.c
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ ! -f lex.yy.c ]; then
|
||||||
|
echo 'main() { return 0; }' >lex.yy.c
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
help2man)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a dependency of a manual page. You may need the
|
||||||
|
\`Help2man' package in order for those modifications to take
|
||||||
|
effect. You can get \`Help2man' from any GNU archive site."
|
||||||
|
|
||||||
|
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||||
|
if test -z "$file"; then
|
||||||
|
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||||
|
fi
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
touch $file
|
||||||
|
else
|
||||||
|
test -z "$file" || exec >$file
|
||||||
|
echo ".ab help2man is required to generate this page"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
makeinfo)
|
||||||
|
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
||||||
|
# We have makeinfo, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||||
|
indirectly affecting the aspect of the manual. The spurious
|
||||||
|
call might also be the consequence of using a buggy \`make' (AIX,
|
||||||
|
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||||
|
the \`GNU make' package. Grab either from any GNU archive site."
|
||||||
|
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||||
|
if test -z "$file"; then
|
||||||
|
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||||
|
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||||
|
fi
|
||||||
|
touch $file
|
||||||
|
;;
|
||||||
|
|
||||||
|
tar)
|
||||||
|
shift
|
||||||
|
if test -n "$run"; then
|
||||||
|
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We have already tried tar in the generic part.
|
||||||
|
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||||
|
# messages.
|
||||||
|
if (gnutar --version > /dev/null 2>&1); then
|
||||||
|
gnutar "$@" && exit 0
|
||||||
|
fi
|
||||||
|
if (gtar --version > /dev/null 2>&1); then
|
||||||
|
gtar "$@" && exit 0
|
||||||
|
fi
|
||||||
|
firstarg="$1"
|
||||||
|
if shift; then
|
||||||
|
case "$firstarg" in
|
||||||
|
*o*)
|
||||||
|
firstarg=`echo "$firstarg" | sed s/o//`
|
||||||
|
tar "$firstarg" "$@" && exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
case "$firstarg" in
|
||||||
|
*h*)
|
||||||
|
firstarg=`echo "$firstarg" | sed s/h//`
|
||||||
|
tar "$firstarg" "$@" && exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||||
|
You may want to install GNU tar or Free paxutils, or check the
|
||||||
|
command line arguments."
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||||
|
system. You might have modified some files without having the
|
||||||
|
proper tools for further handling them. Check the \`README' file,
|
||||||
|
it often tells you about the needed prerequisites for installing
|
||||||
|
this package. You may also peek at any GNU archive site, in case
|
||||||
|
some other package would contain this missing \`$1' program."
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
111
autotools/mkinstalldirs
Executable file
111
autotools/mkinstalldirs
Executable file
|
@ -0,0 +1,111 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# mkinstalldirs --- make directory hierarchy
|
||||||
|
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||||
|
# Created: 1993-05-16
|
||||||
|
# Public domain
|
||||||
|
|
||||||
|
errstatus=0
|
||||||
|
dirmode=""
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
||||||
|
|
||||||
|
# process command line arguments
|
||||||
|
while test $# -gt 0 ; do
|
||||||
|
case $1 in
|
||||||
|
-h | --help | --h*) # -h for help
|
||||||
|
echo "$usage" 1>&2
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
-m) # -m PERM arg
|
||||||
|
shift
|
||||||
|
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
|
||||||
|
dirmode=$1
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
--) # stop option processing
|
||||||
|
shift
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
-*) # unknown option
|
||||||
|
echo "$usage" 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
*) # first non-opt arg
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
for file
|
||||||
|
do
|
||||||
|
if test -d "$file"; then
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
case $# in
|
||||||
|
0) exit 0 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $dirmode in
|
||||||
|
'')
|
||||||
|
if mkdir -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -p -- $*"
|
||||||
|
exec mkdir -p -- "$@"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -m $dirmode -p -- $*"
|
||||||
|
exec mkdir -m "$dirmode" -p -- "$@"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
for file
|
||||||
|
do
|
||||||
|
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||||
|
shift
|
||||||
|
|
||||||
|
pathcomp=
|
||||||
|
for d
|
||||||
|
do
|
||||||
|
pathcomp="$pathcomp$d"
|
||||||
|
case $pathcomp in
|
||||||
|
-*) pathcomp=./$pathcomp ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if test ! -d "$pathcomp"; then
|
||||||
|
echo "mkdir $pathcomp"
|
||||||
|
|
||||||
|
mkdir "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
|
if test ! -d "$pathcomp"; then
|
||||||
|
errstatus=$lasterr
|
||||||
|
else
|
||||||
|
if test ! -z "$dirmode"; then
|
||||||
|
echo "chmod $dirmode $pathcomp"
|
||||||
|
lasterr=""
|
||||||
|
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
|
if test ! -z "$lasterr"; then
|
||||||
|
errstatus=$lasterr
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
pathcomp="$pathcomp/"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
exit $errstatus
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# End:
|
||||||
|
# mkinstalldirs ends here
|
591
configure.in
591
configure.in
|
@ -1,17 +1,309 @@
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
# -*- Autoconf -*-
|
||||||
AC_INIT(src/main.c)
|
# Process this file with autoconf to produce a configure script.
|
||||||
AC_CONFIG_HEADER(src/config.h)
|
AC_PREREQ(2.57)
|
||||||
PACKAGE=NeoStats
|
AC_INIT()
|
||||||
MAJOR=3
|
AC_CONFIG_AUX_DIR(autotools)
|
||||||
MINOR=0
|
AC_CONFIG_SRCDIR([src/main.c])
|
||||||
REV=genesis
|
AC_CONFIG_HEADER([include/config.h])
|
||||||
AC_DEFINE_UNQUOTED(MAJOR, $MAJOR)
|
|
||||||
AC_DEFINE_UNQUOTED(MINOR, $MINOR)
|
|
||||||
AC_DEFINE_UNQUOTED(REV, $REV)
|
|
||||||
VERSION=$MAJOR.$MINOR.$REV
|
|
||||||
AC_PREFIX_DEFAULT(~/NeoStats)
|
AC_PREFIX_DEFAULT(~/NeoStats)
|
||||||
MODLDFLAGS="-shared"
|
AC_CACHE_LOAD
|
||||||
AC_DEFINE_UNQUOTED(NEOSTATS_PACKAGE_VERSION, "$VERSION")
|
|
||||||
|
#Standard Defines for autoconf here
|
||||||
|
x_maj=3
|
||||||
|
x_min='0'
|
||||||
|
x_rev="genesis"
|
||||||
|
x_package='NeoStats'
|
||||||
|
MODULES="connectserv hostserv loveserv moraleserv statserv"
|
||||||
|
#dont edit anything after this line!
|
||||||
|
|
||||||
|
x_version=$x_maj.$x_min.$x_rev
|
||||||
|
AM_INIT_AUTOMAKE($x_package, $x_version)
|
||||||
|
AC_DEFINE_UNQUOTED(MAJOR, $x_maj, "Major Version Number")
|
||||||
|
AC_DEFINE_UNQUOTED(MINOR, $x_min, "Minor Version Number")
|
||||||
|
AC_DEFINE_UNQUOTED(REV, $x_rev, "Revision Version Number")
|
||||||
|
AC_DEFINE_UNQUOTED(VERSION, $x_version, "Full Version")
|
||||||
|
AC_LIBTOOL_DLOPEN
|
||||||
|
AC_DISABLE_SHARED
|
||||||
|
AC_LIBTOOL_WIN32_DLL
|
||||||
|
AC_LIBLTDL_CONVENIENCE
|
||||||
|
|
||||||
|
# Checks for programs.
|
||||||
|
AC_PROG_CC
|
||||||
|
AC_PROG_LIBTOOL
|
||||||
|
|
||||||
|
AC_PATH_PROG( SED, sed, , $PATH:/usr/bin:/usr/local/bin)
|
||||||
|
|
||||||
|
AC_SYS_LARGEFILE
|
||||||
|
|
||||||
|
# Checks for libraries.
|
||||||
|
|
||||||
|
# Checks for header files.
|
||||||
|
AC_HEADER_STDC
|
||||||
|
AC_CHECK_HEADERS(
|
||||||
|
sys/types.h \
|
||||||
|
sys/time.h \
|
||||||
|
sys/select.h \
|
||||||
|
sys/socket.h \
|
||||||
|
unistd.h \
|
||||||
|
malloc.h \
|
||||||
|
stdlib.h \
|
||||||
|
arpa/inet.h \
|
||||||
|
net/if.h \
|
||||||
|
netinet/in.h \
|
||||||
|
netdb.h \
|
||||||
|
sys/sockio.h \
|
||||||
|
sys/stat.h \
|
||||||
|
sys/param.h \
|
||||||
|
termios.h \
|
||||||
|
termio.h \
|
||||||
|
sgtty.h \
|
||||||
|
fcntl.h \
|
||||||
|
dlfcn.h \
|
||||||
|
alloca.h \
|
||||||
|
winsock.h \
|
||||||
|
time.h \
|
||||||
|
io.h \
|
||||||
|
pwd.h \
|
||||||
|
utime.h \
|
||||||
|
sys/utime.h \
|
||||||
|
sys/poll.h \
|
||||||
|
setjmp.h,
|
||||||
|
dnl to do if not found
|
||||||
|
[],
|
||||||
|
dnl to do if found
|
||||||
|
[],
|
||||||
|
dnl default includes
|
||||||
|
[
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_TIME_H
|
||||||
|
#include <sys/time.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SELECT_H
|
||||||
|
#include <sys/select.h>
|
||||||
|
#endif
|
||||||
|
#ifdef HAVE_SYS_SOCKET_H
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#endif
|
||||||
|
]
|
||||||
|
)
|
||||||
|
|
||||||
|
# Checks for typedefs, structures, and compiler characteristics.
|
||||||
|
AC_C_CONST
|
||||||
|
AC_C_INLINE
|
||||||
|
AC_TYPE_OFF_T
|
||||||
|
AC_TYPE_SIZE_T
|
||||||
|
AC_HEADER_TIME
|
||||||
|
AC_STRUCT_TM
|
||||||
|
AC_C_VOLATILE
|
||||||
|
AC_CHECK_SIZEOF(off_t)
|
||||||
|
|
||||||
|
AC_CHECK_TYPE(long long,
|
||||||
|
[AC_DEFINE(HAVE_LONGLONG, 1, [if your compiler supports 'long long'])])
|
||||||
|
|
||||||
|
# check for ssize_t
|
||||||
|
AC_CHECK_TYPE(ssize_t, ,
|
||||||
|
AC_DEFINE(ssize_t, int, [the signed version of size_t]))
|
||||||
|
|
||||||
|
TYPE_SOCKLEN_T
|
||||||
|
TYPE_IN_ADDR_T
|
||||||
|
|
||||||
|
AC_FUNC_SELECT_ARGTYPES
|
||||||
|
AC_CHECK_FUNCS( socket \
|
||||||
|
select \
|
||||||
|
strdup \
|
||||||
|
strstr \
|
||||||
|
strtok_r \
|
||||||
|
strftime \
|
||||||
|
uname \
|
||||||
|
strcasecmp \
|
||||||
|
stricmp \
|
||||||
|
strcmpi \
|
||||||
|
gethostbyaddr \
|
||||||
|
gettimeofday \
|
||||||
|
inet_addr \
|
||||||
|
inet_ntoa \
|
||||||
|
inet_pton \
|
||||||
|
tcsetattr \
|
||||||
|
tcgetattr \
|
||||||
|
perror \
|
||||||
|
closesocket \
|
||||||
|
siginterrupt \
|
||||||
|
sigaction \
|
||||||
|
signal \
|
||||||
|
getpass_r \
|
||||||
|
strlcat \
|
||||||
|
getpwuid \
|
||||||
|
geteuid \
|
||||||
|
dlopen \
|
||||||
|
utime \
|
||||||
|
sigsetjmp \
|
||||||
|
poll,
|
||||||
|
dnl if found
|
||||||
|
[],
|
||||||
|
dnl if not found, $ac_func is the name we check for
|
||||||
|
func="$ac_func"
|
||||||
|
AC_MSG_CHECKING([deeper for $func])
|
||||||
|
AC_TRY_LINK( [],
|
||||||
|
[ $func ();],
|
||||||
|
AC_MSG_RESULT(yes!)
|
||||||
|
eval "ac_cv_func_$func=yes"
|
||||||
|
def=`echo "HAVE_$func" | tr 'a-z' 'A-Z'`
|
||||||
|
AC_DEFINE_UNQUOTED($def, 1, [If you have $func]),
|
||||||
|
AC_MSG_RESULT(but still no)
|
||||||
|
)
|
||||||
|
|
||||||
|
)
|
||||||
|
ADNS_C_GCCATTRIB
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# Checks for library functions.
|
||||||
|
AC_REPLACE_FNMATCH
|
||||||
|
AC_FUNC_FORK
|
||||||
|
AC_PROG_GCC_TRADITIONAL
|
||||||
|
AC_FUNC_SELECT_ARGTYPES
|
||||||
|
AC_TYPE_SIGNAL
|
||||||
|
AC_FUNC_STAT
|
||||||
|
AC_FUNC_STRFTIME
|
||||||
|
AC_FUNC_STRNLEN
|
||||||
|
AC_FUNC_STRTOD
|
||||||
|
AC_FUNC_VPRINTF
|
||||||
|
AC_CHECK_FUNCS(strnlen strlcpy strlcat strndup)
|
||||||
|
CURL_CHECK_NONBLOCKING_SOCKET
|
||||||
|
AC_DEFINE(DISABLED_THREADSAFE, 1, Set to explicitly specify we don't want to use thread-safe functions in curl)
|
||||||
|
|
||||||
|
dnl backtrace is used for segv reporting
|
||||||
|
AC_CHECK_FUNC(backtrace,
|
||||||
|
[AC_DEFINE(HAVE_BACKTRACE, 1, 'backtrace function available')
|
||||||
|
LIBS="-g $LIBS"]
|
||||||
|
)
|
||||||
|
|
||||||
|
dnl gethostbyname in the nsl lib?
|
||||||
|
AC_CHECK_FUNC(gethostbyname, , [ AC_CHECK_LIB(nsl, gethostbyname) ])
|
||||||
|
|
||||||
|
if test "$ac_cv_lib_nsl_gethostbyname" != "yes" -a "$ac_cv_func_gethostbyname" != "yes"; then
|
||||||
|
dnl gethostbyname in the socket lib?
|
||||||
|
AC_CHECK_FUNC(gethostbyname, , [ AC_CHECK_LIB(socket, gethostbyname) ])
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl At least one system has been identified to require BOTH nsl and
|
||||||
|
dnl socket libs to link properly.
|
||||||
|
if test "$ac_cv_lib_nsl_gethostbyname" != "yes" -a "$ac_cv_lib_socket_gethostbyname" != "yes" -a "$ac_cv_func_gethostbyname" != "yes"; then
|
||||||
|
AC_MSG_CHECKING([trying both nsl and socket libs])
|
||||||
|
my_ac_save_LIBS=$LIBS
|
||||||
|
LIBS="-lnsl -lsocket $LIBS"
|
||||||
|
AC_TRY_LINK( ,
|
||||||
|
[gethostbyname();],
|
||||||
|
my_ac_link_result=success,
|
||||||
|
my_ac_link_result=failure )
|
||||||
|
|
||||||
|
if test "$my_ac_link_result" = "failure"; then
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
AC_MSG_ERROR([couldn't find libraries for gethostbyname()])
|
||||||
|
dnl restore LIBS
|
||||||
|
LIBS=$my_ac_save_LIBS
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl resolve lib?
|
||||||
|
AC_CHECK_FUNC(strcasecmp, , [ AC_CHECK_LIB(resolve, strcasecmp) ])
|
||||||
|
|
||||||
|
if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
|
||||||
|
AC_CHECK_LIB(resolve, strcasecmp,
|
||||||
|
[LIBS="-lresolve $LIBS"],
|
||||||
|
,
|
||||||
|
-lnsl)
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl socket lib?
|
||||||
|
AC_CHECK_FUNC(connect, , [ AC_CHECK_LIB(socket, connect) ])
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([if argv can be written to])
|
||||||
|
AC_CACHE_VAL(curl_cv_writable_argv, [
|
||||||
|
AC_RUN_IFELSE([[
|
||||||
|
int main(int argc, char ** argv) {
|
||||||
|
argv[0][0] = ' ';
|
||||||
|
return (argv[0][0] == ' ')?0:1;
|
||||||
|
}
|
||||||
|
]],
|
||||||
|
curl_cv_writable_argv=yes,
|
||||||
|
curl_cv_writable_argv=no,
|
||||||
|
curl_cv_writable_argv=cross)
|
||||||
|
])
|
||||||
|
case $curl_cv_writable_argv in
|
||||||
|
yes)
|
||||||
|
AC_DEFINE(HAVE_WRITABLE_ARGV, 1, [Define this symbol if your OS supports changing the contents of argv])
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
;;
|
||||||
|
no)
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
AC_MSG_WARN([the previous check could not be made default was used])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
dnl **** Check for underscore on external symbols ****
|
||||||
|
|
||||||
|
AC_CACHE_CHECK(whether external symbols need an underscore prefix,
|
||||||
|
ac_cv_c_extern_prefix,
|
||||||
|
[saved_libs=$LIBS
|
||||||
|
LIBS="conftest_asm.s $LIBS"
|
||||||
|
cat > conftest_asm.s <<EOF
|
||||||
|
.globl _ac_test
|
||||||
|
_ac_test:
|
||||||
|
.long 0
|
||||||
|
EOF
|
||||||
|
AC_TRY_LINK([extern int ac_test;],[if (ac_test) return 1],
|
||||||
|
ac_cv_c_extern_prefix="yes",ac_cv_c_extern_prefix="no")
|
||||||
|
LIBS=$saved_libs])
|
||||||
|
if test "$ac_cv_c_extern_prefix" = "yes"
|
||||||
|
then
|
||||||
|
AC_DEFINE(NEED_UNDERSCORE_PREFIX, 1, "Our Platfrom requires Underscores")
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl check for berkeley db support
|
||||||
|
AC_CHECK_HEADER(db.h, AC_DEFINE(HAVE_DB_H, 1, [Define to 1 if you have the <db.h> header file.])
|
||||||
|
AC_CHECK_LIB(db, db_create, LIBDB="-ldb"))
|
||||||
|
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([if we need -no-undefined])
|
||||||
|
case $host in
|
||||||
|
*-*-cygwin | *-*-mingw* | *-*-pw32*)
|
||||||
|
need_no_undefined=yes
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
need_no_undefined=no
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_MSG_RESULT($need_no_undefined)
|
||||||
|
dnl AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
|
||||||
|
|
||||||
|
AC_MSG_CHECKING([if we need -mimpure-text])
|
||||||
|
case $host in
|
||||||
|
*-*-solaris2*)
|
||||||
|
if test "$GCC" = "yes"; then
|
||||||
|
mimpure="yes"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
mimpure=no
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
AC_MSG_RESULT($mimpure)
|
||||||
|
dnl AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes)
|
||||||
|
|
||||||
|
|
||||||
|
AC_CONFIG_SUBDIRS(src/libltdl)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
do_extauth=no
|
do_extauth=no
|
||||||
do_ircdauth=no
|
do_ircdauth=no
|
||||||
|
@ -25,7 +317,7 @@ AC_ARG_ENABLE(unreal31, [ --enable-unreal31 - enable Unreal 3.1.x IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(UNREAL, 1, 'Enable Unreal 3.1.x Support')
|
AC_DEFINE(UNREAL, 1, 'Enable Unreal 3.1.x Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Unreal 3.1")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Unreal 3.1", "IRCd Protocol we are compiled with")
|
||||||
PROTOCOL="unreal"
|
PROTOCOL="unreal"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -40,7 +332,7 @@ AC_ARG_ENABLE(unreal32, [ --enable-unreal32 - enable Unreal 3.2.x IRCD Support],
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(UNREAL, 1, 'Enable Unreal 3.1.x Support')
|
AC_DEFINE(UNREAL, 1, 'Enable Unreal 3.1.x Support')
|
||||||
AC_DEFINE(UNREAL32, 1, 'Enable Unreal 3.2.x Support')
|
AC_DEFINE(UNREAL32, 1, 'Enable Unreal 3.2.x Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Unreal 3.2")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Unreal 3.2", "IRCd Protocol we are compiled with")
|
||||||
PROTOCOL="unreal"
|
PROTOCOL="unreal"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -56,7 +348,7 @@ AC_ARG_ENABLE(ultimate2, [ --enable-ultimate2 - enable Ultimate 2.x.x IRCD Suppo
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(ULTIMATE, 1, 'Enable Ultimate Support')
|
AC_DEFINE(ULTIMATE, 1, 'Enable Ultimate Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Ultimate 2.x.x")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Ultimate 2.x.x")
|
||||||
PROTOCOL="ultimate"
|
PROTOCOL="ultimate"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -72,7 +364,7 @@ AC_ARG_ENABLE(ultimate3, [ --enable-ultimate3 - enable Ultimate 3.x.x IRCD Suppo
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(ULTIMATE, 1, 'Enable Ultimate 2.x.x Support')
|
AC_DEFINE(ULTIMATE, 1, 'Enable Ultimate 2.x.x Support')
|
||||||
AC_DEFINE(ULTIMATE3, 1, "Enable Ultimate 3.x.x Support')
|
AC_DEFINE(ULTIMATE3, 1, "Enable Ultimate 3.x.x Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Ultimate 3.x.x")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Ultimate 3.x.x")
|
||||||
PROTOCOL="ultimate"
|
PROTOCOL="ultimate"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -88,7 +380,7 @@ AC_ARG_ENABLE(hybrid7, [ --enable-hybrid7 - enable Hybrid7 IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(HYBRID7, 1, 'Enable hybrid7 IRCD support')
|
AC_DEFINE(HYBRID7, 1, 'Enable hybrid7 IRCD support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Hybrid 7")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Hybrid 7")
|
||||||
PROTOCOL="hybrid7"
|
PROTOCOL="hybrid7"
|
||||||
AC_MSG_CHECKING(Auto-Enabling ServiceRoots Authentication Module)
|
AC_MSG_CHECKING(Auto-Enabling ServiceRoots Authentication Module)
|
||||||
do_extauth=yes
|
do_extauth=yes
|
||||||
|
@ -107,7 +399,7 @@ AC_ARG_ENABLE(neoircd, [ --enable-neoircd - enable NeoIRCd IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(NEOIRCD, 1, 'Enable NeoIRCd IRCD support')
|
AC_DEFINE(NEOIRCD, 1, 'Enable NeoIRCd IRCD support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "NeoIRCd")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "NeoIRCd")
|
||||||
PROTOCOL="neoircd"
|
PROTOCOL="neoircd"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -124,7 +416,7 @@ AC_ARG_ENABLE(quantum, [ --enable-quantum - enable Quantum IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(QUANTUM, 1, 'Enable Quantum Support')
|
AC_DEFINE(QUANTUM, 1, 'Enable Quantum Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Quantum")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Quantum")
|
||||||
PROTOCOL="quantum"
|
PROTOCOL="quantum"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -140,7 +432,7 @@ AC_ARG_ENABLE(mystic, [ --enable-mystic - enable Mystic IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(MYSTIC, 1, 'Enable Mystic Support')
|
AC_DEFINE(MYSTIC, 1, 'Enable Mystic Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Mystic")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Mystic")
|
||||||
PROTOCOL="mystic"
|
PROTOCOL="mystic"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -156,7 +448,7 @@ AC_ARG_ENABLE(bahamut, [ --enable-bahamut - enable Bahamut IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(BAHAMUT, 1, 'Enable Bahamut Support')
|
AC_DEFINE(BAHAMUT, 1, 'Enable Bahamut Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Bahamut")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Bahamut")
|
||||||
PROTOCOL="bahamut"
|
PROTOCOL="bahamut"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -173,7 +465,7 @@ AC_ARG_ENABLE(ircu, [ --enable-ircu - enable IRCu IRCD Support],
|
||||||
yes)
|
yes)
|
||||||
dnl AC_MSG_ERROR('Sorry IRCu support isnt complete yet')
|
dnl AC_MSG_ERROR('Sorry IRCu support isnt complete yet')
|
||||||
AC_DEFINE(IRCU, 1, 'Enable IRCu Support')
|
AC_DEFINE(IRCU, 1, 'Enable IRCu Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "IRCu")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "IRCu")
|
||||||
PROTOCOL="ircu"
|
PROTOCOL="ircu"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -189,7 +481,7 @@ AC_ARG_ENABLE(liquid, [ --enable-liquid - enable Liquid IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(LIQUID, 1, 'Enable Liquid IRCd Support')
|
AC_DEFINE(LIQUID, 1, 'Enable Liquid IRCd Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Liquid")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Liquid")
|
||||||
PROTOCOL="liquid"
|
PROTOCOL="liquid"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -206,7 +498,7 @@ AC_ARG_ENABLE(viagra, [ --enable-viagra - enable Viagra IRCD Support],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(VIAGRA, 1, 'Enable Viagra IRCd Support')
|
AC_DEFINE(VIAGRA, 1, 'Enable Viagra IRCd Support')
|
||||||
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Viagra")
|
AC_DEFINE_UNQUOTED(NS_PROTOCOL, "Viagra")
|
||||||
PROTOCOL="viagra"
|
PROTOCOL="viagra"
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
;;
|
;;
|
||||||
|
@ -218,12 +510,12 @@ AC_MSG_RESULT(no)
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_MSG_CHECKING(A compatible IRCD is specified)
|
AC_MSG_CHECKING(A compatible IRCD is specified)
|
||||||
if test "$PROTOCOL" = no; then
|
if test "$PROTOCOL" = no; then
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
AC_MSG_ERROR('You must define a IRCD to use. See ./configure --help for more information')
|
AC_MSG_ERROR('You must define a IRCD to use. See ./configure --help for more information')
|
||||||
else
|
else
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl check whether to enable IRCd user mode authentication
|
dnl check whether to enable IRCd user mode authentication
|
||||||
AC_MSG_CHECKING(Whether to enable IRCd user mode authentication...)
|
AC_MSG_CHECKING(Whether to enable IRCd user mode authentication...)
|
||||||
|
@ -258,157 +550,6 @@ if test "$do_extauth" = no; then
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl AC_MSG_CHECKING(An authentication module is specified)
|
|
||||||
dnl if test "$AUTH" = no; then
|
|
||||||
dnl AC_MSG_RESULT(no)
|
|
||||||
dnl AC_MSG_ERROR('You must define an authentication module to use. See ./configure --help for more information')
|
|
||||||
dnl else
|
|
||||||
dnl AC_MSG_RESULT(yes)
|
|
||||||
dnl fi
|
|
||||||
|
|
||||||
dnl Get system type
|
|
||||||
AC_CANONICAL_HOST
|
|
||||||
AC_DEFINE_UNQUOTED(NS_HOST, "$host_os")
|
|
||||||
case "$host_os" in
|
|
||||||
*cygwin)
|
|
||||||
CFLAGS="$CFLAGS -O2 -g"
|
|
||||||
LDFLAGS="$LDFLAGS -export-dynamic";;
|
|
||||||
*mingw32)
|
|
||||||
CFLAGS="$CFLAGS -O2 -g -mno-cygwin"
|
|
||||||
LDFLAGS="$LDFLAGS -export-dynamic";;
|
|
||||||
*openbsd)
|
|
||||||
CFLAGS="$CFLAGS -O2 -g -fPIC -DPIC"
|
|
||||||
LDFLAGS="-export-dynamic";;
|
|
||||||
*)
|
|
||||||
CFLAGS="$CFLAGS -O2 -g -fPIC -DPIC"
|
|
||||||
LDFLAGS="-rdynamic";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
case "$host_os" in
|
|
||||||
*openbsd*)
|
|
||||||
MAKEDEPENDENCIES="";;
|
|
||||||
*freebsd*)
|
|
||||||
MAKEDEPENDENCIES="";;
|
|
||||||
*)
|
|
||||||
MAKEDEPENDENCIES="-include \$(OBJS:.o=.d)";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl Checks for programs.
|
|
||||||
AC_PROG_CC
|
|
||||||
AC_PROG_INSTALL
|
|
||||||
AC_PROG_LEX
|
|
||||||
AC_PROG_YACC
|
|
||||||
AC_PROG_RANLIB
|
|
||||||
AC_CACHE_SAVE
|
|
||||||
|
|
||||||
dnl Checks for libraries.
|
|
||||||
dnl Replace `main' with a function in -ldl:
|
|
||||||
AC_CHECK_LIB(dl, dlopen)
|
|
||||||
|
|
||||||
ADNS_C_GETFUNC(socket,socket)
|
|
||||||
ADNS_C_GETFUNC(inet_ntoa,nsl)
|
|
||||||
|
|
||||||
AC_CHECK_FUNC(backtrace,
|
|
||||||
[AC_DEFINE(HAVE_BACKTRACE, 1, 'backtrace function available')
|
|
||||||
LIBS="-g $LIBS"]
|
|
||||||
)
|
|
||||||
AC_CACHE_SAVE
|
|
||||||
|
|
||||||
|
|
||||||
dnl Checks for header files.
|
|
||||||
AC_HEADER_STDC
|
|
||||||
AC_HEADER_SYS_WAIT
|
|
||||||
AC_CHECK_HEADERS(sys/time.h unistd.h limits.h sys/poll.h)
|
|
||||||
AC_CACHE_SAVE
|
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
||||||
AC_C_CONST
|
|
||||||
AC_TYPE_SIZE_T
|
|
||||||
AC_HEADER_TIME
|
|
||||||
AC_STRUCT_TM
|
|
||||||
AC_CACHE_SAVE
|
|
||||||
|
|
||||||
dnl Checks for library functions.
|
|
||||||
AC_FUNC_FNMATCH
|
|
||||||
AC_TYPE_SIGNAL
|
|
||||||
AC_FUNC_STRFTIME
|
|
||||||
AC_CHECK_FUNCS(strlcpy strlcat strnlen)
|
|
||||||
AC_CHECK_FUNCS(socket strdup poll)
|
|
||||||
AC_CHECK_FUNCS(strndup)
|
|
||||||
AC_CHECK_FUNCS(bcopy memmove strerror)
|
|
||||||
|
|
||||||
|
|
||||||
ADNS_C_GETFUNC(inet_aton,resolv,[
|
|
||||||
LIBS="-lresolv $LIBS";
|
|
||||||
AC_MSG_WARN([inet_aton is in libresolv, urgh. Must use -lresolv.])
|
|
||||||
])
|
|
||||||
|
|
||||||
DPKG_CACHED_TRY_COMPILE(inlines,dpkg_cv_c_inline,,
|
|
||||||
[} inline int foo (int x) {],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
AC_DEFINE(HAVE_INLINE),
|
|
||||||
AC_MSG_RESULT(no))
|
|
||||||
|
|
||||||
ADNS_C_GCCATTRIB
|
|
||||||
AC_CHECK_HEADERS(sys/select.h)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(for INADDR_LOOPBACK)
|
|
||||||
AC_CACHE_VAL(adns_cv_decl_inaddrloopback,[
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
],[
|
|
||||||
INADDR_LOOPBACK;
|
|
||||||
],
|
|
||||||
adns_cv_decl_inaddrloopback=yes,
|
|
||||||
adns_cv_decl_inaddrloopback=no)])
|
|
||||||
if test "$adns_cv_decl_inaddrloopback" = yes; then
|
|
||||||
AC_MSG_RESULT(found)
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([not in standard headers, urgh...])
|
|
||||||
AC_CHECK_HEADER(rpc/types.h,[
|
|
||||||
AC_DEFINE(HAVEUSE_RPCTYPES_H)
|
|
||||||
],[
|
|
||||||
AC_MSG_ERROR([cannot find INADDR_LOOPBACK or rpc/types.h])
|
|
||||||
])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl **** Check for underscore on external symbols ****
|
|
||||||
|
|
||||||
AC_CACHE_CHECK(whether external symbols need an underscore prefix,
|
|
||||||
ac_cv_c_extern_prefix,
|
|
||||||
[saved_libs=$LIBS
|
|
||||||
LIBS="conftest_asm.s $LIBS"
|
|
||||||
cat > conftest_asm.s <<EOF
|
|
||||||
.globl _ac_test
|
|
||||||
_ac_test:
|
|
||||||
.long 0
|
|
||||||
EOF
|
|
||||||
AC_TRY_LINK([extern int ac_test;],[if (ac_test) return 1],
|
|
||||||
ac_cv_c_extern_prefix="yes",ac_cv_c_extern_prefix="no")
|
|
||||||
LIBS=$saved_libs])
|
|
||||||
if test "$ac_cv_c_extern_prefix" = "yes"
|
|
||||||
then
|
|
||||||
AC_DEFINE(NEED_UNDERSCORE_PREFIX)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl check for berkeley db support
|
|
||||||
AC_CHECK_HEADER(db.h, AC_DEFINE(HAVE_DB_H, 1, [Define to 1 if you have the <db.h> header file.])
|
|
||||||
AC_CHECK_LIB(db, db_create, LIBDB="-ldb"))
|
|
||||||
|
|
||||||
PCRE_MAJOR=4
|
|
||||||
PCRE_MINOR=3
|
|
||||||
PCRE_DATE=21-May-2003
|
|
||||||
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR}
|
|
||||||
|
|
||||||
dnl Default values for miscellaneous macros
|
|
||||||
|
|
||||||
AC_DEFINE(POSIX_MALLOC_THRESHOLD,10)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
dnl check if we are running with Debug....
|
dnl check if we are running with Debug....
|
||||||
AC_MSG_CHECKING(Whether to Enable Debuging...)
|
AC_MSG_CHECKING(Whether to Enable Debuging...)
|
||||||
AC_ARG_ENABLE(debug,
|
AC_ARG_ENABLE(debug,
|
||||||
|
@ -416,7 +557,7 @@ AC_ARG_ENABLE(debug,
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
yes)
|
yes)
|
||||||
AC_DEFINE(DEBUG, 1, 'Enable Debugging')
|
AC_DEFINE(DEBUG, 1, 'Enable Debugging')
|
||||||
CFLAGS="$CFLAGS -ggdb -Wall"
|
CFLAGS="$CFLAGS -ggdb -Wall -DCURLDEBUG"
|
||||||
AC_MSG_RESULT(yes - Watch your Log Files)
|
AC_MSG_RESULT(yes - Watch your Log Files)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -427,9 +568,6 @@ AC_ARG_ENABLE(debug,
|
||||||
CFLAGS="$CFLAGS -DNDEBUG"
|
CFLAGS="$CFLAGS -DNDEBUG"
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
)
|
)
|
||||||
|
|
||||||
AC_CACHE_SAVE
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(To Enable Raw command?)
|
AC_MSG_CHECKING(To Enable Raw command?)
|
||||||
AC_ARG_ENABLE(raw, [ --enable-raw - Enable Raw command],
|
AC_ARG_ENABLE(raw, [ --enable-raw - Enable Raw command],
|
||||||
[ case "$enableval" in
|
[ case "$enableval" in
|
||||||
|
@ -463,14 +601,6 @@ esac],
|
||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
dnl Lets see what Modules to Compile
|
|
||||||
AC_MSG_CHECKING(Any other modules to compile?)
|
|
||||||
AC_ARG_ENABLE(modules, [ --enable-modules="MODULES" - space seperated list of modules to compile],
|
|
||||||
AC_MSG_RESULT($enableval)
|
|
||||||
MODULES="$MODULES $enableval",
|
|
||||||
AC_MSG_RESULT(none)
|
|
||||||
)
|
|
||||||
configtool=no
|
configtool=no
|
||||||
AC_MSG_CHECKING(Enable Building of ConfigTool?)
|
AC_MSG_CHECKING(Enable Building of ConfigTool?)
|
||||||
AC_ARG_ENABLE(configtool,
|
AC_ARG_ENABLE(configtool,
|
||||||
|
@ -507,61 +637,36 @@ else
|
||||||
build_configtool=
|
build_configtool=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_SUBST(build_configtool)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(The Modules that will be compiled)
|
AC_MSG_CHECKING(The Modules that will be automatically compiled)
|
||||||
AC_MSG_RESULT($MODULES)
|
AC_MSG_RESULT($MODULES)
|
||||||
|
|
||||||
dnl Set NEO_PREFIX in config.h.
|
AC_MSG_CHECKING(The additionall modules to compile?)
|
||||||
if test "x${prefix}" = "xNONE"; then
|
AC_ARG_WITH(modules, [ --with-modules - Additional Modules to compile],
|
||||||
AC_DEFINE_UNQUOTED(NEO_PREFIX, "${ac_default_prefix}")
|
MODULES="$MODULES $withval"
|
||||||
else
|
AC_MSG_RESULT($withval),
|
||||||
AC_DEFINE_UNQUOTED(NEO_PREFIX, "${prefix}")
|
AC_MSG_RESULT("None"))
|
||||||
fi
|
|
||||||
|
|
||||||
AC_SUBST(LIBDB)
|
|
||||||
AC_SUBST(MAKEDEPENDENCIES)
|
|
||||||
AC_SUBST(DIRINST)
|
|
||||||
AC_SUBST(CFLAGS)
|
|
||||||
AC_SUBST(LDFLAGS)
|
|
||||||
AC_SUBST(MODLDFLAGS)
|
|
||||||
AC_SUBST(LINK_SIZE)
|
|
||||||
AC_SUBST(MATCH_LIMIT)
|
|
||||||
AC_SUBST(NEWLINE)
|
|
||||||
AC_DEFINE(POSIX_MALLOC_THRESHOLD,10)
|
|
||||||
AC_SUBST(POSIX_MALLOC_THRESHOLD)
|
|
||||||
AC_SUBST(UTF8)
|
|
||||||
|
|
||||||
|
dnl Set NEO_PREFIX in config.h.
|
||||||
|
if test "x${prefix}" = "xNONE"; then
|
||||||
|
AC_DEFINE_UNQUOTED(NEO_PREFIX, "${ac_default_prefix}", "Installation Prefix")
|
||||||
|
else
|
||||||
|
AC_DEFINE_UNQUOTED(NEO_PREFIX, "${prefix}", "Installation Prefix")
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
AC_SUBST(build_configtool)
|
||||||
AC_SUBST(PROTOCOL)
|
AC_SUBST(PROTOCOL)
|
||||||
AC_SUBST(MODULES)
|
AC_SUBST(SED)
|
||||||
AC_SUBST(LIBS)
|
AC_SUBST(INCLTDL)
|
||||||
AC_SUBST(EXTAUTH_SRC)
|
AC_SUBST(LIBLTDL)
|
||||||
AC_SUBST(EXTAUTH_OBJS)
|
|
||||||
AC_SUBST(PACKAGE)
|
|
||||||
AC_SUBST(VERSION)
|
AC_CONFIG_FILES([Makefile include/Makefile src/Makefile
|
||||||
AC_OUTPUT(src/Makefile.inc src/Makefile src/protocol/Makefile src/modules/Makefile.inc src/tools/Makefile)
|
src/protocol/Makefile src/curl/Makefile
|
||||||
NEO_SUBDIR_CONFIG(src/curl, [--disable-thread --disable-ipv6 --enable-nonblocking --without-ssl])
|
src/keeper/Makefile src/adns/Makefile])
|
||||||
echo "(*----------------------------------------------------------*)"
|
AC_CACHE_SAVE
|
||||||
echo "(| Important Instructions |)"
|
AC_OUTPUT
|
||||||
echo "(*----------------------------------------------------------*)"
|
|
||||||
echo "(| If you just typed ./configure and didnt read the README |)"
|
|
||||||
echo "(| NeoStats may not be configured correctly. |)"
|
|
||||||
echo "(| We suggest you at least type ./configure --help to see |)"
|
|
||||||
echo "(| available options and read the README file for further |)"
|
|
||||||
echo "(| information on that option. |)"
|
|
||||||
echo "(*----------------------------------------------------------*)"
|
|
||||||
echo "(| For Support please visit: |)"
|
|
||||||
echo "(| IRC: /server irc.irc-chat.net |)"
|
|
||||||
echo "(| #neostats channel |)"
|
|
||||||
echo "(| WWW: http://www.neostats.net/boards/ |)"
|
|
||||||
echo "(*----------------------------------------------------------*)"
|
|
||||||
echo "(| Now that configure is complete, type 'make' to compile |)"
|
|
||||||
echo "(| the program. When the compile has completed, type |)"
|
|
||||||
echo "(| 'make install' to install the program. |)"
|
|
||||||
echo "(| For BSD you might need to use 'gmake' and 'gmake install'|)"
|
|
||||||
echo "(*----------------------------------------------------------*)"
|
|
||||||
if test "$shush" != yes; then
|
|
||||||
read -p "Press Enter Key to Read the Release Notes"
|
|
||||||
clear
|
|
||||||
more ./RELNOTES
|
|
||||||
fi
|
|
||||||
|
|
4
include/Makefile.am
Normal file
4
include/Makefile.am
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
noinst_SCRIPTS=version.sh
|
||||||
|
BUILT_SOURCES=version.h
|
||||||
|
version.h: Makefile
|
||||||
|
@(if test -f version.sh ; then $(SHELL) version.sh; else echo > version.h; fi)
|
306
include/Makefile.in
Normal file
306
include/Makefile.in
Normal file
|
@ -0,0 +1,306 @@
|
||||||
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = ..
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
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_triplet = @host@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ALLOCA = @ALLOCA@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
GTK_CONFIG = @GTK_CONFIG@
|
||||||
|
INCLTDL = @INCLTDL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBLTDL = @LIBLTDL@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
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@
|
||||||
|
POW_LIB = @POW_LIB@
|
||||||
|
PROTOCOL = @PROTOCOL@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
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@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_configtool = @build_configtool@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
buildsqlsrv = @buildsqlsrv@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sqlsrvbuild = @sqlsrvbuild@
|
||||||
|
subdirs = @subdirs@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
noinst_SCRIPTS = version.sh
|
||||||
|
BUILT_SOURCES = version.h
|
||||||
|
subdir = include
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
|
||||||
|
CONFIG_HEADER = config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
SCRIPTS = $(noinst_SCRIPTS)
|
||||||
|
|
||||||
|
DIST_SOURCES =
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am config.h.in
|
||||||
|
all: $(BUILT_SOURCES) config.h
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --gnu include/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
config.h: stamp-h1
|
||||||
|
@if test ! -f $@; then \
|
||||||
|
rm -f stamp-h1; \
|
||||||
|
$(MAKE) stamp-h1; \
|
||||||
|
else :; fi
|
||||||
|
|
||||||
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
||||||
|
@rm -f stamp-h1
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status include/config.h
|
||||||
|
|
||||||
|
$(srcdir)/config.h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
|
touch $(srcdir)/config.h.in
|
||||||
|
|
||||||
|
distclean-hdr:
|
||||||
|
-rm -f config.h stamp-h1
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
tags: TAGS
|
||||||
|
TAGS:
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS:
|
||||||
|
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = ..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@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"; \
|
||||||
|
$(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: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) check-am
|
||||||
|
all-am: Makefile $(SCRIPTS) config.h
|
||||||
|
|
||||||
|
installdirs:
|
||||||
|
install: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) 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 $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
clean: clean-am
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-generic distclean-hdr distclean-libtool
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
|
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||||
|
distclean distclean-generic distclean-hdr distclean-libtool \
|
||||||
|
distdir dvi dvi-am info info-am install install-am 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-generic \
|
||||||
|
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||||
|
uninstall-info-am
|
||||||
|
|
||||||
|
version.h: Makefile
|
||||||
|
@(if test -f version.sh ; then $(SHELL) version.sh; else echo > version.h; fi)
|
||||||
|
# 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:
|
|
@ -1,52 +1,48 @@
|
||||||
/* lib/config.h.in. Generated from configure.ac by autoheader. */
|
/* include/config.h.in. Generated from configure.in by autoheader. */
|
||||||
|
|
||||||
/* to disable DICT */
|
/* 'Enable Bahamut Support' */
|
||||||
#undef CURL_DISABLE_DICT
|
#undef BAHAMUT
|
||||||
|
|
||||||
/* to disable FILE */
|
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
|
||||||
#undef CURL_DISABLE_FILE
|
systems. This function is required for `alloca.c' support on those systems.
|
||||||
|
*/
|
||||||
|
#undef CRAY_STACKSEG_END
|
||||||
|
|
||||||
/* to disable FTP */
|
/* Define to 1 if using `alloca.c'. */
|
||||||
#undef CURL_DISABLE_FTP
|
#undef C_ALLOCA
|
||||||
|
|
||||||
/* to disable GOPHER */
|
/* 'Enable Debugging' */
|
||||||
#undef CURL_DISABLE_GOPHER
|
#undef DEBUG
|
||||||
|
|
||||||
/* to disable HTTP */
|
/* Set to explicitly specify we don't want to use thread-safe functions in
|
||||||
#undef CURL_DISABLE_HTTP
|
curl */
|
||||||
|
|
||||||
/* to disable LDAP */
|
|
||||||
#undef CURL_DISABLE_LDAP
|
|
||||||
|
|
||||||
/* to disable TELNET */
|
|
||||||
#undef CURL_DISABLE_TELNET
|
|
||||||
|
|
||||||
/* Set to explicitly specify we don't want to use thread-safe functions */
|
|
||||||
#undef DISABLED_THREADSAFE
|
#undef DISABLED_THREADSAFE
|
||||||
|
|
||||||
/* your Entropy Gathering Daemon socket pathname */
|
/* Define to 1 if you have `alloca', as a function or macro. */
|
||||||
#undef EGD_SOCKET
|
#undef HAVE_ALLOCA
|
||||||
|
|
||||||
/* Define if you want to enable IPv6 support */
|
/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
|
||||||
#undef ENABLE_IPV6
|
*/
|
||||||
|
|
||||||
/* Define to 1 if you have the <alloca.h> header file. */
|
|
||||||
#undef HAVE_ALLOCA_H
|
#undef HAVE_ALLOCA_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
/* Define to 1 if you have the <arpa/inet.h> header file. */
|
||||||
#undef HAVE_ARPA_INET_H
|
#undef HAVE_ARPA_INET_H
|
||||||
|
|
||||||
|
/* 'backtrace function available' */
|
||||||
|
#undef HAVE_BACKTRACE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `btowc' function. */
|
||||||
|
#undef HAVE_BTOWC
|
||||||
|
|
||||||
/* Define to 1 if you have the `closesocket' function. */
|
/* Define to 1 if you have the `closesocket' function. */
|
||||||
#undef HAVE_CLOSESOCKET
|
#undef HAVE_CLOSESOCKET
|
||||||
|
|
||||||
/* Define to 1 if you have the `CRYPTO_cleanup_all_ex_data' function. */
|
/* Define to 1 if you have the <db.h> header file. */
|
||||||
#undef HAVE_CRYPTO_CLEANUP_ALL_EX_DATA
|
#undef HAVE_DB_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <crypto.h> header file. */
|
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
|
||||||
#undef HAVE_CRYPTO_H
|
*/
|
||||||
|
#undef HAVE_DECL_GETENV
|
||||||
/* Define to 1 if you have the <des.h> header file. */
|
|
||||||
#undef HAVE_DES_H
|
|
||||||
|
|
||||||
/* disabled non-blocking sockets */
|
/* disabled non-blocking sockets */
|
||||||
#undef HAVE_DISABLED_NONBLOCKING
|
#undef HAVE_DISABLED_NONBLOCKING
|
||||||
|
@ -57,8 +53,8 @@
|
||||||
/* Define to 1 if you have the `dlopen' function. */
|
/* Define to 1 if you have the `dlopen' function. */
|
||||||
#undef HAVE_DLOPEN
|
#undef HAVE_DLOPEN
|
||||||
|
|
||||||
/* Define to 1 if you have the <err.h> header file. */
|
/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
|
||||||
#undef HAVE_ERR_H
|
#undef HAVE_DOPRNT
|
||||||
|
|
||||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
/* Define to 1 if you have the <fcntl.h> header file. */
|
||||||
#undef HAVE_FCNTL_H
|
#undef HAVE_FCNTL_H
|
||||||
|
@ -66,8 +62,8 @@
|
||||||
/* use FIONBIO for non-blocking sockets */
|
/* use FIONBIO for non-blocking sockets */
|
||||||
#undef HAVE_FIONBIO
|
#undef HAVE_FIONBIO
|
||||||
|
|
||||||
/* Define if getaddrinfo exists and works */
|
/* Define to 1 if you have the `fork' function. */
|
||||||
#undef HAVE_GETADDRINFO
|
#undef HAVE_FORK
|
||||||
|
|
||||||
/* Define to 1 if you have the `geteuid' function. */
|
/* Define to 1 if you have the `geteuid' function. */
|
||||||
#undef HAVE_GETEUID
|
#undef HAVE_GETEUID
|
||||||
|
@ -75,30 +71,6 @@
|
||||||
/* Define to 1 if you have the `gethostbyaddr' function. */
|
/* Define to 1 if you have the `gethostbyaddr' function. */
|
||||||
#undef HAVE_GETHOSTBYADDR
|
#undef HAVE_GETHOSTBYADDR
|
||||||
|
|
||||||
/* Define to 1 if you have the `gethostbyaddr_r' function. */
|
|
||||||
#undef HAVE_GETHOSTBYADDR_R
|
|
||||||
|
|
||||||
/* gethostbyaddr_r() takes 5 args */
|
|
||||||
#undef HAVE_GETHOSTBYADDR_R_5
|
|
||||||
|
|
||||||
/* gethostbyaddr_r() takes 7 args */
|
|
||||||
#undef HAVE_GETHOSTBYADDR_R_7
|
|
||||||
|
|
||||||
/* gethostbyaddr_r() takes 8 args */
|
|
||||||
#undef HAVE_GETHOSTBYADDR_R_8
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `gethostbyname_r' function. */
|
|
||||||
#undef HAVE_GETHOSTBYNAME_R
|
|
||||||
|
|
||||||
/* gethostbyname_r() takes 3 args */
|
|
||||||
#undef HAVE_GETHOSTBYNAME_R_3
|
|
||||||
|
|
||||||
/* gethostbyname_r() takes 5 args */
|
|
||||||
#undef HAVE_GETHOSTBYNAME_R_5
|
|
||||||
|
|
||||||
/* gethostbyname_r() takes 6 args */
|
|
||||||
#undef HAVE_GETHOSTBYNAME_R_6
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `getpass_r' function. */
|
/* Define to 1 if you have the `getpass_r' function. */
|
||||||
#undef HAVE_GETPASS_R
|
#undef HAVE_GETPASS_R
|
||||||
|
|
||||||
|
@ -108,17 +80,17 @@
|
||||||
/* Define to 1 if you have the `gettimeofday' function. */
|
/* Define to 1 if you have the `gettimeofday' function. */
|
||||||
#undef HAVE_GETTIMEOFDAY
|
#undef HAVE_GETTIMEOFDAY
|
||||||
|
|
||||||
/* Define to 1 if you have the `gmtime_r' function. */
|
/* HAVE_GNUC25_ATTRIB */
|
||||||
#undef HAVE_GMTIME_R
|
#undef HAVE_GNUC25_ATTRIB
|
||||||
|
|
||||||
/* if you have the gssapi libraries */
|
/* HAVE_GNUC25_CONST */
|
||||||
#undef HAVE_GSSAPI
|
#undef HAVE_GNUC25_CONST
|
||||||
|
|
||||||
/* if you have the Heimdal gssapi libraries */
|
/* HAVE_GNUC25_NORETURN */
|
||||||
#undef HAVE_GSSHEIMDAL
|
#undef HAVE_GNUC25_NORETURN
|
||||||
|
|
||||||
/* if you have the MIT gssapi libraries */
|
/* HAVE_GNUC25_PRINTFFORMAT */
|
||||||
#undef HAVE_GSSMIT
|
#undef HAVE_GNUC25_PRINTFFORMAT
|
||||||
|
|
||||||
/* Define to 1 if you have the `inet_addr' function. */
|
/* Define to 1 if you have the `inet_addr' function. */
|
||||||
#undef HAVE_INET_ADDR
|
#undef HAVE_INET_ADDR
|
||||||
|
@ -126,12 +98,6 @@
|
||||||
/* Define to 1 if you have the `inet_ntoa' function. */
|
/* Define to 1 if you have the `inet_ntoa' function. */
|
||||||
#undef HAVE_INET_NTOA
|
#undef HAVE_INET_NTOA
|
||||||
|
|
||||||
/* Define to 1 if you have the `inet_ntoa_r' function. */
|
|
||||||
#undef HAVE_INET_NTOA_R
|
|
||||||
|
|
||||||
/* inet_ntoa_r() is declared */
|
|
||||||
#undef HAVE_INET_NTOA_R_DECL
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `inet_pton' function. */
|
/* Define to 1 if you have the `inet_pton' function. */
|
||||||
#undef HAVE_INET_PTON
|
#undef HAVE_INET_PTON
|
||||||
|
|
||||||
|
@ -147,51 +113,33 @@
|
||||||
/* Define to 1 if you have the <io.h> header file. */
|
/* Define to 1 if you have the <io.h> header file. */
|
||||||
#undef HAVE_IO_H
|
#undef HAVE_IO_H
|
||||||
|
|
||||||
/* if you have the Kerberos4 libraries (including -ldes) */
|
|
||||||
#undef HAVE_KRB4
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `krb_get_our_ip_for_realm' function. */
|
|
||||||
#undef HAVE_KRB_GET_OUR_IP_FOR_REALM
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <krb.h> header file. */
|
|
||||||
#undef HAVE_KRB_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `crypto' library (-lcrypto). */
|
|
||||||
#undef HAVE_LIBCRYPTO
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `dl' library (-ldl). */
|
|
||||||
#undef HAVE_LIBDL
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
/* Define to 1 if you have the `nsl' library (-lnsl). */
|
||||||
#undef HAVE_LIBNSL
|
#undef HAVE_LIBNSL
|
||||||
|
|
||||||
/* Define to 1 if you have the `resolv' library (-lresolv). */
|
|
||||||
#undef HAVE_LIBRESOLV
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `resolve' library (-lresolve). */
|
/* Define to 1 if you have the `resolve' library (-lresolve). */
|
||||||
#undef HAVE_LIBRESOLVE
|
#undef HAVE_LIBRESOLVE
|
||||||
|
|
||||||
/* Define to 1 if you have the `socket' library (-lsocket). */
|
/* Define to 1 if you have the `socket' library (-lsocket). */
|
||||||
#undef HAVE_LIBSOCKET
|
#undef HAVE_LIBSOCKET
|
||||||
|
|
||||||
/* Define to 1 if you have the `ssl' library (-lssl). */
|
|
||||||
#undef HAVE_LIBSSL
|
|
||||||
|
|
||||||
/* If zlib is available */
|
|
||||||
#undef HAVE_LIBZ
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `localtime_r' function. */
|
|
||||||
#undef HAVE_LOCALTIME_R
|
|
||||||
|
|
||||||
/* if your compiler supports 'long long' */
|
/* if your compiler supports 'long long' */
|
||||||
#undef HAVE_LONGLONG
|
#undef HAVE_LONGLONG
|
||||||
|
|
||||||
/* Define to 1 if you have the <malloc.h> header file. */
|
/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
#undef HAVE_MALLOC_H
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mbsrtowcs' function. */
|
||||||
|
#undef HAVE_MBSRTOWCS
|
||||||
|
|
||||||
|
/* Define to 1 if <wchar.h> declares mbstate_t. */
|
||||||
|
#undef HAVE_MBSTATE_T
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
#undef HAVE_MEMORY_H
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `mempcpy' function. */
|
||||||
|
#undef HAVE_MEMPCPY
|
||||||
|
|
||||||
/* Define to 1 if you have the <netdb.h> header file. */
|
/* Define to 1 if you have the <netdb.h> header file. */
|
||||||
#undef HAVE_NETDB_H
|
#undef HAVE_NETDB_H
|
||||||
|
|
||||||
|
@ -201,33 +149,9 @@
|
||||||
/* Define to 1 if you have the <net/if.h> header file. */
|
/* Define to 1 if you have the <net/if.h> header file. */
|
||||||
#undef HAVE_NET_IF_H
|
#undef HAVE_NET_IF_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <openssl/crypto.h> header file. */
|
|
||||||
#undef HAVE_OPENSSL_CRYPTO_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <openssl/engine.h> header file. */
|
|
||||||
#undef HAVE_OPENSSL_ENGINE_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <openssl/err.h> header file. */
|
|
||||||
#undef HAVE_OPENSSL_ERR_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <openssl/pem.h> header file. */
|
|
||||||
#undef HAVE_OPENSSL_PEM_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <openssl/rsa.h> header file. */
|
|
||||||
#undef HAVE_OPENSSL_RSA_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <openssl/ssl.h> header file. */
|
|
||||||
#undef HAVE_OPENSSL_SSL_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <openssl/x509.h> header file. */
|
|
||||||
#undef HAVE_OPENSSL_X509_H
|
|
||||||
|
|
||||||
/* use O_NONBLOCK for non-blocking sockets */
|
/* use O_NONBLOCK for non-blocking sockets */
|
||||||
#undef HAVE_O_NONBLOCK
|
#undef HAVE_O_NONBLOCK
|
||||||
|
|
||||||
/* Define to 1 if you have the <pem.h> header file. */
|
|
||||||
#undef HAVE_PEM_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `perror' function. */
|
/* Define to 1 if you have the `perror' function. */
|
||||||
#undef HAVE_PERROR
|
#undef HAVE_PERROR
|
||||||
|
|
||||||
|
@ -237,18 +161,6 @@
|
||||||
/* Define to 1 if you have the <pwd.h> header file. */
|
/* Define to 1 if you have the <pwd.h> header file. */
|
||||||
#undef HAVE_PWD_H
|
#undef HAVE_PWD_H
|
||||||
|
|
||||||
/* Define to 1 if you have the `RAND_egd' function. */
|
|
||||||
#undef HAVE_RAND_EGD
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `RAND_screen' function. */
|
|
||||||
#undef HAVE_RAND_SCREEN
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `RAND_status' function. */
|
|
||||||
#undef HAVE_RAND_STATUS
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <rsa.h> header file. */
|
|
||||||
#undef HAVE_RSA_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `select' function. */
|
/* Define to 1 if you have the `select' function. */
|
||||||
#undef HAVE_SELECT
|
#undef HAVE_SELECT
|
||||||
|
|
||||||
|
@ -267,7 +179,7 @@
|
||||||
/* Define to 1 if you have the `signal' function. */
|
/* Define to 1 if you have the `signal' function. */
|
||||||
#undef HAVE_SIGNAL
|
#undef HAVE_SIGNAL
|
||||||
|
|
||||||
/* If you have sigsetjmp */
|
/* Define to 1 if you have the `sigsetjmp' function. */
|
||||||
#undef HAVE_SIGSETJMP
|
#undef HAVE_SIGSETJMP
|
||||||
|
|
||||||
/* Define to 1 if you have the `socket' function. */
|
/* Define to 1 if you have the `socket' function. */
|
||||||
|
@ -276,11 +188,9 @@
|
||||||
/* use SO_NONBLOCK for non-blocking sockets */
|
/* use SO_NONBLOCK for non-blocking sockets */
|
||||||
#undef HAVE_SO_NONBLOCK
|
#undef HAVE_SO_NONBLOCK
|
||||||
|
|
||||||
/* Define this if you have the SPNEGO library fbopenssl */
|
/* Define to 1 if `stat' has the bug that it succeeds when given the
|
||||||
#undef HAVE_SPNEGO
|
zero-length file name argument. */
|
||||||
|
#undef HAVE_STAT_EMPTY_STRING_BUG
|
||||||
/* Define to 1 if you have the <ssl.h> header file. */
|
|
||||||
#undef HAVE_SSL_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
#undef HAVE_STDINT_H
|
#undef HAVE_STDINT_H
|
||||||
|
@ -315,6 +225,12 @@
|
||||||
/* Define to 1 if you have the `strlcpy' function. */
|
/* Define to 1 if you have the `strlcpy' function. */
|
||||||
#undef HAVE_STRLCPY
|
#undef HAVE_STRLCPY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strndup' function. */
|
||||||
|
#undef HAVE_STRNDUP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strnlen' function. */
|
||||||
|
#undef HAVE_STRNLEN
|
||||||
|
|
||||||
/* Define to 1 if you have the `strstr' function. */
|
/* Define to 1 if you have the `strstr' function. */
|
||||||
#undef HAVE_STRSTR
|
#undef HAVE_STRSTR
|
||||||
|
|
||||||
|
@ -375,23 +291,69 @@
|
||||||
/* Define to 1 if you have the <utime.h> header file. */
|
/* Define to 1 if you have the <utime.h> header file. */
|
||||||
#undef HAVE_UTIME_H
|
#undef HAVE_UTIME_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vfork' function. */
|
||||||
|
#undef HAVE_VFORK
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <vfork.h> header file. */
|
||||||
|
#undef HAVE_VFORK_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `vprintf' function. */
|
||||||
|
#undef HAVE_VPRINTF
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <wchar.h> header file. */
|
||||||
|
#undef HAVE_WCHAR_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <wctype.h> header file. */
|
||||||
|
#undef HAVE_WCTYPE_H
|
||||||
|
|
||||||
/* Define to 1 if you have the <winsock.h> header file. */
|
/* Define to 1 if you have the <winsock.h> header file. */
|
||||||
#undef HAVE_WINSOCK_H
|
#undef HAVE_WINSOCK_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `wmempcpy' function. */
|
||||||
|
#undef HAVE_WMEMPCPY
|
||||||
|
|
||||||
|
/* Define to 1 if `fork' works. */
|
||||||
|
#undef HAVE_WORKING_FORK
|
||||||
|
|
||||||
|
/* Define to 1 if `vfork' works. */
|
||||||
|
#undef HAVE_WORKING_VFORK
|
||||||
|
|
||||||
/* Define this symbol if your OS supports changing the contents of argv */
|
/* Define this symbol if your OS supports changing the contents of argv */
|
||||||
#undef HAVE_WRITABLE_ARGV
|
#undef HAVE_WRITABLE_ARGV
|
||||||
|
|
||||||
/* Define to 1 if you have the <x509.h> header file. */
|
/* 'Enable hybrid7 IRCD support' */
|
||||||
#undef HAVE_X509_H
|
#undef HYBRID7
|
||||||
|
|
||||||
/* if you have the zlib.h header file */
|
/* 'Enable IRCu Support' */
|
||||||
#undef HAVE_ZLIB_H
|
#undef IRCU
|
||||||
|
|
||||||
/* need REENTRANT defined */
|
/* 'Enable Liquid IRCd Support' */
|
||||||
#undef NEED_REENTRANT
|
#undef LIQUID
|
||||||
|
|
||||||
/* cpu-machine-OS */
|
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
|
||||||
#undef OS
|
slash. */
|
||||||
|
#undef LSTAT_FOLLOWS_SLASHED_SYMLINK
|
||||||
|
|
||||||
|
/* "Major Version Number" */
|
||||||
|
#undef MAJOR
|
||||||
|
|
||||||
|
/* "Minor Version Number" */
|
||||||
|
#undef MINOR
|
||||||
|
|
||||||
|
/* 'Enable Mystic Support' */
|
||||||
|
#undef MYSTIC
|
||||||
|
|
||||||
|
/* "Our Platfrom requires Underscores" */
|
||||||
|
#undef NEED_UNDERSCORE_PREFIX
|
||||||
|
|
||||||
|
/* 'Enable NeoIRCd IRCD support' */
|
||||||
|
#undef NEOIRCD
|
||||||
|
|
||||||
|
/* "Installation Prefix" */
|
||||||
|
#undef NEO_PREFIX
|
||||||
|
|
||||||
|
/* "IRCd Protocol we are compiled with" */
|
||||||
|
#undef NS_PROTOCOL
|
||||||
|
|
||||||
/* Name of package */
|
/* Name of package */
|
||||||
#undef PACKAGE
|
#undef PACKAGE
|
||||||
|
@ -411,12 +373,15 @@
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
/* a suitable file to read random data from */
|
/* 'Enable Quantum Support' */
|
||||||
#undef RANDOM_FILE
|
#undef QUANTUM
|
||||||
|
|
||||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
/* Define as the return type of signal handlers (`int' or `void'). */
|
||||||
#undef RETSIGTYPE
|
#undef RETSIGTYPE
|
||||||
|
|
||||||
|
/* "Revision Version Number" */
|
||||||
|
#undef REV
|
||||||
|
|
||||||
/* Define to the type of arg 1 for `select'. */
|
/* Define to the type of arg 1 for `select'. */
|
||||||
#undef SELECT_TYPE_ARG1
|
#undef SELECT_TYPE_ARG1
|
||||||
|
|
||||||
|
@ -429,24 +394,46 @@
|
||||||
/* The size of a `off_t', as computed by sizeof. */
|
/* The size of a `off_t', as computed by sizeof. */
|
||||||
#undef SIZEOF_OFF_T
|
#undef SIZEOF_OFF_T
|
||||||
|
|
||||||
|
/* 'Use Sql Server Emulation' */
|
||||||
|
#undef SQLSRV
|
||||||
|
|
||||||
|
/* If using the C implementation of alloca, define if you know the
|
||||||
|
direction of stack growth for your system; otherwise it will be
|
||||||
|
automatically deduced at run-time.
|
||||||
|
STACK_DIRECTION > 0 => grows toward higher addresses
|
||||||
|
STACK_DIRECTION < 0 => grows toward lower addresses
|
||||||
|
STACK_DIRECTION = 0 => direction of growth unknown */
|
||||||
|
#undef STACK_DIRECTION
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||||
#undef TIME_WITH_SYS_TIME
|
#undef TIME_WITH_SYS_TIME
|
||||||
|
|
||||||
/* Define if you want to enable ares support */
|
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
||||||
#undef USE_ARES
|
#undef TM_IN_SYS_TIME
|
||||||
|
|
||||||
/* Version number of package */
|
/* 'Enable Ultimate 2.x.x Support' */
|
||||||
|
#undef ULTIMATE
|
||||||
|
|
||||||
|
/* "Enable Ultimate 3.x.x Support' */
|
||||||
|
#undef ULTIMATE3
|
||||||
|
|
||||||
|
/* 'Enable Unreal 3.1.x Support' */
|
||||||
|
#undef UNREAL
|
||||||
|
|
||||||
|
/* 'Enable Unreal 3.2.x Support' */
|
||||||
|
#undef UNREAL32
|
||||||
|
|
||||||
|
/* 'Use Raw command' */
|
||||||
|
#undef USE_RAW
|
||||||
|
|
||||||
|
/* "Full Version" */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
/* Define to 1 if on AIX 3.
|
/* 'Enable Viagra IRCd Support' */
|
||||||
System headers sometimes define this.
|
#undef VIAGRA
|
||||||
We just want to avoid a redefinition error message. */
|
|
||||||
#ifndef _ALL_SOURCE
|
|
||||||
# undef _ALL_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Number of bits in a file offset, on hosts where this is settable. */
|
/* Number of bits in a file offset, on hosts where this is settable. */
|
||||||
#undef _FILE_OFFSET_BITS
|
#undef _FILE_OFFSET_BITS
|
||||||
|
@ -457,9 +444,25 @@
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
#undef const
|
#undef const
|
||||||
|
|
||||||
|
/* Define to rpl_fnmatch if the replacement function should be used. */
|
||||||
|
#undef fnmatch
|
||||||
|
|
||||||
/* type to use in place of in_addr_t if not defined */
|
/* type to use in place of in_addr_t if not defined */
|
||||||
#undef in_addr_t
|
#undef in_addr_t
|
||||||
|
|
||||||
|
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
|
||||||
|
if it is not supported. */
|
||||||
|
#undef inline
|
||||||
|
|
||||||
|
/* Define to a type if <wchar.h> does not define. */
|
||||||
|
#undef mbstate_t
|
||||||
|
|
||||||
|
/* Define to `long' if <sys/types.h> does not define. */
|
||||||
|
#undef off_t
|
||||||
|
|
||||||
|
/* Define to `int' if <sys/types.h> does not define. */
|
||||||
|
#undef pid_t
|
||||||
|
|
||||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
/* Define to `unsigned' if <sys/types.h> does not define. */
|
||||||
#undef size_t
|
#undef size_t
|
||||||
|
|
||||||
|
@ -468,3 +471,10 @@
|
||||||
|
|
||||||
/* the signed version of size_t */
|
/* the signed version of size_t */
|
||||||
#undef ssize_t
|
#undef ssize_t
|
||||||
|
|
||||||
|
/* Define as `fork' if `vfork' does not work. */
|
||||||
|
#undef vfork
|
||||||
|
|
||||||
|
/* Define to empty if the keyword `volatile' does not work. Warning: valid
|
||||||
|
code using `volatile' can become incorrect without. Disable with care. */
|
||||||
|
#undef volatile
|
251
install-sh
251
install-sh
|
@ -1,251 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# install - install a program, script, or datafile
|
|
||||||
# This comes from X11R5 (mit/util/scripts/install.sh).
|
|
||||||
#
|
|
||||||
# Copyright 1991 by the Massachusetts Institute of Technology
|
|
||||||
#
|
|
||||||
# Permission to use, copy, modify, distribute, and sell this software and its
|
|
||||||
# documentation for any purpose is hereby granted without fee, provided that
|
|
||||||
# the above copyright notice appear in all copies and that both that
|
|
||||||
# copyright notice and this permission notice appear in supporting
|
|
||||||
# documentation, and that the name of M.I.T. not be used in advertising or
|
|
||||||
# publicity pertaining to distribution of the software without specific,
|
|
||||||
# written prior permission. M.I.T. makes no representations about the
|
|
||||||
# suitability of this software for any purpose. It is provided "as is"
|
|
||||||
# without express or implied warranty.
|
|
||||||
#
|
|
||||||
# Calling this script install-sh is preferred over install.sh, to prevent
|
|
||||||
# `make' implicit rules from creating a file called install from it
|
|
||||||
# when there is no Makefile.
|
|
||||||
#
|
|
||||||
# This script is compatible with the BSD install script, but was written
|
|
||||||
# from scratch. It can only install one file at a time, a restriction
|
|
||||||
# shared with many OS's install programs.
|
|
||||||
|
|
||||||
|
|
||||||
# set DOITPROG to echo to test this script
|
|
||||||
|
|
||||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
|
||||||
doit="${DOITPROG-}"
|
|
||||||
|
|
||||||
|
|
||||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
|
||||||
|
|
||||||
mvprog="${MVPROG-mv}"
|
|
||||||
cpprog="${CPPROG-cp}"
|
|
||||||
chmodprog="${CHMODPROG-chmod}"
|
|
||||||
chownprog="${CHOWNPROG-chown}"
|
|
||||||
chgrpprog="${CHGRPPROG-chgrp}"
|
|
||||||
stripprog="${STRIPPROG-strip}"
|
|
||||||
rmprog="${RMPROG-rm}"
|
|
||||||
mkdirprog="${MKDIRPROG-mkdir}"
|
|
||||||
|
|
||||||
transformbasename=""
|
|
||||||
transform_arg=""
|
|
||||||
instcmd="$mvprog"
|
|
||||||
chmodcmd="$chmodprog 0755"
|
|
||||||
chowncmd=""
|
|
||||||
chgrpcmd=""
|
|
||||||
stripcmd=""
|
|
||||||
rmcmd="$rmprog -f"
|
|
||||||
mvcmd="$mvprog"
|
|
||||||
src=""
|
|
||||||
dst=""
|
|
||||||
dir_arg=""
|
|
||||||
|
|
||||||
while [ x"$1" != x ]; do
|
|
||||||
case $1 in
|
|
||||||
-c) instcmd="$cpprog"
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-d) dir_arg=true
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-m) chmodcmd="$chmodprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-o) chowncmd="$chownprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-g) chgrpcmd="$chgrpprog $2"
|
|
||||||
shift
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-s) stripcmd="$stripprog"
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
|
|
||||||
*) if [ x"$src" = x ]
|
|
||||||
then
|
|
||||||
src=$1
|
|
||||||
else
|
|
||||||
# this colon is to work around a 386BSD /bin/sh bug
|
|
||||||
:
|
|
||||||
dst=$1
|
|
||||||
fi
|
|
||||||
shift
|
|
||||||
continue;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [ x"$src" = x ]
|
|
||||||
then
|
|
||||||
echo "install: no input file specified"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ x"$dir_arg" != x ]; then
|
|
||||||
dst=$src
|
|
||||||
src=""
|
|
||||||
|
|
||||||
if [ -d $dst ]; then
|
|
||||||
instcmd=:
|
|
||||||
chmodcmd=""
|
|
||||||
else
|
|
||||||
instcmd=$mkdirprog
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
|
|
||||||
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
|
||||||
# might cause directories to be created, which would be especially bad
|
|
||||||
# if $src (and thus $dsttmp) contains '*'.
|
|
||||||
|
|
||||||
if [ -f "$src" ] || [ -d "$src" ]
|
|
||||||
then
|
|
||||||
:
|
|
||||||
else
|
|
||||||
echo "install: $src does not exist"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ x"$dst" = x ]
|
|
||||||
then
|
|
||||||
echo "install: no destination specified"
|
|
||||||
exit 1
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
|
|
||||||
# If destination is a directory, append the input filename; if your system
|
|
||||||
# does not like double slashes in filenames, you may need to add some logic
|
|
||||||
|
|
||||||
if [ -d $dst ]
|
|
||||||
then
|
|
||||||
dst="$dst"/`basename $src`
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
## this sed command emulates the dirname command
|
|
||||||
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
|
||||||
|
|
||||||
# Make sure that the destination directory exists.
|
|
||||||
# this part is taken from Noah Friedman's mkinstalldirs script
|
|
||||||
|
|
||||||
# Skip lots of stat calls in the usual case.
|
|
||||||
if [ ! -d "$dstdir" ]; then
|
|
||||||
defaultIFS='
|
|
||||||
'
|
|
||||||
IFS="${IFS-${defaultIFS}}"
|
|
||||||
|
|
||||||
oIFS="${IFS}"
|
|
||||||
# Some sh's can't handle IFS=/ for some reason.
|
|
||||||
IFS='%'
|
|
||||||
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
|
|
||||||
IFS="${oIFS}"
|
|
||||||
|
|
||||||
pathcomp=''
|
|
||||||
|
|
||||||
while [ $# -ne 0 ] ; do
|
|
||||||
pathcomp="${pathcomp}${1}"
|
|
||||||
shift
|
|
||||||
|
|
||||||
if [ ! -d "${pathcomp}" ] ;
|
|
||||||
then
|
|
||||||
$mkdirprog "${pathcomp}"
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
|
|
||||||
pathcomp="${pathcomp}/"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ x"$dir_arg" != x ]
|
|
||||||
then
|
|
||||||
$doit $instcmd $dst &&
|
|
||||||
|
|
||||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
|
|
||||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
|
|
||||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
|
|
||||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
|
|
||||||
else
|
|
||||||
|
|
||||||
# If we're going to rename the final executable, determine the name now.
|
|
||||||
|
|
||||||
if [ x"$transformarg" = x ]
|
|
||||||
then
|
|
||||||
dstfile=`basename $dst`
|
|
||||||
else
|
|
||||||
dstfile=`basename $dst $transformbasename |
|
|
||||||
sed $transformarg`$transformbasename
|
|
||||||
fi
|
|
||||||
|
|
||||||
# don't allow the sed command to completely eliminate the filename
|
|
||||||
|
|
||||||
if [ x"$dstfile" = x ]
|
|
||||||
then
|
|
||||||
dstfile=`basename $dst`
|
|
||||||
else
|
|
||||||
:
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Make a temp file name in the proper directory.
|
|
||||||
|
|
||||||
dsttmp=$dstdir/#inst.$$#
|
|
||||||
|
|
||||||
# Move or copy the file name to the temp name
|
|
||||||
|
|
||||||
$doit $instcmd $src $dsttmp &&
|
|
||||||
|
|
||||||
trap "rm -f ${dsttmp}" 0 &&
|
|
||||||
|
|
||||||
# and set any options; do chmod last to preserve setuid bits
|
|
||||||
|
|
||||||
# If any of these fail, we abort the whole thing. If we want to
|
|
||||||
# ignore errors from any of these, just make sure not to ignore
|
|
||||||
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
|
||||||
|
|
||||||
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
|
|
||||||
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
|
|
||||||
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
|
|
||||||
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
|
|
||||||
|
|
||||||
# Now rename the file to the real destination.
|
|
||||||
|
|
||||||
$doit $rmcmd -f $dstdir/$dstfile &&
|
|
||||||
$doit $mvcmd $dsttmp $dstdir/$dstfile
|
|
||||||
|
|
||||||
fi &&
|
|
||||||
|
|
||||||
|
|
||||||
exit 0
|
|
13
src/Makefile.am
Normal file
13
src/Makefile.am
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
SUBDIRS = protocol curl keeper adns libltdl
|
||||||
|
|
||||||
|
|
||||||
|
bin_PROGRAMS = neostats
|
||||||
|
|
||||||
|
neostats_SOURCES = auth.c bans.c bots.c channels.c commands.c conf.c db.c \
|
||||||
|
dl.c dns.c dotconf.c exclude.c hash.c ircd.c ircstring.c \
|
||||||
|
keeper.c list.c log.c main.c match.c misc.c modules.c \
|
||||||
|
ns_help.c servers.c services.c signals.c sock.c support.c \
|
||||||
|
timer.c transfer.c users.c
|
||||||
|
neostats_CFLAGS = -Ipcre -Iadns -Icurl -Ikeeper @INCLTDL@
|
||||||
|
neostats_LDADD = protocol/libprotocol.la curl/libcurl.la keeper/libkeeper.la \
|
||||||
|
adns/libadns.la libltdl/libltdlc.la
|
1688
src/Makefile.in
1688
src/Makefile.in
File diff suppressed because it is too large
Load diff
|
@ -1,42 +0,0 @@
|
||||||
include ../Makefile.inc
|
|
||||||
|
|
||||||
INCLUDES = -I.. -I../adns -I../pcre
|
|
||||||
|
|
||||||
SRCS = check.c event.c general.c parse.c query.c reply.c setup.c transmit.c types.c
|
|
||||||
OBJS = ${SRCS:.c=.o}
|
|
||||||
|
|
||||||
all: $(OBJS)
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) *.o *.lo *.so *.a
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
$(RM) *.o *.lo *.so *.a
|
|
||||||
|
|
||||||
depend:
|
|
||||||
$(CC) -MM $(INCLUDES) $(CFLAGS) $(SRCS) > .depend
|
|
||||||
|
|
||||||
install:
|
|
||||||
$(INSTALL_DATA) adns.h $(INCDIRECTORY)
|
|
||||||
|
|
||||||
DISTFILES =*.c adns.h dlist.h internal.h tvarith.h Makefile
|
|
||||||
|
|
||||||
dist:
|
|
||||||
@for file in $(DISTFILES); do \
|
|
||||||
cp -pr $$file $(DISTDIR)/$$file; \
|
|
||||||
done
|
|
||||||
|
|
||||||
$(OBJS): Makefile ../Makefile.inc
|
|
||||||
|
|
||||||
check.o: check.c internal.h adns.h dlist.h
|
|
||||||
event.o: event.c internal.h adns.h dlist.h tvarith.h
|
|
||||||
general.o: general.c internal.h adns.h dlist.h
|
|
||||||
parse.o: parse.c internal.h adns.h dlist.h
|
|
||||||
query.o: query.c internal.h adns.h dlist.h
|
|
||||||
reply.o: reply.c internal.h adns.h dlist.h
|
|
||||||
setup.o: setup.c internal.h adns.h dlist.h
|
|
||||||
transmit.o: transmit.c internal.h adns.h dlist.h tvarith.h
|
|
||||||
types.o: types.c internal.h adns.h dlist.h
|
|
5
src/adns/Makefile.am
Normal file
5
src/adns/Makefile.am
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
noinst_LTLIBRARIES = libadns.la
|
||||||
|
libadns_la_SOURCES = adns.h check.c dlist.h event.c general.c internal.h \
|
||||||
|
parse.c query.c reply.c setup.c transmit.c tvarith.h \
|
||||||
|
types.c
|
||||||
|
libadns_la_CFLAGS = -I../../include -I.. -I../pcre -I../curl
|
728
src/adns/Makefile.in
Normal file
728
src/adns/Makefile.in
Normal file
|
@ -0,0 +1,728 @@
|
||||||
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = ../..
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
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_triplet = @host@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ALLOCA = @ALLOCA@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
GTK_CONFIG = @GTK_CONFIG@
|
||||||
|
INCLTDL = @INCLTDL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBLTDL = @LIBLTDL@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
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@
|
||||||
|
POW_LIB = @POW_LIB@
|
||||||
|
PROTOCOL = @PROTOCOL@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
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@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_configtool = @build_configtool@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
buildsqlsrv = @buildsqlsrv@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sqlsrvbuild = @sqlsrvbuild@
|
||||||
|
subdirs = @subdirs@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
noinst_LTLIBRARIES = libadns.la
|
||||||
|
libadns_la_SOURCES = adns.h check.c dlist.h event.c general.c internal.h \
|
||||||
|
parse.c query.c reply.c setup.c transmit.c tvarith.h \
|
||||||
|
types.c
|
||||||
|
|
||||||
|
libadns_la_CFLAGS = -I../../include -I.. -I../pcre -I../curl
|
||||||
|
subdir = src/adns
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
|
||||||
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||||
|
|
||||||
|
libadns_la_LDFLAGS =
|
||||||
|
libadns_la_LIBADD =
|
||||||
|
am_libadns_la_OBJECTS = libadns_la-check.lo libadns_la-event.lo \
|
||||||
|
libadns_la-general.lo libadns_la-parse.lo libadns_la-query.lo \
|
||||||
|
libadns_la-reply.lo libadns_la-setup.lo libadns_la-transmit.lo \
|
||||||
|
libadns_la-types.lo
|
||||||
|
libadns_la_OBJECTS = $(am_libadns_la_OBJECTS)
|
||||||
|
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
|
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
|
||||||
|
am__depfiles_maybe = depfiles
|
||||||
|
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libadns_la-check.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-event.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-general.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-parse.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-query.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-reply.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-setup.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-transmit.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libadns_la-types.Plo
|
||||||
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
CCLD = $(CC)
|
||||||
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
DIST_SOURCES = $(libadns_la_SOURCES)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||||
|
SOURCES = $(libadns_la_SOURCES)
|
||||||
|
|
||||||
|
all: all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c .lo .o .obj
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --gnu src/adns/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
clean-noinstLTLIBRARIES:
|
||||||
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||||
|
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||||
|
test "$$dir" = "$$p" && dir=.; \
|
||||||
|
echo "rm -f \"$${dir}/so_locations\""; \
|
||||||
|
rm -f "$${dir}/so_locations"; \
|
||||||
|
done
|
||||||
|
libadns.la: $(libadns_la_OBJECTS) $(libadns_la_DEPENDENCIES)
|
||||||
|
$(LINK) $(libadns_la_LDFLAGS) $(libadns_la_OBJECTS) $(libadns_la_LIBADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-check.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-event.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-general.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-parse.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-query.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-reply.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-setup.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-transmit.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libadns_la-types.Plo@am__quote@
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
.c.obj:
|
||||||
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||||
|
|
||||||
|
.c.lo:
|
||||||
|
@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
libadns_la-check.o: check.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-check.o -MD -MP -MF "$(DEPDIR)/libadns_la-check.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-check.o `test -f 'check.c' || echo '$(srcdir)/'`check.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-check.Tpo" "$(DEPDIR)/libadns_la-check.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-check.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='check.c' object='libadns_la-check.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-check.Po' tmpdepfile='$(DEPDIR)/libadns_la-check.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-check.o `test -f 'check.c' || echo '$(srcdir)/'`check.c
|
||||||
|
|
||||||
|
libadns_la-check.obj: check.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-check.obj -MD -MP -MF "$(DEPDIR)/libadns_la-check.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-check.obj `if test -f 'check.c'; then $(CYGPATH_W) 'check.c'; else $(CYGPATH_W) '$(srcdir)/check.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-check.Tpo" "$(DEPDIR)/libadns_la-check.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-check.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='check.c' object='libadns_la-check.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-check.Po' tmpdepfile='$(DEPDIR)/libadns_la-check.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-check.obj `if test -f 'check.c'; then $(CYGPATH_W) 'check.c'; else $(CYGPATH_W) '$(srcdir)/check.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-check.lo: check.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-check.lo -MD -MP -MF "$(DEPDIR)/libadns_la-check.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-check.lo `test -f 'check.c' || echo '$(srcdir)/'`check.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-check.Tpo" "$(DEPDIR)/libadns_la-check.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-check.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='check.c' object='libadns_la-check.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-check.Plo' tmpdepfile='$(DEPDIR)/libadns_la-check.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-check.lo `test -f 'check.c' || echo '$(srcdir)/'`check.c
|
||||||
|
|
||||||
|
libadns_la-event.o: event.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-event.o -MD -MP -MF "$(DEPDIR)/libadns_la-event.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-event.Tpo" "$(DEPDIR)/libadns_la-event.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-event.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libadns_la-event.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-event.Po' tmpdepfile='$(DEPDIR)/libadns_la-event.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-event.o `test -f 'event.c' || echo '$(srcdir)/'`event.c
|
||||||
|
|
||||||
|
libadns_la-event.obj: event.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-event.obj -MD -MP -MF "$(DEPDIR)/libadns_la-event.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-event.Tpo" "$(DEPDIR)/libadns_la-event.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-event.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libadns_la-event.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-event.Po' tmpdepfile='$(DEPDIR)/libadns_la-event.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-event.obj `if test -f 'event.c'; then $(CYGPATH_W) 'event.c'; else $(CYGPATH_W) '$(srcdir)/event.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-event.lo: event.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-event.lo -MD -MP -MF "$(DEPDIR)/libadns_la-event.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-event.lo `test -f 'event.c' || echo '$(srcdir)/'`event.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-event.Tpo" "$(DEPDIR)/libadns_la-event.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-event.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='event.c' object='libadns_la-event.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-event.Plo' tmpdepfile='$(DEPDIR)/libadns_la-event.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-event.lo `test -f 'event.c' || echo '$(srcdir)/'`event.c
|
||||||
|
|
||||||
|
libadns_la-general.o: general.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-general.o -MD -MP -MF "$(DEPDIR)/libadns_la-general.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-general.o `test -f 'general.c' || echo '$(srcdir)/'`general.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-general.Tpo" "$(DEPDIR)/libadns_la-general.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-general.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='general.c' object='libadns_la-general.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-general.Po' tmpdepfile='$(DEPDIR)/libadns_la-general.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-general.o `test -f 'general.c' || echo '$(srcdir)/'`general.c
|
||||||
|
|
||||||
|
libadns_la-general.obj: general.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-general.obj -MD -MP -MF "$(DEPDIR)/libadns_la-general.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-general.obj `if test -f 'general.c'; then $(CYGPATH_W) 'general.c'; else $(CYGPATH_W) '$(srcdir)/general.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-general.Tpo" "$(DEPDIR)/libadns_la-general.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-general.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='general.c' object='libadns_la-general.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-general.Po' tmpdepfile='$(DEPDIR)/libadns_la-general.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-general.obj `if test -f 'general.c'; then $(CYGPATH_W) 'general.c'; else $(CYGPATH_W) '$(srcdir)/general.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-general.lo: general.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-general.lo -MD -MP -MF "$(DEPDIR)/libadns_la-general.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-general.lo `test -f 'general.c' || echo '$(srcdir)/'`general.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-general.Tpo" "$(DEPDIR)/libadns_la-general.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-general.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='general.c' object='libadns_la-general.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-general.Plo' tmpdepfile='$(DEPDIR)/libadns_la-general.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-general.lo `test -f 'general.c' || echo '$(srcdir)/'`general.c
|
||||||
|
|
||||||
|
libadns_la-parse.o: parse.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-parse.o -MD -MP -MF "$(DEPDIR)/libadns_la-parse.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-parse.o `test -f 'parse.c' || echo '$(srcdir)/'`parse.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-parse.Tpo" "$(DEPDIR)/libadns_la-parse.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-parse.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parse.c' object='libadns_la-parse.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-parse.Po' tmpdepfile='$(DEPDIR)/libadns_la-parse.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-parse.o `test -f 'parse.c' || echo '$(srcdir)/'`parse.c
|
||||||
|
|
||||||
|
libadns_la-parse.obj: parse.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-parse.obj -MD -MP -MF "$(DEPDIR)/libadns_la-parse.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-parse.obj `if test -f 'parse.c'; then $(CYGPATH_W) 'parse.c'; else $(CYGPATH_W) '$(srcdir)/parse.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-parse.Tpo" "$(DEPDIR)/libadns_la-parse.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-parse.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parse.c' object='libadns_la-parse.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-parse.Po' tmpdepfile='$(DEPDIR)/libadns_la-parse.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-parse.obj `if test -f 'parse.c'; then $(CYGPATH_W) 'parse.c'; else $(CYGPATH_W) '$(srcdir)/parse.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-parse.lo: parse.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-parse.lo -MD -MP -MF "$(DEPDIR)/libadns_la-parse.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-parse.lo `test -f 'parse.c' || echo '$(srcdir)/'`parse.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-parse.Tpo" "$(DEPDIR)/libadns_la-parse.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-parse.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='parse.c' object='libadns_la-parse.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-parse.Plo' tmpdepfile='$(DEPDIR)/libadns_la-parse.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-parse.lo `test -f 'parse.c' || echo '$(srcdir)/'`parse.c
|
||||||
|
|
||||||
|
libadns_la-query.o: query.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-query.o -MD -MP -MF "$(DEPDIR)/libadns_la-query.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-query.o `test -f 'query.c' || echo '$(srcdir)/'`query.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-query.Tpo" "$(DEPDIR)/libadns_la-query.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-query.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='query.c' object='libadns_la-query.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-query.Po' tmpdepfile='$(DEPDIR)/libadns_la-query.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-query.o `test -f 'query.c' || echo '$(srcdir)/'`query.c
|
||||||
|
|
||||||
|
libadns_la-query.obj: query.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-query.obj -MD -MP -MF "$(DEPDIR)/libadns_la-query.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-query.obj `if test -f 'query.c'; then $(CYGPATH_W) 'query.c'; else $(CYGPATH_W) '$(srcdir)/query.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-query.Tpo" "$(DEPDIR)/libadns_la-query.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-query.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='query.c' object='libadns_la-query.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-query.Po' tmpdepfile='$(DEPDIR)/libadns_la-query.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-query.obj `if test -f 'query.c'; then $(CYGPATH_W) 'query.c'; else $(CYGPATH_W) '$(srcdir)/query.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-query.lo: query.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-query.lo -MD -MP -MF "$(DEPDIR)/libadns_la-query.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-query.lo `test -f 'query.c' || echo '$(srcdir)/'`query.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-query.Tpo" "$(DEPDIR)/libadns_la-query.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-query.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='query.c' object='libadns_la-query.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-query.Plo' tmpdepfile='$(DEPDIR)/libadns_la-query.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-query.lo `test -f 'query.c' || echo '$(srcdir)/'`query.c
|
||||||
|
|
||||||
|
libadns_la-reply.o: reply.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-reply.o -MD -MP -MF "$(DEPDIR)/libadns_la-reply.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-reply.o `test -f 'reply.c' || echo '$(srcdir)/'`reply.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-reply.Tpo" "$(DEPDIR)/libadns_la-reply.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-reply.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='reply.c' object='libadns_la-reply.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-reply.Po' tmpdepfile='$(DEPDIR)/libadns_la-reply.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-reply.o `test -f 'reply.c' || echo '$(srcdir)/'`reply.c
|
||||||
|
|
||||||
|
libadns_la-reply.obj: reply.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-reply.obj -MD -MP -MF "$(DEPDIR)/libadns_la-reply.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-reply.obj `if test -f 'reply.c'; then $(CYGPATH_W) 'reply.c'; else $(CYGPATH_W) '$(srcdir)/reply.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-reply.Tpo" "$(DEPDIR)/libadns_la-reply.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-reply.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='reply.c' object='libadns_la-reply.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-reply.Po' tmpdepfile='$(DEPDIR)/libadns_la-reply.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-reply.obj `if test -f 'reply.c'; then $(CYGPATH_W) 'reply.c'; else $(CYGPATH_W) '$(srcdir)/reply.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-reply.lo: reply.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-reply.lo -MD -MP -MF "$(DEPDIR)/libadns_la-reply.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-reply.lo `test -f 'reply.c' || echo '$(srcdir)/'`reply.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-reply.Tpo" "$(DEPDIR)/libadns_la-reply.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-reply.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='reply.c' object='libadns_la-reply.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-reply.Plo' tmpdepfile='$(DEPDIR)/libadns_la-reply.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-reply.lo `test -f 'reply.c' || echo '$(srcdir)/'`reply.c
|
||||||
|
|
||||||
|
libadns_la-setup.o: setup.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-setup.o -MD -MP -MF "$(DEPDIR)/libadns_la-setup.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-setup.o `test -f 'setup.c' || echo '$(srcdir)/'`setup.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-setup.Tpo" "$(DEPDIR)/libadns_la-setup.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-setup.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='setup.c' object='libadns_la-setup.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-setup.Po' tmpdepfile='$(DEPDIR)/libadns_la-setup.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-setup.o `test -f 'setup.c' || echo '$(srcdir)/'`setup.c
|
||||||
|
|
||||||
|
libadns_la-setup.obj: setup.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-setup.obj -MD -MP -MF "$(DEPDIR)/libadns_la-setup.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-setup.obj `if test -f 'setup.c'; then $(CYGPATH_W) 'setup.c'; else $(CYGPATH_W) '$(srcdir)/setup.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-setup.Tpo" "$(DEPDIR)/libadns_la-setup.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-setup.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='setup.c' object='libadns_la-setup.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-setup.Po' tmpdepfile='$(DEPDIR)/libadns_la-setup.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-setup.obj `if test -f 'setup.c'; then $(CYGPATH_W) 'setup.c'; else $(CYGPATH_W) '$(srcdir)/setup.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-setup.lo: setup.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-setup.lo -MD -MP -MF "$(DEPDIR)/libadns_la-setup.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-setup.lo `test -f 'setup.c' || echo '$(srcdir)/'`setup.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-setup.Tpo" "$(DEPDIR)/libadns_la-setup.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-setup.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='setup.c' object='libadns_la-setup.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-setup.Plo' tmpdepfile='$(DEPDIR)/libadns_la-setup.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-setup.lo `test -f 'setup.c' || echo '$(srcdir)/'`setup.c
|
||||||
|
|
||||||
|
libadns_la-transmit.o: transmit.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-transmit.o -MD -MP -MF "$(DEPDIR)/libadns_la-transmit.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-transmit.o `test -f 'transmit.c' || echo '$(srcdir)/'`transmit.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-transmit.Tpo" "$(DEPDIR)/libadns_la-transmit.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-transmit.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='transmit.c' object='libadns_la-transmit.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-transmit.Po' tmpdepfile='$(DEPDIR)/libadns_la-transmit.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-transmit.o `test -f 'transmit.c' || echo '$(srcdir)/'`transmit.c
|
||||||
|
|
||||||
|
libadns_la-transmit.obj: transmit.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-transmit.obj -MD -MP -MF "$(DEPDIR)/libadns_la-transmit.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-transmit.obj `if test -f 'transmit.c'; then $(CYGPATH_W) 'transmit.c'; else $(CYGPATH_W) '$(srcdir)/transmit.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-transmit.Tpo" "$(DEPDIR)/libadns_la-transmit.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-transmit.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='transmit.c' object='libadns_la-transmit.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-transmit.Po' tmpdepfile='$(DEPDIR)/libadns_la-transmit.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-transmit.obj `if test -f 'transmit.c'; then $(CYGPATH_W) 'transmit.c'; else $(CYGPATH_W) '$(srcdir)/transmit.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-transmit.lo: transmit.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-transmit.lo -MD -MP -MF "$(DEPDIR)/libadns_la-transmit.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-transmit.lo `test -f 'transmit.c' || echo '$(srcdir)/'`transmit.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-transmit.Tpo" "$(DEPDIR)/libadns_la-transmit.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-transmit.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='transmit.c' object='libadns_la-transmit.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-transmit.Plo' tmpdepfile='$(DEPDIR)/libadns_la-transmit.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-transmit.lo `test -f 'transmit.c' || echo '$(srcdir)/'`transmit.c
|
||||||
|
|
||||||
|
libadns_la-types.o: types.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-types.o -MD -MP -MF "$(DEPDIR)/libadns_la-types.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-types.o `test -f 'types.c' || echo '$(srcdir)/'`types.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-types.Tpo" "$(DEPDIR)/libadns_la-types.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-types.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='types.c' object='libadns_la-types.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-types.Po' tmpdepfile='$(DEPDIR)/libadns_la-types.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-types.o `test -f 'types.c' || echo '$(srcdir)/'`types.c
|
||||||
|
|
||||||
|
libadns_la-types.obj: types.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-types.obj -MD -MP -MF "$(DEPDIR)/libadns_la-types.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-types.obj `if test -f 'types.c'; then $(CYGPATH_W) 'types.c'; else $(CYGPATH_W) '$(srcdir)/types.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-types.Tpo" "$(DEPDIR)/libadns_la-types.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-types.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='types.c' object='libadns_la-types.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-types.Po' tmpdepfile='$(DEPDIR)/libadns_la-types.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-types.obj `if test -f 'types.c'; then $(CYGPATH_W) 'types.c'; else $(CYGPATH_W) '$(srcdir)/types.c'; fi`
|
||||||
|
|
||||||
|
libadns_la-types.lo: types.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -MT libadns_la-types.lo -MD -MP -MF "$(DEPDIR)/libadns_la-types.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libadns_la-types.lo `test -f 'types.c' || echo '$(srcdir)/'`types.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libadns_la-types.Tpo" "$(DEPDIR)/libadns_la-types.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libadns_la-types.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='types.c' object='libadns_la-types.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libadns_la-types.Plo' tmpdepfile='$(DEPDIR)/libadns_la-types.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libadns_la_CFLAGS) $(CFLAGS) -c -o libadns_la-types.lo `test -f 'types.c' || echo '$(srcdir)/'`types.c
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
ETAGS = etags
|
||||||
|
ETAGSFLAGS =
|
||||||
|
|
||||||
|
CTAGS = ctags
|
||||||
|
CTAGSFLAGS =
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: $(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 "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_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 tags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@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"; \
|
||||||
|
$(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 $(LTLIBRARIES)
|
||||||
|
|
||||||
|
installdirs:
|
||||||
|
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 $(CONFIG_CLEAN_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
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||||
|
mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||||
|
clean-libtool clean-noinstLTLIBRARIES ctags distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am 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 mostlyclean-libtool pdf \
|
||||||
|
pdf-am ps ps-am tags uninstall uninstall-am 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:
|
|
@ -42,6 +42,7 @@ typedef unsigned char byte;
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <poll.h>
|
||||||
|
|
||||||
#include "adns.h"
|
#include "adns.h"
|
||||||
#include "dlist.h"
|
#include "dlist.h"
|
||||||
|
@ -50,6 +51,58 @@ typedef unsigned char byte;
|
||||||
# include "hredirect.h"
|
# include "hredirect.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* GNU C attributes. */
|
||||||
|
#ifndef FUNCATTR
|
||||||
|
#ifdef HAVE_GNUC25_ATTRIB
|
||||||
|
#define FUNCATTR(x) __attribute__(x)
|
||||||
|
#else
|
||||||
|
#define FUNCATTR(x)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* GNU C printf formats, or null. */
|
||||||
|
#ifndef ATTRPRINTF
|
||||||
|
#ifdef HAVE_GNUC25_PRINTFFORMAT
|
||||||
|
#define ATTRPRINTF(si,tc) format(printf,si,tc)
|
||||||
|
#else
|
||||||
|
#define ATTRPRINTF(si,tc)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifndef PRINTFFORMAT
|
||||||
|
#define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* GNU C nonreturning functions, or null. */
|
||||||
|
#ifndef ATTRNORETURN
|
||||||
|
#ifdef HAVE_GNUC25_NORETURN
|
||||||
|
#define ATTRNORETURN noreturn
|
||||||
|
#else
|
||||||
|
#define ATTRNORETURN
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifndef NONRETURNING
|
||||||
|
#define NONRETURNING FUNCATTR((ATTRNORETURN))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* Combination of both the above. */
|
||||||
|
#ifndef NONRETURNPRINTFFORMAT
|
||||||
|
#define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* GNU C constant functions, or null. */
|
||||||
|
#ifndef ATTRCONST
|
||||||
|
#ifdef HAVE_GNUC25_CONST
|
||||||
|
#define ATTRCONST const
|
||||||
|
#else
|
||||||
|
#define ATTRCONST
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
#ifndef CONSTANT
|
||||||
|
#define CONSTANT FUNCATTR((ATTRCONST))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Configuration and constants */
|
/* Configuration and constants */
|
||||||
|
|
||||||
#define MAXSERVERS 5
|
#define MAXSERVERS 5
|
||||||
|
@ -71,7 +124,7 @@ typedef unsigned char byte;
|
||||||
|
|
||||||
#define DNS_INADDR_ARPA "in-addr", "arpa"
|
#define DNS_INADDR_ARPA "in-addr", "arpa"
|
||||||
|
|
||||||
#define MAX_POLLFDS ADNS_POLLFDS_RECOMMENDED
|
#define MAX_POLLFDS 2
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
cc_user,
|
cc_user,
|
||||||
|
|
361
src/config.h.in
361
src/config.h.in
|
@ -1,361 +0,0 @@
|
||||||
/* config.h.in. Generated from configure.in by autoheader. */
|
|
||||||
/** this is a security hack to give the coders the right levels to debug NeoStats.
|
|
||||||
* Don't define unless we ask you to
|
|
||||||
*/
|
|
||||||
#undef CODERHACK
|
|
||||||
|
|
||||||
/* Enable Debugging */
|
|
||||||
#undef DEBUG
|
|
||||||
|
|
||||||
/* Whether symbols need underscore prefix */
|
|
||||||
#undef NEED_UNDERSCORE_PREFIX
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <db.h> header file. */
|
|
||||||
#undef HAVE_DB_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
||||||
#undef HAVE_DLFCN_H
|
|
||||||
|
|
||||||
/* Define to 1 if your system has a working `fnmatch' function. */
|
|
||||||
#undef HAVE_FNMATCH
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
||||||
#undef HAVE_INTTYPES_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `dl' library (-ldl). */
|
|
||||||
#undef HAVE_LIBDL
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#undef HAVE_MEMORY_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `regcomp' function. */
|
|
||||||
#undef HAVE_REGCOMP
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `select' function. */
|
|
||||||
#undef HAVE_SELECT
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `socket' function. */
|
|
||||||
#undef HAVE_SOCKET
|
|
||||||
|
|
||||||
/* Define if you have fcloseall */
|
|
||||||
#undef HAVE_FCLOSEALL
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#undef HAVE_STDINT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
||||||
#undef HAVE_STDLIB_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strdup' function. */
|
|
||||||
#undef HAVE_STRDUP
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strdup' function. */
|
|
||||||
#undef HAVE_STRNDUP
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strftime' function. */
|
|
||||||
#undef HAVE_STRFTIME
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strlcpy' function. */
|
|
||||||
#undef HAVE_STRLCPY
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strlcat' function. */
|
|
||||||
#undef HAVE_STRLCAT
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `strnlen' function. */
|
|
||||||
#undef HAVE_STRNLEN
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
|
||||||
#undef HAVE_STRINGS_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
|
||||||
#undef HAVE_STRING_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
||||||
#undef HAVE_SYS_STAT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
||||||
#undef HAVE_SYS_TIME_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
||||||
#undef HAVE_SYS_TYPES_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
|
||||||
#undef HAVE_SYS_WAIT_H
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
#undef HAVE_UNISTD_H
|
|
||||||
|
|
||||||
/* Name of package */
|
|
||||||
#undef PACKAGE
|
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
|
||||||
#undef PACKAGE_BUGREPORT
|
|
||||||
|
|
||||||
/* Define to the full name of this package. */
|
|
||||||
#undef PACKAGE_NAME
|
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
|
||||||
#undef PACKAGE_STRING
|
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
|
||||||
#undef PACKAGE_TARNAME
|
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
|
||||||
#undef PACKAGE_VERSION
|
|
||||||
|
|
||||||
/* Define as the return type of signal handlers (`int' or `void'). */
|
|
||||||
#undef RETSIGTYPE
|
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
|
||||||
#undef STDC_HEADERS
|
|
||||||
|
|
||||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
||||||
#undef TIME_WITH_SYS_TIME
|
|
||||||
|
|
||||||
/* Define to 1 if your <sys/time.h> declares `struct tm'. */
|
|
||||||
#undef TM_IN_SYS_TIME
|
|
||||||
|
|
||||||
/* Host OS */
|
|
||||||
#undef NS_HOST
|
|
||||||
|
|
||||||
/* IRCd protocol */
|
|
||||||
#undef NS_PROTOCOL
|
|
||||||
|
|
||||||
/* 'Enable Ultimate Support' */
|
|
||||||
#undef ULTIMATE
|
|
||||||
|
|
||||||
/* 'Enable Ultimate Support' */
|
|
||||||
#undef ULTIMATE3
|
|
||||||
|
|
||||||
/* 'Enable Unreal Support' */
|
|
||||||
#undef UNREAL
|
|
||||||
|
|
||||||
/* 'Enable Unreal 3.2.x Support' */
|
|
||||||
#undef UNREAL32
|
|
||||||
|
|
||||||
/* enable hybrid support */
|
|
||||||
#undef HYBRID7
|
|
||||||
|
|
||||||
/* enable neoircd support */
|
|
||||||
#undef NEOIRCD
|
|
||||||
|
|
||||||
/* enable Mystic support */
|
|
||||||
#undef MYSTIC
|
|
||||||
|
|
||||||
/* enable Bahamut support */
|
|
||||||
#undef BAHAMUT
|
|
||||||
|
|
||||||
/* enable Quantum support */
|
|
||||||
#undef QUANTUM
|
|
||||||
|
|
||||||
/* enable Ircu support */
|
|
||||||
#undef IRCU
|
|
||||||
|
|
||||||
/* enable Liquid support */
|
|
||||||
#undef LIQUID
|
|
||||||
|
|
||||||
/* enable Viagra support */
|
|
||||||
#undef VIAGRA
|
|
||||||
|
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
|
||||||
#undef const
|
|
||||||
|
|
||||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
||||||
#undef size_t
|
|
||||||
|
|
||||||
/* define if you have Backtrace */
|
|
||||||
#undef HAVE_BACKTRACE
|
|
||||||
|
|
||||||
/* define if you want to enable Raw */
|
|
||||||
#undef USE_RAW
|
|
||||||
|
|
||||||
/* Version number of package */
|
|
||||||
#undef NEOSTATS_PACKAGE_VERSION
|
|
||||||
|
|
||||||
/* Install directory */
|
|
||||||
#undef NEO_PREFIX
|
|
||||||
|
|
||||||
/* Major Version */
|
|
||||||
#undef MAJOR
|
|
||||||
|
|
||||||
/* Minor Version */
|
|
||||||
#undef MINOR
|
|
||||||
|
|
||||||
/* Revision Version */
|
|
||||||
#undef REV
|
|
||||||
|
|
||||||
/* Define as __inline if that's what the C compiler calls it. */
|
|
||||||
#undef inline
|
|
||||||
|
|
||||||
/* Have pthread mutex locking and unlocking functions in libc */
|
|
||||||
#undef HAVE_PTHREAD_MUTEX
|
|
||||||
|
|
||||||
/* have fgets_unlocked and friends? */
|
|
||||||
#undef HAVE_UNLOCKED
|
|
||||||
|
|
||||||
/* if we are compiling with SQL support */
|
|
||||||
#undef SQLSRV
|
|
||||||
|
|
||||||
/* Define if inline functions a la GCC are available. */
|
|
||||||
#undef HAVE_INLINE
|
|
||||||
|
|
||||||
/* Define if function attributes a la GCC 2.5 and higher are available. */
|
|
||||||
#undef HAVE_GNUC25_ATTRIB
|
|
||||||
|
|
||||||
/* Define if constant functions a la GCC 2.5 and higher are available. */
|
|
||||||
#undef HAVE_GNUC25_CONST
|
|
||||||
|
|
||||||
/* Define if nonreturning functions a la GCC 2.5 and higher are available. */
|
|
||||||
#undef HAVE_GNUC25_NORETURN
|
|
||||||
|
|
||||||
/* Define if printf-format argument lists a la GCC are available. */
|
|
||||||
#undef HAVE_GNUC25_PRINTFFORMAT
|
|
||||||
|
|
||||||
/* Define if we want to include rpc/types.h. Crap BSDs put INADDR_LOOPBACK there. */
|
|
||||||
#undef HAVEUSE_RPCTYPES_H
|
|
||||||
|
|
||||||
/* Define if you have the poll function. */
|
|
||||||
#undef HAVE_POLL
|
|
||||||
|
|
||||||
/* Define if you have the <sys/select.h> header file. */
|
|
||||||
#undef HAVE_SYS_SELECT_H
|
|
||||||
|
|
||||||
/* Define if you have the nsl library (-lnsl). */
|
|
||||||
#undef HAVE_LIBNSL
|
|
||||||
|
|
||||||
/* Define if you have the socket library (-lsocket). */
|
|
||||||
#undef HAVE_LIBSOCKET
|
|
||||||
|
|
||||||
/* Use the definitions: */
|
|
||||||
|
|
||||||
#ifndef HAVE_INLINE
|
|
||||||
#define inline
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_POLL
|
|
||||||
#include <sys/poll.h>
|
|
||||||
#else
|
|
||||||
/* kludge it up */
|
|
||||||
struct pollfd { int fd; short events; short revents; };
|
|
||||||
#define POLLIN 1
|
|
||||||
#define POLLPRI 2
|
|
||||||
#define POLLOUT 4
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C attributes. */
|
|
||||||
#ifndef FUNCATTR
|
|
||||||
#ifdef HAVE_GNUC25_ATTRIB
|
|
||||||
#define FUNCATTR(x) __attribute__(x)
|
|
||||||
#else
|
|
||||||
#define FUNCATTR(x)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C printf formats, or null. */
|
|
||||||
#ifndef ATTRPRINTF
|
|
||||||
#ifdef HAVE_GNUC25_PRINTFFORMAT
|
|
||||||
#define ATTRPRINTF(si,tc) format(printf,si,tc)
|
|
||||||
#else
|
|
||||||
#define ATTRPRINTF(si,tc)
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifndef PRINTFFORMAT
|
|
||||||
#define PRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc)))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C nonreturning functions, or null. */
|
|
||||||
#ifndef ATTRNORETURN
|
|
||||||
#ifdef HAVE_GNUC25_NORETURN
|
|
||||||
#define ATTRNORETURN noreturn
|
|
||||||
#else
|
|
||||||
#define ATTRNORETURN
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifndef NONRETURNING
|
|
||||||
#define NONRETURNING FUNCATTR((ATTRNORETURN))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Combination of both the above. */
|
|
||||||
#ifndef NONRETURNPRINTFFORMAT
|
|
||||||
#define NONRETURNPRINTFFORMAT(si,tc) FUNCATTR((ATTRPRINTF(si,tc),ATTRNORETURN))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* GNU C constant functions, or null. */
|
|
||||||
#ifndef ATTRCONST
|
|
||||||
#ifdef HAVE_GNUC25_CONST
|
|
||||||
#define ATTRCONST const
|
|
||||||
#else
|
|
||||||
#define ATTRCONST
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#ifndef CONSTANT
|
|
||||||
#define CONSTANT FUNCATTR((ATTRCONST))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVEUSE_RPCTYPES_H
|
|
||||||
#include <rpc/types.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
|
||||||
#include <sys/select.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to empty if the keyword does not work. */
|
|
||||||
|
|
||||||
#undef const
|
|
||||||
|
|
||||||
/* Define to `unsigned' if <stddef.h> doesn't define size_t. */
|
|
||||||
|
|
||||||
#undef size_t
|
|
||||||
|
|
||||||
/* The following two definitions are mainly for the benefit of SunOS4, which
|
|
||||||
doesn't have the strerror() or memmove() functions that should be present in
|
|
||||||
all Standard C libraries. The macros HAVE_STRERROR and HAVE_MEMMOVE should
|
|
||||||
normally be defined with the value 1 for other systems, but unfortunately we
|
|
||||||
can't make this the default because "configure" files generated by autoconf
|
|
||||||
will only change 0 to 1; they won't change 1 to 0 if the functions are not
|
|
||||||
found. */
|
|
||||||
|
|
||||||
#define HAVE_STRERROR 0
|
|
||||||
#define HAVE_MEMMOVE 0
|
|
||||||
|
|
||||||
/* There are some non-Unix systems that don't even have bcopy(). If this macro
|
|
||||||
is false, an emulation is used. If HAVE_MEMMOVE is set to 1, the value of
|
|
||||||
HAVE_BCOPY is not relevant. */
|
|
||||||
|
|
||||||
#define HAVE_BCOPY 0
|
|
||||||
|
|
||||||
/* The value of NEWLINE determines the newline character. The default is to
|
|
||||||
leave it up to the compiler, but some sites want to force a particular value.
|
|
||||||
On Unix systems, "configure" can be used to override this default. */
|
|
||||||
|
|
||||||
#ifndef NEWLINE
|
|
||||||
#define NEWLINE '\n'
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The value of LINK_SIZE determines the number of bytes used to store
|
|
||||||
links as offsets within the compiled regex. The default is 2, which allows for
|
|
||||||
compiled patterns up to 64K long. This covers the vast majority of cases.
|
|
||||||
However, PCRE can also be compiled to use 3 or 4 bytes instead. This allows for
|
|
||||||
longer patterns in extreme cases. On Unix systems, "configure" can be used to
|
|
||||||
override this default. */
|
|
||||||
|
|
||||||
#ifndef LINK_SIZE
|
|
||||||
#define LINK_SIZE 2
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* The value of MATCH_LIMIT determines the default number of times the match()
|
|
||||||
function can be called during a single execution of pcre_exec(). (There is a
|
|
||||||
runtime method of setting a different limit.) The limit exists in order to
|
|
||||||
catch runaway regular expressions that take for ever to determine that they do
|
|
||||||
not match. The default is set very large so that it does not accidentally catch
|
|
||||||
legitimate cases. On Unix systems, "configure" can be used to override this
|
|
||||||
default default. */
|
|
||||||
|
|
||||||
#ifndef MATCH_LIMIT
|
|
||||||
#define MATCH_LIMIT 10000000
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef POSIX_MALLOC_THRESHOLD
|
|
||||||
|
|
||||||
#undef HAVE_CRYPT_H
|
|
89
src/curl/Makefile.am
Normal file
89
src/curl/Makefile.am
Normal file
|
@ -0,0 +1,89 @@
|
||||||
|
#
|
||||||
|
# $Id: Makefile.am,v 1.72 2003/10/24 21:26:05 bagder Exp $
|
||||||
|
#
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||||
|
|
||||||
|
EXTRA_DIST = getdate.y
|
||||||
|
|
||||||
|
noinst_LTLIBRARIES = libcurl.la
|
||||||
|
|
||||||
|
# we use srcdir/include for the static global include files
|
||||||
|
# we use builddir/lib for the generated lib/config.h file to get found
|
||||||
|
# we use srcdir/lib for the lib-private header files
|
||||||
|
INCLUDES = -I$(top_srcdir)/include
|
||||||
|
|
||||||
|
#VERSION=-version-info 2:2:0
|
||||||
|
|
||||||
|
# This flag accepts an argument of the form current[:revision[:age]]. So,
|
||||||
|
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
|
||||||
|
# 1.
|
||||||
|
#
|
||||||
|
# If either revision or age are omitted, they default to 0. Also note that age
|
||||||
|
# must be less than or equal to the current interface number.
|
||||||
|
#
|
||||||
|
# Here are a set of rules to help you update your library version information:
|
||||||
|
#
|
||||||
|
# 1.Start with version information of 0:0:0 for each libtool library.
|
||||||
|
#
|
||||||
|
# 2.Update the version information only immediately before a public release of
|
||||||
|
# your software. More frequent updates are unnecessary, and only guarantee
|
||||||
|
# that the current interface number gets larger faster.
|
||||||
|
#
|
||||||
|
# 3.If the library source code has changed at all since the last update, then
|
||||||
|
# increment revision (c:r:a becomes c:r+1:a).
|
||||||
|
#
|
||||||
|
# 4.If any interfaces have been added, removed, or changed since the last
|
||||||
|
# update, increment current, and set revision to 0.
|
||||||
|
#
|
||||||
|
# 5.If any interfaces have been added since the last public release, then
|
||||||
|
# increment age.
|
||||||
|
#
|
||||||
|
# 6.If any interfaces have been removed since the last public release, then
|
||||||
|
# set age to 0.
|
||||||
|
#
|
||||||
|
|
||||||
|
#if NO_UNDEFINED
|
||||||
|
# The -no-undefined flag is CRUCIAL for this to build fine on Cygwin.
|
||||||
|
#UNDEF = -no-undefined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if MIMPURE
|
||||||
|
# This is for gcc on Solaris (8+ ?) to avoid "relocations remain against
|
||||||
|
# allocatable but non-writable sections" problems.
|
||||||
|
#MIMPURE = -mimpure-text
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(ARESLIB) $(MIMPURE)
|
||||||
|
|
||||||
|
libcurl_la_SOURCES = arpa_telnet.h file.c netrc.h timeval.c \
|
||||||
|
base64.c file.h hostip.c progress.c timeval.h base64.h formdata.c \
|
||||||
|
hostip.h progress.h cookie.c formdata.h http.c sendf.c cookie.h ftp.c \
|
||||||
|
http.h sendf.h url.c dict.c ftp.h if2ip.c speedcheck.c url.h dict.h \
|
||||||
|
getdate.c if2ip.h speedcheck.h urldata.h getdate.h ldap.c ssluse.c \
|
||||||
|
version.c getenv.c ldap.h ssluse.h escape.c mprintf.c telnet.c escape.h \
|
||||||
|
netrc.c telnet.h getinfo.c getinfo.h transfer.c strequal.c \
|
||||||
|
strequal.h easy.c security.h security.c krb4.c krb4.h memdebug.c \
|
||||||
|
memdebug.h inet_ntoa_r.h http_chunks.c http_chunks.h strtok.c strtok.h \
|
||||||
|
connect.c connect.h llist.c llist.h hash.c hash.h multi.c \
|
||||||
|
content_encoding.c content_encoding.h share.c share.h http_digest.c \
|
||||||
|
md5.c md5.h http_digest.h http_negotiate.c http_negotiate.h \
|
||||||
|
http_ntlm.c http_ntlm.h ca-bundle.h inet_pton.c inet_pton.h
|
||||||
|
|
||||||
|
noinst_HEADERS = setup.h transfer.h
|
||||||
|
|
||||||
|
BUILT_SOURCES = $(srcdir)/getdate.c $(srcdir)/ca-bundle.h
|
||||||
|
|
||||||
|
# Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
|
||||||
|
$(srcdir)/getdate.c: getdate.y
|
||||||
|
cd $(srcdir) && \
|
||||||
|
$(YACC) $(YFLAGS) getdate.y; \
|
||||||
|
mv -f y.tab.c getdate.c
|
||||||
|
|
||||||
|
$(srcdir)/ca-bundle.h: Makefile.in Makefile
|
||||||
|
@if test -f $@; then \
|
||||||
|
chmod 0644 $@; \
|
||||||
|
fi
|
||||||
|
echo "/* The file is generated automaticly */" > $@
|
||||||
|
echo '#undef CURL_CA_BUNDLE /* unknown */' >> $@
|
||||||
|
|
|
@ -1,147 +1,576 @@
|
||||||
#curl Makefile
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
||||||
CC=@CC@
|
# @configure_input@
|
||||||
CFLAGS= @CFLAGS@ @CPPFLAGS@ -DHAVE_CONFIG_H
|
|
||||||
LDFLAGS= @LDFLAGS@ @LIBS@
|
|
||||||
|
|
||||||
SRCS= base64.c easy.c getdate.c http.c if2ip.c md5.c progress.c ssluse.c transfer.c connect.c escape.c getenv.c http_chunks.c \
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||||
inet_pton.c memdebug.c security.c strequal.c url.c content_encoding.c file.c getinfo.c http_digest.c krb4.c mprintf.c sendf.c \
|
# Free Software Foundation, Inc.
|
||||||
strtok.c version.c cookie.c formdata.c hash.c http_negotiate.c ldap.c multi.c share.c telnet.c dict.c ftp.c hostip.c \
|
# This Makefile.in is free software; the Free Software Foundation
|
||||||
http_ntlm.c llist.c netrc.c speedcheck.c timeval.c
|
# gives unlimited permission to copy and/or distribute it,
|
||||||
OBJS= ${SRCS:.c=.o}
|
# with or without modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
libcurl.a: ${OBJS} Makefile
|
# This program is distributed in the hope that it will be useful,
|
||||||
ar cru libcurl.a ${OBJS}
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
ranlib libcurl.a
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
chmod +x mycurl-config
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
all: libcurl.a
|
@SET_MAKE@
|
||||||
|
|
||||||
.c.o:
|
#
|
||||||
$(CC) $(CFLAGS) -c $<
|
# $Id: Makefile.am,v 1.72 2003/10/24 21:26:05 bagder Exp $
|
||||||
|
#
|
||||||
|
|
||||||
getdate.c:
|
srcdir = @srcdir@
|
||||||
touch getdate.c
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = ../..
|
||||||
|
|
||||||
redoparser:
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
@YACC@ getdate.y
|
INSTALL = @INSTALL@
|
||||||
mv -f y.tab.c getdate.c
|
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_triplet = @host@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ALLOCA = @ALLOCA@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
GTK_CONFIG = @GTK_CONFIG@
|
||||||
|
INCLTDL = @INCLTDL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBLTDL = @LIBLTDL@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
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@
|
||||||
|
POW_LIB = @POW_LIB@
|
||||||
|
PROTOCOL = @PROTOCOL@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
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@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_configtool = @build_configtool@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
buildsqlsrv = @buildsqlsrv@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sqlsrvbuild = @sqlsrvbuild@
|
||||||
|
subdirs = @subdirs@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
|
||||||
clean:
|
AUTOMAKE_OPTIONS = foreign nostdinc
|
||||||
/bin/rm -rf *.o config.h Makefile mycurl-config *.a *.log
|
|
||||||
|
|
||||||
distclean:
|
EXTRA_DIST = getdate.y
|
||||||
/bin/rm -rf *.o config.h Makefile mycurl-config *.a *.log config.status configure.lineno
|
|
||||||
|
|
||||||
install:
|
noinst_LTLIBRARIES = libcurl.la
|
||||||
|
|
||||||
DISTFILES =*.in *.h *.c *.m4 configure config.sub COPYING depcomp *.y README RELEASE-NOTES
|
# we use srcdir/include for the static global include files
|
||||||
|
# we use builddir/lib for the generated lib/config.h file to get found
|
||||||
|
# we use srcdir/lib for the lib-private header files
|
||||||
|
INCLUDES = -I$(top_srcdir)/include
|
||||||
|
|
||||||
dist:
|
|
||||||
@for file in $(DISTFILES); do \
|
#VERSION=-version-info 2:2:0
|
||||||
cp -pr $$file $(DISTDIR)/$$file; \
|
|
||||||
|
# This flag accepts an argument of the form current[:revision[:age]]. So,
|
||||||
|
# passing -version-info 3:12:1 sets current to 3, revision to 12, and age to
|
||||||
|
# 1.
|
||||||
|
#
|
||||||
|
# If either revision or age are omitted, they default to 0. Also note that age
|
||||||
|
# must be less than or equal to the current interface number.
|
||||||
|
#
|
||||||
|
# Here are a set of rules to help you update your library version information:
|
||||||
|
#
|
||||||
|
# 1.Start with version information of 0:0:0 for each libtool library.
|
||||||
|
#
|
||||||
|
# 2.Update the version information only immediately before a public release of
|
||||||
|
# your software. More frequent updates are unnecessary, and only guarantee
|
||||||
|
# that the current interface number gets larger faster.
|
||||||
|
#
|
||||||
|
# 3.If the library source code has changed at all since the last update, then
|
||||||
|
# increment revision (c:r:a becomes c:r+1:a).
|
||||||
|
#
|
||||||
|
# 4.If any interfaces have been added, removed, or changed since the last
|
||||||
|
# update, increment current, and set revision to 0.
|
||||||
|
#
|
||||||
|
# 5.If any interfaces have been added since the last public release, then
|
||||||
|
# increment age.
|
||||||
|
#
|
||||||
|
# 6.If any interfaces have been removed since the last public release, then
|
||||||
|
# set age to 0.
|
||||||
|
#
|
||||||
|
|
||||||
|
#if NO_UNDEFINED
|
||||||
|
# The -no-undefined flag is CRUCIAL for this to build fine on Cygwin.
|
||||||
|
#UNDEF = -no-undefined
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if MIMPURE
|
||||||
|
# This is for gcc on Solaris (8+ ?) to avoid "relocations remain against
|
||||||
|
# allocatable but non-writable sections" problems.
|
||||||
|
#MIMPURE = -mimpure-text
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#libcurl_la_LDFLAGS = $(UNDEF) $(VERSION) $(ARESLIB) $(MIMPURE)
|
||||||
|
libcurl_la_SOURCES = arpa_telnet.h file.c netrc.h timeval.c \
|
||||||
|
base64.c file.h hostip.c progress.c timeval.h base64.h formdata.c \
|
||||||
|
hostip.h progress.h cookie.c formdata.h http.c sendf.c cookie.h ftp.c \
|
||||||
|
http.h sendf.h url.c dict.c ftp.h if2ip.c speedcheck.c url.h dict.h \
|
||||||
|
getdate.c if2ip.h speedcheck.h urldata.h getdate.h ldap.c ssluse.c \
|
||||||
|
version.c getenv.c ldap.h ssluse.h escape.c mprintf.c telnet.c escape.h \
|
||||||
|
netrc.c telnet.h getinfo.c getinfo.h transfer.c strequal.c \
|
||||||
|
strequal.h easy.c security.h security.c krb4.c krb4.h memdebug.c \
|
||||||
|
memdebug.h inet_ntoa_r.h http_chunks.c http_chunks.h strtok.c strtok.h \
|
||||||
|
connect.c connect.h llist.c llist.h hash.c hash.h multi.c \
|
||||||
|
content_encoding.c content_encoding.h share.c share.h http_digest.c \
|
||||||
|
md5.c md5.h http_digest.h http_negotiate.c http_negotiate.h \
|
||||||
|
http_ntlm.c http_ntlm.h ca-bundle.h inet_pton.c inet_pton.h
|
||||||
|
|
||||||
|
|
||||||
|
noinst_HEADERS = setup.h transfer.h
|
||||||
|
|
||||||
|
BUILT_SOURCES = $(srcdir)/getdate.c $(srcdir)/ca-bundle.h
|
||||||
|
subdir = src/curl
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
|
||||||
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||||
|
|
||||||
|
libcurl_la_LDFLAGS =
|
||||||
|
libcurl_la_LIBADD =
|
||||||
|
am_libcurl_la_OBJECTS = file.lo timeval.lo base64.lo hostip.lo \
|
||||||
|
progress.lo formdata.lo cookie.lo http.lo sendf.lo ftp.lo \
|
||||||
|
url.lo dict.lo if2ip.lo speedcheck.lo getdate.lo ldap.lo \
|
||||||
|
ssluse.lo version.lo getenv.lo escape.lo mprintf.lo telnet.lo \
|
||||||
|
netrc.lo getinfo.lo transfer.lo strequal.lo easy.lo security.lo \
|
||||||
|
krb4.lo memdebug.lo http_chunks.lo strtok.lo connect.lo \
|
||||||
|
llist.lo hash.lo multi.lo content_encoding.lo share.lo \
|
||||||
|
http_digest.lo md5.lo http_negotiate.lo http_ntlm.lo \
|
||||||
|
inet_pton.lo
|
||||||
|
libcurl_la_OBJECTS = $(am_libcurl_la_OBJECTS)
|
||||||
|
|
||||||
|
DEFAULT_INCLUDES =
|
||||||
|
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
|
||||||
|
am__depfiles_maybe = depfiles
|
||||||
|
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/base64.Plo ./$(DEPDIR)/connect.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/content_encoding.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/cookie.Plo ./$(DEPDIR)/dict.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/easy.Plo ./$(DEPDIR)/escape.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/file.Plo ./$(DEPDIR)/formdata.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/ftp.Plo ./$(DEPDIR)/getdate.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/getenv.Plo ./$(DEPDIR)/getinfo.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/hash.Plo ./$(DEPDIR)/hostip.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/http.Plo ./$(DEPDIR)/http_chunks.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/http_digest.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/http_negotiate.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/http_ntlm.Plo ./$(DEPDIR)/if2ip.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/inet_pton.Plo ./$(DEPDIR)/krb4.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/ldap.Plo ./$(DEPDIR)/llist.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/md5.Plo ./$(DEPDIR)/memdebug.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/mprintf.Plo ./$(DEPDIR)/multi.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/netrc.Plo ./$(DEPDIR)/progress.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/security.Plo ./$(DEPDIR)/sendf.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/share.Plo ./$(DEPDIR)/speedcheck.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/ssluse.Plo ./$(DEPDIR)/strequal.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/strtok.Plo ./$(DEPDIR)/telnet.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/timeval.Plo ./$(DEPDIR)/transfer.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/url.Plo ./$(DEPDIR)/version.Plo
|
||||||
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
CCLD = $(CC)
|
||||||
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
DIST_SOURCES = $(libcurl_la_SOURCES)
|
||||||
|
HEADERS = $(noinst_HEADERS)
|
||||||
|
|
||||||
|
DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.in COPYING \
|
||||||
|
Makefile.am acinclude.m4 config.guess config.sub configure \
|
||||||
|
configure.in depcomp install-sh missing mkinstalldirs
|
||||||
|
SOURCES = $(libcurl_la_SOURCES)
|
||||||
|
|
||||||
|
all: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c .lo .o .obj
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign src/curl/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
clean-noinstLTLIBRARIES:
|
||||||
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||||
|
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||||
|
test "$$dir" = "$$p" && dir=.; \
|
||||||
|
echo "rm -f \"$${dir}/so_locations\""; \
|
||||||
|
rm -f "$${dir}/so_locations"; \
|
||||||
done
|
done
|
||||||
|
libcurl.la: $(libcurl_la_OBJECTS) $(libcurl_la_DEPENDENCIES)
|
||||||
|
$(LINK) $(libcurl_la_LDFLAGS) $(libcurl_la_OBJECTS) $(libcurl_la_LIBADD) $(LIBS)
|
||||||
|
|
||||||
$(OBJS): Makefile
|
mostlyclean-compile:
|
||||||
base64.o: base64.c setup.h config.h mprintf.h base64.h
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
easy.o: easy.c setup.h config.h strequal.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h transfer.h ssluse.h url.h getinfo.h share.h mprintf.h
|
|
||||||
getdate.c: getdate.y
|
|
||||||
getdate.o: getdate.c setup.h config.h getdate.h
|
|
||||||
http.o: http.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
transfer.h sendf.h progress.h base64.h strequal.h ssluse.h \
|
|
||||||
http_digest.h http_ntlm.h http_negotiate.h url.h share.h http.h \
|
|
||||||
mprintf.h
|
|
||||||
if2ip.o: if2ip.c setup.h config.h
|
|
||||||
md5.o: md5.c setup.h config.h
|
|
||||||
progress.o: progress.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h sendf.h progress.h mprintf.h
|
|
||||||
ssluse.o: ssluse.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h sendf.h url.h inet_pton.h
|
|
||||||
transfer.o: transfer.c setup.h config.h strequal.h curl.h types.h easy.h \
|
|
||||||
multi.h urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h \
|
|
||||||
hash.h llist.h netrc.h content_encoding.h transfer.h sendf.h \
|
|
||||||
speedcheck.h progress.h getdate.h http.h url.h getinfo.h ssluse.h \
|
|
||||||
http_digest.h http_ntlm.h http_negotiate.h share.h mprintf.h
|
|
||||||
connect.o: connect.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h sendf.h if2ip.h
|
|
||||||
escape.o: escape.c setup.h config.h curl.h types.h easy.h multi.h
|
|
||||||
getenv.o: getenv.c setup.h config.h
|
|
||||||
http_chunks.o: http_chunks.c setup.h config.h curl.h types.h easy.h \
|
|
||||||
multi.h urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h \
|
|
||||||
hash.h llist.h sendf.h content_encoding.h mprintf.h
|
|
||||||
inet_pton.o: inet_pton.c setup.h config.h
|
|
||||||
memdebug.o: memdebug.c
|
|
||||||
security.o: security.c setup.h config.h
|
|
||||||
strequal.o: strequal.c setup.h config.h
|
|
||||||
url.o: url.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
netrc.h base64.h ssluse.h if2ip.h transfer.h sendf.h progress.h \
|
|
||||||
strequal.h escape.h strtok.h share.h content_encoding.h http_digest.h \
|
|
||||||
http_negotiate.h ftp.h dict.h telnet.h http.h file.h ldap.h url.h \
|
|
||||||
connect.h mprintf.h
|
|
||||||
content_encoding.o: content_encoding.c setup.h config.h curl.h types.h \
|
|
||||||
easy.h multi.h urldata.h cookie.h formdata.h timeval.h http_chunks.h \
|
|
||||||
hostip.h hash.h llist.h sendf.h
|
|
||||||
file.o: file.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
progress.h sendf.h escape.h mprintf.h
|
|
||||||
getinfo.o: getinfo.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h
|
|
||||||
http_digest.o: http_digest.c setup.h config.h curl.h types.h easy.h \
|
|
||||||
multi.h urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h \
|
|
||||||
hash.h llist.h sendf.h strequal.h md5.h http_digest.h mprintf.h
|
|
||||||
krb4.o: krb4.c setup.h config.h
|
|
||||||
mprintf.o: mprintf.c setup.h config.h
|
|
||||||
sendf.o: sendf.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
sendf.h connect.h mprintf.h
|
|
||||||
strtok.o: strtok.c setup.h config.h
|
|
||||||
version.o: version.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h
|
|
||||||
cookie.o: cookie.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h getdate.h strequal.h strtok.h sendf.h
|
|
||||||
formdata.o: formdata.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
formdata.h strequal.h
|
|
||||||
hash.o: hash.c setup.h config.h hash.h llist.h
|
|
||||||
http_negotiate.o: http_negotiate.c setup.h config.h
|
|
||||||
ldap.o: ldap.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
sendf.h escape.h transfer.h mprintf.h
|
|
||||||
multi.o: multi.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
transfer.h url.h connect.h progress.h
|
|
||||||
share.o: share.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
share.h
|
|
||||||
telnet.o: telnet.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h transfer.h sendf.h mprintf.h arpa_telnet.h
|
|
||||||
dict.o: dict.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
transfer.h sendf.h progress.h strequal.h mprintf.h
|
|
||||||
ftp.o: ftp.c setup.h config.h curl.h types.h easy.h multi.h urldata.h \
|
|
||||||
cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h llist.h \
|
|
||||||
sendf.h if2ip.h progress.h transfer.h escape.h http.h ftp.h strequal.h \
|
|
||||||
ssluse.h connect.h mprintf.h
|
|
||||||
hostip.o: hostip.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h sendf.h share.h url.h mprintf.h
|
|
||||||
http_ntlm.o: http_ntlm.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h sendf.h strequal.h base64.h http_ntlm.h url.h http.h mprintf.h
|
|
||||||
llist.o: llist.c setup.h config.h llist.h
|
|
||||||
netrc.o: netrc.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
strequal.h strtok.h mprintf.h
|
|
||||||
speedcheck.o: speedcheck.c setup.h config.h curl.h types.h easy.h multi.h \
|
|
||||||
urldata.h cookie.h formdata.h timeval.h http_chunks.h hostip.h hash.h \
|
|
||||||
llist.h sendf.h speedcheck.h
|
|
||||||
timeval.o: timeval.c timeval.h setup.h config.h
|
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/base64.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/connect.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/content_encoding.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cookie.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dict.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/easy.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/escape.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/formdata.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ftp.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getdate.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getenv.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/getinfo.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hash.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hostip.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http_chunks.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http_digest.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http_negotiate.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http_ntlm.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/if2ip.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/inet_pton.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/krb4.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ldap.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/llist.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/md5.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/memdebug.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mprintf.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/multi.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/netrc.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/progress.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/security.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sendf.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/share.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/speedcheck.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ssluse.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strequal.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strtok.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/telnet.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/timeval.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/transfer.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/url.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/version.Plo@am__quote@
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
.c.obj:
|
||||||
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||||
|
|
||||||
|
.c.lo:
|
||||||
|
@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
ETAGS = etags
|
||||||
|
ETAGSFLAGS =
|
||||||
|
|
||||||
|
CTAGS = ctags
|
||||||
|
CTAGSFLAGS =
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: $(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 "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_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 tags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@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"; \
|
||||||
|
$(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: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) check-am
|
||||||
|
all-am: Makefile $(LTLIBRARIES) $(HEADERS)
|
||||||
|
|
||||||
|
installdirs:
|
||||||
|
install: $(BUILT_SOURCES)
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) 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 $(CONFIG_CLEAN_FILES)
|
||||||
|
|
||||||
|
maintainer-clean-generic:
|
||||||
|
@echo "This command is intended for maintainers to use"
|
||||||
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
||||||
|
clean: clean-am
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||||
|
mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||||
|
clean-libtool clean-noinstLTLIBRARIES ctags distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am 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 mostlyclean-libtool pdf \
|
||||||
|
pdf-am ps ps-am tags uninstall uninstall-am uninstall-info-am
|
||||||
|
|
||||||
|
|
||||||
|
# Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
|
||||||
|
$(srcdir)/getdate.c: getdate.y
|
||||||
|
cd $(srcdir) && \
|
||||||
|
$(YACC) $(YFLAGS) getdate.y; \
|
||||||
|
mv -f y.tab.c getdate.c
|
||||||
|
|
||||||
|
$(srcdir)/ca-bundle.h: Makefile.in Makefile
|
||||||
|
@if test -f $@; then \
|
||||||
|
chmod 0644 $@; \
|
||||||
|
fi
|
||||||
|
echo "/* The file is generated automaticly */" > $@
|
||||||
|
echo '#undef CURL_CA_BUNDLE /* unknown */' >> $@
|
||||||
|
# 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:
|
||||||
|
|
81
src/curl/aclocal.m4
vendored
81
src/curl/aclocal.m4
vendored
|
@ -141,87 +141,6 @@ dnl Check for socklen_t: historically on BSD it is an int, and in
|
||||||
dnl POSIX 1g it is a type of its own, but some platforms use different
|
dnl POSIX 1g it is a type of its own, but some platforms use different
|
||||||
dnl types for the argument to getsockopt, getpeername, etc. So we
|
dnl types for the argument to getsockopt, getpeername, etc. So we
|
||||||
dnl have to test to find something that will work.
|
dnl have to test to find something that will work.
|
||||||
AC_DEFUN([TYPE_SOCKLEN_T],
|
|
||||||
[
|
|
||||||
AC_CHECK_TYPE([socklen_t], ,[
|
|
||||||
AC_MSG_CHECKING([for socklen_t equivalent])
|
|
||||||
AC_CACHE_VAL([curl_cv_socklen_t_equiv],
|
|
||||||
[
|
|
||||||
# Systems have either "struct sockaddr *" or
|
|
||||||
# "void *" as the second argument to getpeername
|
|
||||||
curl_cv_socklen_t_equiv=
|
|
||||||
for arg2 in "struct sockaddr" void; do
|
|
||||||
for t in int size_t unsigned long "unsigned long"; do
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
|
||||||
#include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_SYS_SOCKET_H
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
int getpeername (int, $arg2 *, $t *);
|
|
||||||
],[
|
|
||||||
$t len;
|
|
||||||
getpeername(0,0,&len);
|
|
||||||
],[
|
|
||||||
curl_cv_socklen_t_equiv="$t"
|
|
||||||
break
|
|
||||||
])
|
|
||||||
done
|
|
||||||
done
|
|
||||||
|
|
||||||
if test "x$curl_cv_socklen_t_equiv" = x; then
|
|
||||||
AC_MSG_ERROR([Cannot find a type to use in place of socklen_t])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
AC_MSG_RESULT($curl_cv_socklen_t_equiv)
|
|
||||||
AC_DEFINE_UNQUOTED(socklen_t, $curl_cv_socklen_t_equiv,
|
|
||||||
[type to use in place of socklen_t if not defined])],
|
|
||||||
[#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>])
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl Check for in_addr_t: it is used to receive the return code of inet_addr()
|
|
||||||
dnl and a few other things. If not found, we set it to unsigned int, as even
|
|
||||||
dnl 64-bit implementations use to set it to a 32-bit type.
|
|
||||||
AC_DEFUN([TYPE_IN_ADDR_T],
|
|
||||||
[
|
|
||||||
AC_CHECK_TYPE([in_addr_t], ,[
|
|
||||||
AC_MSG_CHECKING([for in_addr_t equivalent])
|
|
||||||
AC_CACHE_VAL([curl_cv_in_addr_t_equiv],
|
|
||||||
[
|
|
||||||
curl_cv_in_addr_t_equiv=
|
|
||||||
for t in "unsigned long" int size_t unsigned long; do
|
|
||||||
AC_TRY_COMPILE([
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
|
||||||
#include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_SYS_SOCKET_H
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_ARPA_INET_H
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
#endif
|
|
||||||
],[
|
|
||||||
$t data = inet_addr ("1.2.3.4");
|
|
||||||
],[
|
|
||||||
curl_cv_in_addr_t_equiv="$t"
|
|
||||||
break
|
|
||||||
])
|
|
||||||
done
|
|
||||||
|
|
||||||
if test "x$curl_cv_in_addr_t_equiv" = x; then
|
|
||||||
AC_MSG_ERROR([Cannot find a type to use in place of in_addr_t])
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
AC_MSG_RESULT($curl_cv_in_addr_t_equiv)
|
|
||||||
AC_DEFINE_UNQUOTED(in_addr_t, $curl_cv_in_addr_t_equiv,
|
|
||||||
[type to use in place of in_addr_t if not defined])],
|
|
||||||
[#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <arpa/inet.h>])
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl ************************************************************
|
dnl ************************************************************
|
||||||
dnl check for "localhost", if it doesn't exist, we can't do the
|
dnl check for "localhost", if it doesn't exist, we can't do the
|
||||||
|
|
|
@ -1,999 +0,0 @@
|
||||||
dnl $Id: configure.ac,v 1.30 2003/12/02 22:04:30 bagder Exp $
|
|
||||||
dnl Process this file with autoconf to produce a configure script.
|
|
||||||
|
|
||||||
AC_PREREQ(2.57)
|
|
||||||
|
|
||||||
dnl We don't know the version number "staticly" so we use a dash here
|
|
||||||
AC_INIT(curl, [-], [curl-bug@haxx.se])
|
|
||||||
|
|
||||||
dnl configure script copyright
|
|
||||||
AC_COPYRIGHT([Copyright (c) 1998 - 2003 Daniel Stenberg, <daniel@haxx.se>
|
|
||||||
This configure script may be copied, distributed and modified under the
|
|
||||||
terms of the curl license; see COPYING for more details])
|
|
||||||
|
|
||||||
AC_CONFIG_SRCDIR([urldata.h])
|
|
||||||
AM_CONFIG_HEADER(config.h)
|
|
||||||
dnl AM_MAINTAINER_MODE
|
|
||||||
|
|
||||||
dnl SED is needed by some of the tools
|
|
||||||
AC_PATH_PROG( SED, sed, , $PATH:/usr/bin:/usr/local/bin)
|
|
||||||
AC_SUBST(SED)
|
|
||||||
|
|
||||||
dnl AR is used by libtool, and try the odd Solaris path too
|
|
||||||
AC_PATH_PROG( AR, ar, , $PATH:/usr/bin:/usr/local/bin:/usr/ccs/bin)
|
|
||||||
AC_SUBST(AR)
|
|
||||||
|
|
||||||
dnl figure out the libcurl version
|
|
||||||
VERSION=`$SED -ne 's/^#define LIBCURL_VERSION "\(.*\)"/\1/p' ${srcdir}/curl.h`
|
|
||||||
dnl AM_INIT_AUTOMAKE(curl,$VERSION)
|
|
||||||
AC_MSG_CHECKING([curl version])
|
|
||||||
AC_MSG_RESULT($VERSION)
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl we extract the numerical version for curl-config only
|
|
||||||
VERSIONNUM=`$SED -ne 's/^#define LIBCURL_VERSION_NUM 0x\(.*\)/\1/p' ${srcdir}/curl.h`
|
|
||||||
AC_SUBST(VERSIONNUM)
|
|
||||||
|
|
||||||
dnl Solaris pkgadd support definitions
|
|
||||||
PKGADD_PKG="HAXXcurl"
|
|
||||||
PKGADD_NAME="cURL - a client that groks URLs"
|
|
||||||
PKGADD_VENDOR="curl.haxx.se"
|
|
||||||
AC_SUBST(PKGADD_PKG)
|
|
||||||
AC_SUBST(PKGADD_NAME)
|
|
||||||
AC_SUBST(PKGADD_VENDOR)
|
|
||||||
|
|
||||||
|
|
||||||
dnl
|
|
||||||
dnl Detect the canonical host and target build environment
|
|
||||||
dnl
|
|
||||||
|
|
||||||
AC_CANONICAL_HOST
|
|
||||||
dnl Get system canonical name
|
|
||||||
AC_DEFINE_UNQUOTED(OS, "${host}", [cpu-machine-OS])
|
|
||||||
|
|
||||||
dnl Check for AIX weirdos
|
|
||||||
AC_AIX
|
|
||||||
|
|
||||||
dnl Checks for programs.
|
|
||||||
AC_PROG_CC
|
|
||||||
|
|
||||||
dnl check for how to do large files
|
|
||||||
AC_SYS_LARGEFILE
|
|
||||||
|
|
||||||
dnl check for cygwin stuff
|
|
||||||
AC_LIBTOOL_WIN32_DLL
|
|
||||||
|
|
||||||
dnl libtool setup
|
|
||||||
dnl AM_PROG_LIBTOOL
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if we need -no-undefined])
|
|
||||||
case $host in
|
|
||||||
*-*-cygwin | *-*-mingw* | *-*-pw32*)
|
|
||||||
need_no_undefined=yes
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
need_no_undefined=no
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
AC_MSG_RESULT($need_no_undefined)
|
|
||||||
dnl AM_CONDITIONAL(NO_UNDEFINED, test x$need_no_undefined = xyes)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if we need -mimpure-text])
|
|
||||||
case $host in
|
|
||||||
*-*-solaris2*)
|
|
||||||
if test "$GCC" = "yes"; then
|
|
||||||
mimpure="yes"
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
mimpure=no
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
AC_MSG_RESULT($mimpure)
|
|
||||||
dnl AM_CONDITIONAL(MIMPURE, test x$mimpure = xyes)
|
|
||||||
|
|
||||||
dnl The install stuff has already been taken care of by the automake stuff
|
|
||||||
dnl AC_PROG_INSTALL
|
|
||||||
AC_PROG_MAKE_SET
|
|
||||||
|
|
||||||
dnl ************************************************************
|
|
||||||
dnl switch off particular protocols
|
|
||||||
dnl
|
|
||||||
AC_MSG_CHECKING([whether to support http])
|
|
||||||
AC_ARG_ENABLE(http,
|
|
||||||
AC_HELP_STRING([--enable-http],[Enable HTTP support])
|
|
||||||
AC_HELP_STRING([--disable-http],[Disable HTTP support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_DEFINE(CURL_DISABLE_HTTP, 1, [to disable HTTP])
|
|
||||||
AC_MSG_WARN([disable HTTP disables FTP over proxy and GOPHER too])
|
|
||||||
AC_DEFINE(CURL_DISABLE_GOPHER, 1, [to disable GOPHER])
|
|
||||||
AC_SUBST(CURL_DISABLE_HTTP)
|
|
||||||
AC_SUBST(CURL_DISABLE_GOPHER)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([whether to support ftp])
|
|
||||||
AC_ARG_ENABLE(ftp,
|
|
||||||
AC_HELP_STRING([--enable-ftp],[Enable FTP support])
|
|
||||||
AC_HELP_STRING([--disable-ftp],[Disable FTP support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_DEFINE(CURL_DISABLE_FTP, 1, [to disable FTP])
|
|
||||||
AC_SUBST(CURL_DISABLE_FTP)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([whether to support gopher])
|
|
||||||
AC_ARG_ENABLE(gopher,
|
|
||||||
AC_HELP_STRING([--enable-gopher],[Enable GOPHER support])
|
|
||||||
AC_HELP_STRING([--disable-gopher],[Disable GOPHER support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_DEFINE(CURL_DISABLE_GOPHER, 1, [to disable GOPHER])
|
|
||||||
AC_SUBST(CURL_DISABLE_GOPHER)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([whether to support file])
|
|
||||||
AC_ARG_ENABLE(file,
|
|
||||||
AC_HELP_STRING([--enable-file],[Enable FILE support])
|
|
||||||
AC_HELP_STRING([--disable-file],[Disable FILE support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_DEFINE(CURL_DISABLE_FILE, 1, [to disable FILE])
|
|
||||||
AC_SUBST(CURL_DISABLE_FILE)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([whether to support ldap])
|
|
||||||
AC_ARG_ENABLE(ldap,
|
|
||||||
AC_HELP_STRING([--enable-ldap],[Enable LDAP support])
|
|
||||||
AC_HELP_STRING([--disable-ldap],[Disable LDAP support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_DEFINE(CURL_DISABLE_LDAP, 1, [to disable LDAP])
|
|
||||||
AC_SUBST(CURL_DISABLE_LDAP)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([whether to support dict])
|
|
||||||
AC_ARG_ENABLE(dict,
|
|
||||||
AC_HELP_STRING([--enable-dict],[Enable DICT support])
|
|
||||||
AC_HELP_STRING([--disable-dict],[Disable DICT support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_DEFINE(CURL_DISABLE_DICT, 1, [to disable DICT])
|
|
||||||
AC_SUBST(CURL_DISABLE_DICT)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([whether to support telnet])
|
|
||||||
AC_ARG_ENABLE(telnet,
|
|
||||||
AC_HELP_STRING([--enable-telnet],[Enable TELNET support])
|
|
||||||
AC_HELP_STRING([--disable-telnet],[Disable TELNET support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_DEFINE(CURL_DISABLE_TELNET, 1, [to disable TELNET])
|
|
||||||
AC_SUBST(CURL_DISABLE_TELNET)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
)
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Checks for libraries.
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
dnl gethostbyname in the nsl lib?
|
|
||||||
AC_CHECK_FUNC(gethostbyname, , [ AC_CHECK_LIB(nsl, gethostbyname) ])
|
|
||||||
|
|
||||||
if test "$ac_cv_lib_nsl_gethostbyname" != "yes" -a "$ac_cv_func_gethostbyname" != "yes"; then
|
|
||||||
dnl gethostbyname in the socket lib?
|
|
||||||
AC_CHECK_FUNC(gethostbyname, , [ AC_CHECK_LIB(socket, gethostbyname) ])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl At least one system has been identified to require BOTH nsl and
|
|
||||||
dnl socket libs to link properly.
|
|
||||||
if test "$ac_cv_lib_nsl_gethostbyname" != "yes" -a "$ac_cv_lib_socket_gethostbyname" != "yes" -a "$ac_cv_func_gethostbyname" != "yes"; then
|
|
||||||
AC_MSG_CHECKING([trying both nsl and socket libs])
|
|
||||||
my_ac_save_LIBS=$LIBS
|
|
||||||
LIBS="-lnsl -lsocket $LIBS"
|
|
||||||
AC_TRY_LINK( ,
|
|
||||||
[gethostbyname();],
|
|
||||||
my_ac_link_result=success,
|
|
||||||
my_ac_link_result=failure )
|
|
||||||
|
|
||||||
if test "$my_ac_link_result" = "failure"; then
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
AC_MSG_ERROR([couldn't find libraries for gethostbyname()])
|
|
||||||
dnl restore LIBS
|
|
||||||
LIBS=$my_ac_save_LIBS
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl resolve lib?
|
|
||||||
AC_CHECK_FUNC(strcasecmp, , [ AC_CHECK_LIB(resolve, strcasecmp) ])
|
|
||||||
|
|
||||||
if test "$ac_cv_lib_resolve_strcasecmp" = "$ac_cv_func_strcasecmp"; then
|
|
||||||
AC_CHECK_LIB(resolve, strcasecmp,
|
|
||||||
[LIBS="-lresolve $LIBS"],
|
|
||||||
,
|
|
||||||
-lnsl)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl socket lib?
|
|
||||||
AC_CHECK_FUNC(connect, , [ AC_CHECK_LIB(socket, connect) ])
|
|
||||||
|
|
||||||
dnl dl lib?
|
|
||||||
AC_CHECK_FUNC(dlclose, , [ AC_CHECK_LIB(dl, dlopen) ])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to use libgcc])
|
|
||||||
AC_ARG_ENABLE(libgcc,
|
|
||||||
AC_HELP_STRING([--enable-libgcc],[use libgcc when linking]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
yes)
|
|
||||||
LIBS="$LIBS -lgcc"
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(no)
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
)
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Checks for IPv6
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([whether to enable ipv6])
|
|
||||||
AC_ARG_ENABLE(ipv6,
|
|
||||||
AC_HELP_STRING([--enable-ipv6],[Enable ipv6 (with ipv4) support])
|
|
||||||
AC_HELP_STRING([--disable-ipv6],[Disable ipv6 support]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
ipv6=no
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
ipv6=yes
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
|
|
||||||
AC_TRY_RUN([ /* is AF_INET6 available? */
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
main()
|
|
||||||
{
|
|
||||||
if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
|
|
||||||
exit(1);
|
|
||||||
else
|
|
||||||
exit(0);
|
|
||||||
}
|
|
||||||
],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
ipv6=yes,
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
ipv6=no,
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
ipv6=no
|
|
||||||
))
|
|
||||||
|
|
||||||
if test "$ipv6" = "yes"; then
|
|
||||||
CURL_CHECK_WORKING_GETADDRINFO
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check how non-blocking sockets are set
|
|
||||||
dnl **********************************************************************
|
|
||||||
AC_ARG_ENABLE(nonblocking,
|
|
||||||
AC_HELP_STRING([--enable-nonblocking],[Enable detecting how to do it])
|
|
||||||
AC_HELP_STRING([--disable-nonblocking],[Disable non-blocking socket detection]),
|
|
||||||
[
|
|
||||||
if test "$enableval" = "no" ; then
|
|
||||||
AC_MSG_WARN([non-blocking sockets disabled])
|
|
||||||
AC_DEFINE(HAVE_DISABLED_NONBLOCKING, 1,
|
|
||||||
[to disable NON-BLOCKING connections])
|
|
||||||
else
|
|
||||||
CURL_CHECK_NONBLOCKING_SOCKET
|
|
||||||
fi
|
|
||||||
],
|
|
||||||
[
|
|
||||||
CURL_CHECK_NONBLOCKING_SOCKET
|
|
||||||
])
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check for the random seed preferences
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
AC_ARG_WITH(egd-socket,
|
|
||||||
AC_HELP_STRING([--with-egd-socket=FILE],
|
|
||||||
[Entropy Gathering Daemon socket pathname]),
|
|
||||||
[ EGD_SOCKET="$withval" ]
|
|
||||||
)
|
|
||||||
if test -n "$EGD_SOCKET" ; then
|
|
||||||
AC_DEFINE_UNQUOTED(EGD_SOCKET, "$EGD_SOCKET",
|
|
||||||
[your Entropy Gathering Daemon socket pathname] )
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Check for user-specified random device
|
|
||||||
AC_ARG_WITH(random,
|
|
||||||
AC_HELP_STRING([--with-random=FILE],[read randomness from FILE (default=/dev/urandom)]),
|
|
||||||
[ RANDOM_FILE="$withval" ],
|
|
||||||
[
|
|
||||||
dnl Check for random device
|
|
||||||
AC_CHECK_FILE("/dev/urandom", [ RANDOM_FILE="/dev/urandom"] )
|
|
||||||
]
|
|
||||||
)
|
|
||||||
if test -n "$RANDOM_FILE" ; then
|
|
||||||
AC_SUBST(RANDOM_FILE)
|
|
||||||
AC_DEFINE_UNQUOTED(RANDOM_FILE, "$RANDOM_FILE",
|
|
||||||
[a suitable file to read random data from])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check if the operating system allows programs to write to their own argv[]
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if argv can be written to])
|
|
||||||
AC_CACHE_VAL(curl_cv_writable_argv, [
|
|
||||||
AC_RUN_IFELSE([[
|
|
||||||
int main(int argc, char ** argv) {
|
|
||||||
argv[0][0] = ' ';
|
|
||||||
return (argv[0][0] == ' ')?0:1;
|
|
||||||
}
|
|
||||||
]],
|
|
||||||
curl_cv_writable_argv=yes,
|
|
||||||
curl_cv_writable_argv=no,
|
|
||||||
curl_cv_writable_argv=cross)
|
|
||||||
])
|
|
||||||
case $curl_cv_writable_argv in
|
|
||||||
yes)
|
|
||||||
AC_DEFINE(HAVE_WRITABLE_ARGV, 1, [Define this symbol if your OS supports changing the contents of argv])
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
;;
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
AC_MSG_WARN([the previous check could not be made default was used])
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check for the presence of Kerberos4 libraries and headers
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
AC_ARG_WITH(krb4-includes,
|
|
||||||
AC_HELP_STRING([--with-krb4-includes=DIR],
|
|
||||||
[Specify location of kerberos4 headers]),[
|
|
||||||
CPPFLAGS="$CPPFLAGS -I$withval"
|
|
||||||
KRB4INC="$withval"
|
|
||||||
want_krb4=yes
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_ARG_WITH(krb4-libs,
|
|
||||||
AC_HELP_STRING([--with-krb4-libs=DIR],[Specify location of kerberos4 libs]),[
|
|
||||||
LDFLAGS="$LDFLAGS -L$withval"
|
|
||||||
KRB4LIB="$withval"
|
|
||||||
want_krb4=yes
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
OPT_KRB4=off
|
|
||||||
AC_ARG_WITH(krb4,dnl
|
|
||||||
AC_HELP_STRING([--with-krb4=DIR],[where to look for Kerberos4]),[
|
|
||||||
OPT_KRB4="$withval"
|
|
||||||
if test X"$OPT_KRB4" != Xyes
|
|
||||||
then
|
|
||||||
LDFLAGS="$LDFLAGS -L$OPT_KRB4/lib"
|
|
||||||
KRB4LIB="$OPT_KRB4/lib"
|
|
||||||
CPPFLAGS="$CPPFLAGS -I$OPT_KRB4/include"
|
|
||||||
KRB4INC="$OPT_KRB4/include"
|
|
||||||
fi
|
|
||||||
want_krb4="yes"
|
|
||||||
])
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if Kerberos4 support is requested])
|
|
||||||
|
|
||||||
if test "$want_krb4" = yes
|
|
||||||
then
|
|
||||||
if test "$ipv6" = "yes"; then
|
|
||||||
echo krb4 is not compatible with IPv6
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
|
|
||||||
dnl Check for & handle argument to --with-krb4
|
|
||||||
|
|
||||||
AC_MSG_CHECKING(where to look for Kerberos4)
|
|
||||||
if test X"$OPT_KRB4" = Xyes
|
|
||||||
then
|
|
||||||
AC_MSG_RESULT([defaults])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([libs in $KRB4LIB, headers in $KRB4INC])
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl Check for DES library
|
|
||||||
AC_CHECK_LIB(des, des_pcbc_encrypt,
|
|
||||||
[
|
|
||||||
AC_CHECK_HEADERS(des.h)
|
|
||||||
|
|
||||||
dnl resolv lib?
|
|
||||||
AC_CHECK_FUNC(res_search, , [AC_CHECK_LIB(resolv, res_search)])
|
|
||||||
|
|
||||||
dnl Check for the Kerberos4 library
|
|
||||||
AC_CHECK_LIB(krb, krb_net_read,
|
|
||||||
[
|
|
||||||
dnl Check for header files
|
|
||||||
AC_CHECK_HEADERS(krb.h)
|
|
||||||
|
|
||||||
dnl we found the required libraries, add to LIBS
|
|
||||||
LIBS="-lkrb -ldes $LIBS"
|
|
||||||
|
|
||||||
dnl Check for function krb_get_our_ip_for_realm
|
|
||||||
dnl this is needed for NAT networks
|
|
||||||
AC_CHECK_FUNCS(krb_get_our_ip_for_realm)
|
|
||||||
|
|
||||||
dnl add define KRB4
|
|
||||||
AC_DEFINE(HAVE_KRB4, 1,
|
|
||||||
[if you have the Kerberos4 libraries (including -ldes)])
|
|
||||||
|
|
||||||
dnl substitute it too!
|
|
||||||
KRB4_ENABLED=1
|
|
||||||
AC_SUBST(KRB4_ENABLED)
|
|
||||||
|
|
||||||
dnl the krb4 stuff needs a strlcpy()
|
|
||||||
AC_CHECK_FUNCS(strlcpy)
|
|
||||||
|
|
||||||
])
|
|
||||||
])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check for FBopenssl(SPNEGO) libraries
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
AC_ARG_WITH(spnego,
|
|
||||||
AC_HELP_STRING([--with-spnego=DIR],
|
|
||||||
[Specify location of SPNEGO library fbopenssl]),
|
|
||||||
[ SPNEGO_ROOT="$withval"
|
|
||||||
want_spnego="yes" ]
|
|
||||||
)
|
|
||||||
AC_MSG_CHECKING([if SPNEGO support is requested])
|
|
||||||
if test x"$want_spnego" = xyes; then
|
|
||||||
|
|
||||||
if test X"$SPNEGO_ROOT" = Xyes; then
|
|
||||||
AC_MSG_ERROR([FBOpenSSL libs and/or directories were not found where specified!])
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
else
|
|
||||||
if test -z "$SPNEGO_LIB_DIR"; then
|
|
||||||
LDFLAGS="$LDFLAGS -L$SPNEGO_ROOT ${wl}-R$SPNEGO_ROOT -lfbopenssl"
|
|
||||||
else
|
|
||||||
LDFLAGS="$LDFLAGS $SPNEGO_LIB_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
AC_DEFINE(HAVE_SPNEGO, 1, [Define this if you have the SPNEGO library fbopenssl])
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check for GSS-API libraries
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
AC_ARG_WITH(gssapi-includes,
|
|
||||||
AC_HELP_STRING([--with-gssapi-includes=DIR],
|
|
||||||
[Specify location of GSSAPI header]),
|
|
||||||
[ GSSAPI_INCS="-I$withval"
|
|
||||||
want_gss="yes" ]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_ARG_WITH(gssapi-libs,
|
|
||||||
AC_HELP_STRING([--with-gssapi-libs=DIR],
|
|
||||||
[Specify location of GSSAPI libs]),
|
|
||||||
[ GSSAPI_LIBS="-L$withval -lgssapi"
|
|
||||||
want_gss="yes" ]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_ARG_WITH(gssapi,
|
|
||||||
AC_HELP_STRING([--with-gssapi=DIR],
|
|
||||||
[Where to look for GSSAPI]),
|
|
||||||
[ GSSAPI_ROOT="$withval"
|
|
||||||
want_gss="yes" ]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_MSG_CHECKING([if GSSAPI support is requested])
|
|
||||||
if test x"$want_gss" = xyes; then
|
|
||||||
if test -z "$GSSAPI_INCS"; then
|
|
||||||
if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
|
|
||||||
GSSAPI_INCS=`$GSSAPI_ROOT/bin/krb5-config --cflags gssapi`
|
|
||||||
else
|
|
||||||
GSSAPI_INCS=="-I$GSSAPI_ROOT/include"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
CPPFLAGS="$CPPFLAGS $GSSAPI_INCS"
|
|
||||||
|
|
||||||
if test -z "$GSSAPI_LIB_DIR"; then
|
|
||||||
if test -f "$GSSAPI_ROOT/bin/krb5-config"; then
|
|
||||||
gss_ldflags=`$GSSAPI_ROOT/bin/krb5-config --libs gssapi`
|
|
||||||
LDFLAGS="$LDFLAGS $gss_ldflags"
|
|
||||||
else
|
|
||||||
LDFLAGS="$LDFLAGS $GSSAPI_ROOT/lib -lgssapi"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
LDFLAGS="$LDFLAGS $GSSAPI_LIB_DIR"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
AC_DEFINE(HAVE_GSSAPI, 1, [if you have the gssapi libraries])
|
|
||||||
|
|
||||||
if test -n "$GSSAPI_INCS"; then
|
|
||||||
# cut off the preceding -I from the include path
|
|
||||||
GSSAPI_INCS=`echo $GSSAPI_INCS | sed -e s/^-I//g`
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -f "$GSSAPI_INCS/gssapi.h"; then
|
|
||||||
AC_DEFINE(HAVE_GSSHEIMDAL, 1, [if you have the Heimdal gssapi libraries])
|
|
||||||
else
|
|
||||||
AC_DEFINE(HAVE_GSSMIT, 1, [if you have the MIT gssapi libraries])
|
|
||||||
fi
|
|
||||||
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
dnl Detect the pkg-config tool, as it may have extra info about the
|
|
||||||
dnl openssl installation we can use. I *believe* this is what we are
|
|
||||||
dnl expected to do on really recent Redhat Linux hosts.
|
|
||||||
AC_PATH_PROG( PKGCONFIG, pkg-config, no, $PATH:/usr/bin:/usr/local/bin)
|
|
||||||
if test "$PKGCONFIG" != "no" ; then
|
|
||||||
AC_MSG_CHECKING([for OpenSSL options using pkg-config])
|
|
||||||
|
|
||||||
$PKGCONFIG --exists openssl
|
|
||||||
SSL_EXISTS=$?
|
|
||||||
|
|
||||||
if test "$SSL_EXISTS" -eq "0"; then
|
|
||||||
SSL_LIBS=`$PKGCONFIG --libs-only-l openssl 2>/dev/null`
|
|
||||||
SSL_LDFLAGS=`$PKGCONFIG --libs-only-L openssl 2>/dev/null`
|
|
||||||
SSL_CPPFLAGS=`$PKGCONFIG --cflags-only-I openssl 2>/dev/null`
|
|
||||||
|
|
||||||
LIBS="$LIBS $SSL_LIBS"
|
|
||||||
CPPFLAGS="$CPPFLAGS $SSL_CPPFLAGS"
|
|
||||||
LDFLAGS="$LDFLAGS $SSL_LDFLAGS"
|
|
||||||
|
|
||||||
AC_MSG_RESULT([yes])
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT([no])
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check for the presence of SSL libraries and headers
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
dnl Default to compiler & linker defaults for SSL files & libraries.
|
|
||||||
OPT_SSL=off
|
|
||||||
dnl Default to no CA bundle
|
|
||||||
ca="no"
|
|
||||||
AC_ARG_WITH(ssl,dnl
|
|
||||||
AC_HELP_STRING([--with-ssl=PATH],[where to look for SSL, PATH points to the SSL installation (default: /usr/local/ssl)])
|
|
||||||
AC_HELP_STRING([--without-ssl], [disable SSL]),
|
|
||||||
OPT_SSL=$withval)
|
|
||||||
|
|
||||||
if test X"$OPT_SSL" = Xno
|
|
||||||
then
|
|
||||||
AC_MSG_WARN(SSL/https support disabled)
|
|
||||||
else
|
|
||||||
|
|
||||||
dnl Check for and handle argument to --with-ssl.
|
|
||||||
|
|
||||||
dnl save the pre-ssl check flags for a while
|
|
||||||
CLEANLDFLAGS="$LDFLAGS"
|
|
||||||
CLEANCPPFLAGS="$CPPFLAGS"
|
|
||||||
|
|
||||||
case "$OPT_SSL" in
|
|
||||||
yes)
|
|
||||||
EXTRA_SSL=/usr/local/ssl ;;
|
|
||||||
off)
|
|
||||||
EXTRA_SSL= ;;
|
|
||||||
*)
|
|
||||||
dnl check the given spot right away!
|
|
||||||
EXTRA_SSL=$OPT_SSL
|
|
||||||
LDFLAGS="$LDFLAGS -L$EXTRA_SSL/lib"
|
|
||||||
CPPFLAGS="$CPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
AC_CHECK_LIB(crypto, CRYPTO_lock,[
|
|
||||||
HAVECRYPTO="yes"
|
|
||||||
],[
|
|
||||||
OLDLDFLAGS="$LDFLAGS"
|
|
||||||
OLDCPPFLAGS="$CPPFLAGS"
|
|
||||||
LDFLAGS="$CLEANLDFLAGS -L$EXTRA_SSL/lib"
|
|
||||||
CPPFLAGS="$CLEANCPPFLAGS -I$EXTRA_SSL/include/openssl -I$EXTRA_SSL/include"
|
|
||||||
AC_CHECK_LIB(crypto, CRYPTO_add_lock,[
|
|
||||||
HAVECRYPTO="yes" ], [
|
|
||||||
LDFLAGS="$OLDLDFLAGS"
|
|
||||||
CPPFLAGS="$OLDCPPFLAGS"
|
|
||||||
])
|
|
||||||
])
|
|
||||||
|
|
||||||
|
|
||||||
if test "$HAVECRYPTO" = "yes"; then
|
|
||||||
dnl This is only reasonable to do if crypto actually is there: check for
|
|
||||||
dnl SSL libs NOTE: it is important to do this AFTER the crypto lib
|
|
||||||
|
|
||||||
AC_CHECK_LIB(crypto, CRYPTO_add_lock)
|
|
||||||
AC_CHECK_LIB(ssl, SSL_connect)
|
|
||||||
|
|
||||||
if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
|
|
||||||
dnl we didn't find the SSL lib, try the RSAglue/rsaref stuff
|
|
||||||
AC_MSG_CHECKING(for ssl with RSAglue/rsaref libs in use);
|
|
||||||
OLIBS=$LIBS
|
|
||||||
LIBS="$LIBS -lRSAglue -lrsaref"
|
|
||||||
AC_CHECK_LIB(ssl, SSL_connect)
|
|
||||||
if test "$ac_cv_lib_ssl_SSL_connect" != yes; then
|
|
||||||
dnl still no SSL_connect
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
LIBS=$OLIBS
|
|
||||||
else
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
dnl Check for SSLeay headers
|
|
||||||
AC_CHECK_HEADERS(openssl/x509.h openssl/rsa.h openssl/crypto.h \
|
|
||||||
openssl/pem.h openssl/ssl.h openssl/err.h,
|
|
||||||
OPENSSL_ENABLED=1)
|
|
||||||
|
|
||||||
if test $ac_cv_header_openssl_x509_h = no; then
|
|
||||||
AC_CHECK_HEADERS(x509.h rsa.h crypto.h pem.h ssl.h err.h,
|
|
||||||
OPENSSL_ENABLED=1)
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl If the ENGINE library seems to be around, check for the OpenSSL engine
|
|
||||||
dnl header, it is kind of "separated" from the main SSL check
|
|
||||||
AC_CHECK_FUNC(ENGINE_init, [ AC_CHECK_HEADERS(openssl/engine.h) ])
|
|
||||||
|
|
||||||
AC_SUBST(OPENSSL_ENABLED)
|
|
||||||
|
|
||||||
dnl these can only exist if openssl exists
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS( RAND_status \
|
|
||||||
RAND_screen \
|
|
||||||
RAND_egd \
|
|
||||||
CRYPTO_cleanup_all_ex_data )
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test X"$OPT_SSL" != Xoff &&
|
|
||||||
test "$OPENSSL_ENABLED" != "1"; then
|
|
||||||
AC_MSG_ERROR([OpenSSL libs and/or directories were not found where specified!])
|
|
||||||
fi
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl AM_CONDITIONAL(CABUNDLE, test x$ca != xno)
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Check for the presence of ZLIB libraries and headers
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
dnl Check for & handle argument to --with-zlib.
|
|
||||||
|
|
||||||
_cppflags=$CPPFLAGS
|
|
||||||
_ldflags=$LDFLAGS
|
|
||||||
OPT_ZLIB="/usr/local"
|
|
||||||
AC_ARG_WITH(zlib,
|
|
||||||
AC_HELP_STRING([--with-zlib=PATH],[search for zlib in PATH])
|
|
||||||
AC_HELP_STRING([--without-zlib],[disable use of zlib]),
|
|
||||||
[OPT_ZLIB="$withval"])
|
|
||||||
|
|
||||||
case "$OPT_ZLIB" in
|
|
||||||
no)
|
|
||||||
AC_MSG_WARN([zlib disabled]) ;;
|
|
||||||
*)
|
|
||||||
dnl check for the lib first without setting any new path, since many
|
|
||||||
dnl people have it in the default path
|
|
||||||
|
|
||||||
AC_CHECK_LIB(z, inflateEnd, ,
|
|
||||||
[if test -d "$OPT_ZLIB"; then
|
|
||||||
CPPFLAGS="$CPPFLAGS -I$OPT_ZLIB/include"
|
|
||||||
LDFLAGS="$LDFLAGS -L$OPT_ZLIB/lib"
|
|
||||||
fi])
|
|
||||||
|
|
||||||
AC_CHECK_HEADER(zlib.h,[
|
|
||||||
AC_CHECK_LIB(z, gzread,
|
|
||||||
[HAVE_LIBZ="1"
|
|
||||||
AC_SUBST(HAVE_LIBZ)
|
|
||||||
LIBS="$LIBS -lz"
|
|
||||||
AC_DEFINE(HAVE_ZLIB_H, 1, [if you have the zlib.h header file])
|
|
||||||
AC_DEFINE(HAVE_LIBZ, 1, [If zlib is available])],
|
|
||||||
[ CPPFLAGS=$_cppflags
|
|
||||||
LDFLAGS=$_ldflags])],
|
|
||||||
[ CPPFLAGS=$_cppflags
|
|
||||||
LDFLAGS=$_ldflags]
|
|
||||||
)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
dnl set variable for use in automakefile(s)
|
|
||||||
dnl AM_CONDITIONAL(HAVE_LIBZ, test x"$HAVE_LIBZ" = x1)
|
|
||||||
|
|
||||||
dnl Default is to try the thread-safe versions of a few functions
|
|
||||||
OPT_THREAD=on
|
|
||||||
|
|
||||||
dnl detect AIX 4.3 or later
|
|
||||||
dnl see full docs on this reasoning in the lib/hostip.c source file
|
|
||||||
AC_MSG_CHECKING([AIX 4.3 or later])
|
|
||||||
AC_PREPROC_IFELSE([
|
|
||||||
#if defined(_AIX) && defined(_AIX43)
|
|
||||||
printf("just fine");
|
|
||||||
#else
|
|
||||||
#error "this is not AIX 4.3 or later"
|
|
||||||
#endif
|
|
||||||
],
|
|
||||||
[ AC_MSG_RESULT([yes])
|
|
||||||
OPT_THREAD=off ],
|
|
||||||
[ AC_MSG_RESULT([no]) ]
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(thread,dnl
|
|
||||||
AC_HELP_STRING([--disable-thread],[don't look for thread-safe functions])
|
|
||||||
AC_HELP_STRING([--enable-thread],[look for thread-safe functions]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
OPT_THREAD=off
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
if test X"$OPT_THREAD" = Xoff
|
|
||||||
then
|
|
||||||
AC_DEFINE(DISABLED_THREADSAFE, 1, \
|
|
||||||
Set to explicitly specify we don't want to use thread-safe functions)
|
|
||||||
else
|
|
||||||
|
|
||||||
dnl dig around for gethostbyname_r()
|
|
||||||
CURL_CHECK_GETHOSTBYNAME_R()
|
|
||||||
|
|
||||||
dnl dig around for gethostbyaddr_r()
|
|
||||||
CURL_CHECK_GETHOSTBYADDR_R()
|
|
||||||
|
|
||||||
dnl poke around for inet_ntoa_r()
|
|
||||||
CURL_CHECK_INET_NTOA_R()
|
|
||||||
|
|
||||||
dnl is there a localtime_r()
|
|
||||||
CURL_CHECK_LOCALTIME_R()
|
|
||||||
|
|
||||||
AC_CHECK_FUNCS( gmtime_r )
|
|
||||||
|
|
||||||
fi
|
|
||||||
|
|
||||||
dnl **********************************************************************
|
|
||||||
dnl Back to "normal" configuring
|
|
||||||
dnl **********************************************************************
|
|
||||||
|
|
||||||
dnl Checks for header files.
|
|
||||||
AC_HEADER_STDC
|
|
||||||
|
|
||||||
dnl First check for the very most basic headers. Then we can use these
|
|
||||||
dnl ones as default-headers when checking for the rest!
|
|
||||||
AC_CHECK_HEADERS(
|
|
||||||
sys/types.h \
|
|
||||||
sys/time.h \
|
|
||||||
sys/select.h \
|
|
||||||
sys/socket.h \
|
|
||||||
unistd.h \
|
|
||||||
malloc.h \
|
|
||||||
stdlib.h \
|
|
||||||
arpa/inet.h \
|
|
||||||
net/if.h \
|
|
||||||
netinet/in.h \
|
|
||||||
netdb.h \
|
|
||||||
sys/sockio.h \
|
|
||||||
sys/stat.h \
|
|
||||||
sys/param.h \
|
|
||||||
termios.h \
|
|
||||||
termio.h \
|
|
||||||
sgtty.h \
|
|
||||||
fcntl.h \
|
|
||||||
dlfcn.h \
|
|
||||||
alloca.h \
|
|
||||||
winsock.h \
|
|
||||||
time.h \
|
|
||||||
io.h \
|
|
||||||
pwd.h \
|
|
||||||
utime.h \
|
|
||||||
sys/utime.h \
|
|
||||||
sys/poll.h \
|
|
||||||
setjmp.h,
|
|
||||||
dnl to do if not found
|
|
||||||
[],
|
|
||||||
dnl to do if found
|
|
||||||
[],
|
|
||||||
dnl default includes
|
|
||||||
[
|
|
||||||
#ifdef HAVE_SYS_TYPES_H
|
|
||||||
#include <sys/types.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
|
||||||
#include <sys/time.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
|
||||||
#include <sys/select.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_SYS_SOCKET_H
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#endif
|
|
||||||
]
|
|
||||||
)
|
|
||||||
|
|
||||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
||||||
AC_C_CONST
|
|
||||||
AC_TYPE_SIZE_T
|
|
||||||
AC_HEADER_TIME
|
|
||||||
|
|
||||||
AC_CHECK_SIZEOF(off_t)
|
|
||||||
|
|
||||||
AC_CHECK_TYPE(long long,
|
|
||||||
[AC_DEFINE(HAVE_LONGLONG, 1, [if your compiler supports 'long long'])])
|
|
||||||
|
|
||||||
# check for ssize_t
|
|
||||||
AC_CHECK_TYPE(ssize_t, ,
|
|
||||||
AC_DEFINE(ssize_t, int, [the signed version of size_t]))
|
|
||||||
|
|
||||||
TYPE_SOCKLEN_T
|
|
||||||
TYPE_IN_ADDR_T
|
|
||||||
|
|
||||||
AC_FUNC_SELECT_ARGTYPES
|
|
||||||
|
|
||||||
dnl Checks for library functions.
|
|
||||||
dnl AC_PROG_GCC_TRADITIONAL
|
|
||||||
AC_TYPE_SIGNAL
|
|
||||||
dnl AC_FUNC_VPRINTF
|
|
||||||
AC_CHECK_FUNCS( socket \
|
|
||||||
select \
|
|
||||||
strdup \
|
|
||||||
strstr \
|
|
||||||
strtok_r \
|
|
||||||
strftime \
|
|
||||||
uname \
|
|
||||||
strcasecmp \
|
|
||||||
stricmp \
|
|
||||||
strcmpi \
|
|
||||||
gethostbyaddr \
|
|
||||||
gettimeofday \
|
|
||||||
inet_addr \
|
|
||||||
inet_ntoa \
|
|
||||||
inet_pton \
|
|
||||||
tcsetattr \
|
|
||||||
tcgetattr \
|
|
||||||
perror \
|
|
||||||
closesocket \
|
|
||||||
siginterrupt \
|
|
||||||
sigaction \
|
|
||||||
signal \
|
|
||||||
getpass_r \
|
|
||||||
strlcat \
|
|
||||||
getpwuid \
|
|
||||||
geteuid \
|
|
||||||
dlopen \
|
|
||||||
utime \
|
|
||||||
sigsetjmp \
|
|
||||||
poll,
|
|
||||||
dnl if found
|
|
||||||
[],
|
|
||||||
dnl if not found, $ac_func is the name we check for
|
|
||||||
func="$ac_func"
|
|
||||||
AC_MSG_CHECKING([deeper for $func])
|
|
||||||
AC_TRY_LINK( [],
|
|
||||||
[ $func ();],
|
|
||||||
AC_MSG_RESULT(yes!)
|
|
||||||
eval "ac_cv_func_$func=yes"
|
|
||||||
def=`echo "HAVE_$func" | tr 'a-z' 'A-Z'`
|
|
||||||
AC_DEFINE_UNQUOTED($def, 1, [If you have $func]),
|
|
||||||
AC_MSG_RESULT(but still no)
|
|
||||||
)
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
dnl sigsetjmp() might be a macro and no function so if it isn't found already
|
|
||||||
dnl we make an extra check here!
|
|
||||||
if test "$ac_cv_func_sigsetjmp" != "yes"; then
|
|
||||||
AC_MSG_CHECKING([for sigsetjmp defined as macro])
|
|
||||||
AC_TRY_LINK( [#include <setjmp.h>],
|
|
||||||
[sigjmp_buf jmpenv;
|
|
||||||
sigsetjmp(jmpenv, 1);],
|
|
||||||
AC_MSG_RESULT(yes)
|
|
||||||
AC_DEFINE(HAVE_SIGSETJMP, 1, [If you have sigsetjmp]),
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
AC_PROG_YACC
|
|
||||||
|
|
||||||
dnl AC_PATH_PROG( RANLIB, ranlib, /usr/bin/ranlib,
|
|
||||||
dnl $PATH:/usr/bin/:/usr/local/bin )
|
|
||||||
dnl AC_SUBST(RANLIB)
|
|
||||||
|
|
||||||
dnl ************************************************************
|
|
||||||
dnl lame option to switch on debug options
|
|
||||||
dnl
|
|
||||||
AC_MSG_CHECKING([whether to enable debug options])
|
|
||||||
AC_ARG_ENABLE(curldebug,
|
|
||||||
AC_HELP_STRING([--enable-curldebug],[Enable pedantic debug options])
|
|
||||||
AC_HELP_STRING([--disable-curldebug],[Disable debug options]),
|
|
||||||
[ case "$enableval" in
|
|
||||||
no)
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
;;
|
|
||||||
*) AC_MSG_RESULT(yes)
|
|
||||||
|
|
||||||
CPPFLAGS="$CPPFLAGS -DCURLDEBUG"
|
|
||||||
CFLAGS="$CFLAGS -g"
|
|
||||||
if test "$GCC" = "yes"; then
|
|
||||||
CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs"
|
|
||||||
fi
|
|
||||||
dnl strip off optimizer flags
|
|
||||||
NEWFLAGS=""
|
|
||||||
for flag in $CFLAGS; do
|
|
||||||
case "$flag" in
|
|
||||||
-O*)
|
|
||||||
dnl echo "cut off $flag"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
NEWFLAGS="$NEWFLAGS $flag"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
CFLAGS=$NEWFLAGS
|
|
||||||
;;
|
|
||||||
esac ],
|
|
||||||
AC_MSG_RESULT(no)
|
|
||||||
)
|
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile mycurl-config])
|
|
||||||
AC_OUTPUT
|
|
|
@ -1639,7 +1639,7 @@ servertobase64 (const char* name)
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#ifdef IRCU
|
||||||
char*
|
char*
|
||||||
base64toserver (const char* num)
|
base64toserver (const char* num)
|
||||||
{
|
{
|
||||||
|
@ -1698,5 +1698,5 @@ base64tonick (const char* num)
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1,41 +0,0 @@
|
||||||
include ../Makefile.inc
|
|
||||||
|
|
||||||
INCLUDES = -I.. -I../adns -I../pcre
|
|
||||||
KEEPERCFLAGS = $(CFLAGS)
|
|
||||||
|
|
||||||
SRCS = kp_cache.c kp_dir.c kp_enum.c kp_get.c kp_iface.c \
|
|
||||||
kp_recur.c kp_set.c kp_sort.c kp_util.c
|
|
||||||
OBJS = ${SRCS:.c=.o}
|
|
||||||
|
|
||||||
all: $(OBJS)
|
|
||||||
|
|
||||||
.c.o:
|
|
||||||
$(CC) $(KEEPERCFLAGS) $(INCLUDES) -c $<
|
|
||||||
|
|
||||||
clean:
|
|
||||||
$(RM) *.o *.lo *.so *.a
|
|
||||||
|
|
||||||
distclean:
|
|
||||||
$(RM) *.o *.lo *.so *.a
|
|
||||||
|
|
||||||
depend:
|
|
||||||
$(CC) -MM $(INCLUDES) $(KEEPERCFLAGS) $(SRCS) > .depend
|
|
||||||
|
|
||||||
install:
|
|
||||||
|
|
||||||
DISTFILES =Makefile *.c *.h
|
|
||||||
|
|
||||||
dist:
|
|
||||||
@for file in $(DISTFILES); do \
|
|
||||||
cp -pr $$file $(DISTDIR)/$$file; \
|
|
||||||
done
|
|
||||||
|
|
||||||
kp_cache.o: kp_cache.c kp_util.h keeper.h ../config.h
|
|
||||||
kp_dir.o: kp_dir.c kp_util.h keeper.h ../config.h
|
|
||||||
kp_enum.o: kp_enum.c kp_util.h keeper.h ../config.h
|
|
||||||
kp_get.o: kp_get.c kp_util.h keeper.h ../config.h
|
|
||||||
kp_iface.o: kp_iface.c kp_util.h keeper.h ../config.h
|
|
||||||
kp_recur.o: kp_recur.c kp_util.h keeper.h ../config.h
|
|
||||||
kp_set.o: kp_set.c kp_util.h keeper.h ../config.h
|
|
||||||
kp_sort.o: kp_sort.c keeper.h
|
|
||||||
kp_util.o: kp_util.c kp_util.h keeper.h ../config.h
|
|
5
src/keeper/Makefile.am
Normal file
5
src/keeper/Makefile.am
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
noinst_LTLIBRARIES = libkeeper.la
|
||||||
|
libkeeper_la_SOURCES = keeper.h kp_cache.c kp_dir.c kp_enum.c kp_get.c \
|
||||||
|
kp_iface.c kp_recur.c kp_set.c kp_sort.c kp_util.c \
|
||||||
|
kp_util.h
|
||||||
|
libkeeper_la_CFLAGS = -I../pcre -I../adns -I../curl -I../../include -I..
|
729
src/keeper/Makefile.in
Normal file
729
src/keeper/Makefile.in
Normal file
|
@ -0,0 +1,729 @@
|
||||||
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = ../..
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
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_triplet = @host@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ALLOCA = @ALLOCA@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
GTK_CONFIG = @GTK_CONFIG@
|
||||||
|
INCLTDL = @INCLTDL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBLTDL = @LIBLTDL@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
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@
|
||||||
|
POW_LIB = @POW_LIB@
|
||||||
|
PROTOCOL = @PROTOCOL@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
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@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_configtool = @build_configtool@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
buildsqlsrv = @buildsqlsrv@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sqlsrvbuild = @sqlsrvbuild@
|
||||||
|
subdirs = @subdirs@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
noinst_LTLIBRARIES = libkeeper.la
|
||||||
|
libkeeper_la_SOURCES = keeper.h kp_cache.c kp_dir.c kp_enum.c kp_get.c \
|
||||||
|
kp_iface.c kp_recur.c kp_set.c kp_sort.c kp_util.c \
|
||||||
|
kp_util.h
|
||||||
|
|
||||||
|
libkeeper_la_CFLAGS = -I../pcre -I../adns -I../curl -I../../include -I..
|
||||||
|
subdir = src/keeper
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
|
||||||
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||||
|
|
||||||
|
libkeeper_la_LDFLAGS =
|
||||||
|
libkeeper_la_LIBADD =
|
||||||
|
am_libkeeper_la_OBJECTS = libkeeper_la-kp_cache.lo \
|
||||||
|
libkeeper_la-kp_dir.lo libkeeper_la-kp_enum.lo \
|
||||||
|
libkeeper_la-kp_get.lo libkeeper_la-kp_iface.lo \
|
||||||
|
libkeeper_la-kp_recur.lo libkeeper_la-kp_set.lo \
|
||||||
|
libkeeper_la-kp_sort.lo libkeeper_la-kp_util.lo
|
||||||
|
libkeeper_la_OBJECTS = $(am_libkeeper_la_OBJECTS)
|
||||||
|
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
|
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
|
||||||
|
am__depfiles_maybe = depfiles
|
||||||
|
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libkeeper_la-kp_cache.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_dir.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_enum.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_get.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_iface.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_recur.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_set.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_sort.Plo \
|
||||||
|
@AMDEP_TRUE@ ./$(DEPDIR)/libkeeper_la-kp_util.Plo
|
||||||
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
CCLD = $(CC)
|
||||||
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
DIST_SOURCES = $(libkeeper_la_SOURCES)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||||
|
SOURCES = $(libkeeper_la_SOURCES)
|
||||||
|
|
||||||
|
all: all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c .lo .o .obj
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --gnu src/keeper/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
clean-noinstLTLIBRARIES:
|
||||||
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||||
|
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||||
|
test "$$dir" = "$$p" && dir=.; \
|
||||||
|
echo "rm -f \"$${dir}/so_locations\""; \
|
||||||
|
rm -f "$${dir}/so_locations"; \
|
||||||
|
done
|
||||||
|
libkeeper.la: $(libkeeper_la_OBJECTS) $(libkeeper_la_DEPENDENCIES)
|
||||||
|
$(LINK) $(libkeeper_la_LDFLAGS) $(libkeeper_la_OBJECTS) $(libkeeper_la_LIBADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_cache.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_dir.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_enum.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_get.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_iface.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_recur.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_set.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_sort.Plo@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libkeeper_la-kp_util.Plo@am__quote@
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
.c.obj:
|
||||||
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||||
|
|
||||||
|
.c.lo:
|
||||||
|
@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
libkeeper_la-kp_cache.o: kp_cache.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_cache.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_cache.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_cache.o `test -f 'kp_cache.c' || echo '$(srcdir)/'`kp_cache.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_cache.Tpo" "$(DEPDIR)/libkeeper_la-kp_cache.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_cache.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_cache.c' object='libkeeper_la-kp_cache.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_cache.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_cache.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_cache.o `test -f 'kp_cache.c' || echo '$(srcdir)/'`kp_cache.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_cache.obj: kp_cache.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_cache.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_cache.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_cache.obj `if test -f 'kp_cache.c'; then $(CYGPATH_W) 'kp_cache.c'; else $(CYGPATH_W) '$(srcdir)/kp_cache.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_cache.Tpo" "$(DEPDIR)/libkeeper_la-kp_cache.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_cache.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_cache.c' object='libkeeper_la-kp_cache.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_cache.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_cache.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_cache.obj `if test -f 'kp_cache.c'; then $(CYGPATH_W) 'kp_cache.c'; else $(CYGPATH_W) '$(srcdir)/kp_cache.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_cache.lo: kp_cache.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_cache.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_cache.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_cache.lo `test -f 'kp_cache.c' || echo '$(srcdir)/'`kp_cache.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_cache.Tpo" "$(DEPDIR)/libkeeper_la-kp_cache.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_cache.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_cache.c' object='libkeeper_la-kp_cache.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_cache.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_cache.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_cache.lo `test -f 'kp_cache.c' || echo '$(srcdir)/'`kp_cache.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_dir.o: kp_dir.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_dir.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_dir.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_dir.o `test -f 'kp_dir.c' || echo '$(srcdir)/'`kp_dir.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_dir.Tpo" "$(DEPDIR)/libkeeper_la-kp_dir.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_dir.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_dir.c' object='libkeeper_la-kp_dir.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_dir.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_dir.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_dir.o `test -f 'kp_dir.c' || echo '$(srcdir)/'`kp_dir.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_dir.obj: kp_dir.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_dir.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_dir.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_dir.obj `if test -f 'kp_dir.c'; then $(CYGPATH_W) 'kp_dir.c'; else $(CYGPATH_W) '$(srcdir)/kp_dir.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_dir.Tpo" "$(DEPDIR)/libkeeper_la-kp_dir.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_dir.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_dir.c' object='libkeeper_la-kp_dir.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_dir.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_dir.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_dir.obj `if test -f 'kp_dir.c'; then $(CYGPATH_W) 'kp_dir.c'; else $(CYGPATH_W) '$(srcdir)/kp_dir.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_dir.lo: kp_dir.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_dir.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_dir.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_dir.lo `test -f 'kp_dir.c' || echo '$(srcdir)/'`kp_dir.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_dir.Tpo" "$(DEPDIR)/libkeeper_la-kp_dir.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_dir.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_dir.c' object='libkeeper_la-kp_dir.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_dir.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_dir.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_dir.lo `test -f 'kp_dir.c' || echo '$(srcdir)/'`kp_dir.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_enum.o: kp_enum.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_enum.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_enum.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_enum.o `test -f 'kp_enum.c' || echo '$(srcdir)/'`kp_enum.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_enum.Tpo" "$(DEPDIR)/libkeeper_la-kp_enum.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_enum.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_enum.c' object='libkeeper_la-kp_enum.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_enum.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_enum.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_enum.o `test -f 'kp_enum.c' || echo '$(srcdir)/'`kp_enum.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_enum.obj: kp_enum.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_enum.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_enum.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_enum.obj `if test -f 'kp_enum.c'; then $(CYGPATH_W) 'kp_enum.c'; else $(CYGPATH_W) '$(srcdir)/kp_enum.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_enum.Tpo" "$(DEPDIR)/libkeeper_la-kp_enum.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_enum.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_enum.c' object='libkeeper_la-kp_enum.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_enum.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_enum.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_enum.obj `if test -f 'kp_enum.c'; then $(CYGPATH_W) 'kp_enum.c'; else $(CYGPATH_W) '$(srcdir)/kp_enum.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_enum.lo: kp_enum.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_enum.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_enum.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_enum.lo `test -f 'kp_enum.c' || echo '$(srcdir)/'`kp_enum.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_enum.Tpo" "$(DEPDIR)/libkeeper_la-kp_enum.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_enum.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_enum.c' object='libkeeper_la-kp_enum.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_enum.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_enum.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_enum.lo `test -f 'kp_enum.c' || echo '$(srcdir)/'`kp_enum.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_get.o: kp_get.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_get.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_get.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_get.o `test -f 'kp_get.c' || echo '$(srcdir)/'`kp_get.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_get.Tpo" "$(DEPDIR)/libkeeper_la-kp_get.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_get.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_get.c' object='libkeeper_la-kp_get.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_get.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_get.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_get.o `test -f 'kp_get.c' || echo '$(srcdir)/'`kp_get.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_get.obj: kp_get.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_get.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_get.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_get.obj `if test -f 'kp_get.c'; then $(CYGPATH_W) 'kp_get.c'; else $(CYGPATH_W) '$(srcdir)/kp_get.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_get.Tpo" "$(DEPDIR)/libkeeper_la-kp_get.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_get.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_get.c' object='libkeeper_la-kp_get.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_get.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_get.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_get.obj `if test -f 'kp_get.c'; then $(CYGPATH_W) 'kp_get.c'; else $(CYGPATH_W) '$(srcdir)/kp_get.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_get.lo: kp_get.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_get.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_get.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_get.lo `test -f 'kp_get.c' || echo '$(srcdir)/'`kp_get.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_get.Tpo" "$(DEPDIR)/libkeeper_la-kp_get.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_get.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_get.c' object='libkeeper_la-kp_get.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_get.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_get.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_get.lo `test -f 'kp_get.c' || echo '$(srcdir)/'`kp_get.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_iface.o: kp_iface.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_iface.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_iface.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_iface.o `test -f 'kp_iface.c' || echo '$(srcdir)/'`kp_iface.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_iface.Tpo" "$(DEPDIR)/libkeeper_la-kp_iface.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_iface.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_iface.c' object='libkeeper_la-kp_iface.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_iface.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_iface.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_iface.o `test -f 'kp_iface.c' || echo '$(srcdir)/'`kp_iface.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_iface.obj: kp_iface.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_iface.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_iface.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_iface.obj `if test -f 'kp_iface.c'; then $(CYGPATH_W) 'kp_iface.c'; else $(CYGPATH_W) '$(srcdir)/kp_iface.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_iface.Tpo" "$(DEPDIR)/libkeeper_la-kp_iface.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_iface.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_iface.c' object='libkeeper_la-kp_iface.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_iface.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_iface.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_iface.obj `if test -f 'kp_iface.c'; then $(CYGPATH_W) 'kp_iface.c'; else $(CYGPATH_W) '$(srcdir)/kp_iface.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_iface.lo: kp_iface.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_iface.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_iface.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_iface.lo `test -f 'kp_iface.c' || echo '$(srcdir)/'`kp_iface.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_iface.Tpo" "$(DEPDIR)/libkeeper_la-kp_iface.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_iface.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_iface.c' object='libkeeper_la-kp_iface.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_iface.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_iface.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_iface.lo `test -f 'kp_iface.c' || echo '$(srcdir)/'`kp_iface.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_recur.o: kp_recur.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_recur.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_recur.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_recur.o `test -f 'kp_recur.c' || echo '$(srcdir)/'`kp_recur.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_recur.Tpo" "$(DEPDIR)/libkeeper_la-kp_recur.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_recur.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_recur.c' object='libkeeper_la-kp_recur.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_recur.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_recur.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_recur.o `test -f 'kp_recur.c' || echo '$(srcdir)/'`kp_recur.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_recur.obj: kp_recur.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_recur.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_recur.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_recur.obj `if test -f 'kp_recur.c'; then $(CYGPATH_W) 'kp_recur.c'; else $(CYGPATH_W) '$(srcdir)/kp_recur.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_recur.Tpo" "$(DEPDIR)/libkeeper_la-kp_recur.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_recur.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_recur.c' object='libkeeper_la-kp_recur.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_recur.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_recur.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_recur.obj `if test -f 'kp_recur.c'; then $(CYGPATH_W) 'kp_recur.c'; else $(CYGPATH_W) '$(srcdir)/kp_recur.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_recur.lo: kp_recur.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_recur.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_recur.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_recur.lo `test -f 'kp_recur.c' || echo '$(srcdir)/'`kp_recur.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_recur.Tpo" "$(DEPDIR)/libkeeper_la-kp_recur.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_recur.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_recur.c' object='libkeeper_la-kp_recur.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_recur.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_recur.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_recur.lo `test -f 'kp_recur.c' || echo '$(srcdir)/'`kp_recur.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_set.o: kp_set.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_set.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_set.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_set.o `test -f 'kp_set.c' || echo '$(srcdir)/'`kp_set.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_set.Tpo" "$(DEPDIR)/libkeeper_la-kp_set.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_set.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_set.c' object='libkeeper_la-kp_set.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_set.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_set.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_set.o `test -f 'kp_set.c' || echo '$(srcdir)/'`kp_set.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_set.obj: kp_set.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_set.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_set.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_set.obj `if test -f 'kp_set.c'; then $(CYGPATH_W) 'kp_set.c'; else $(CYGPATH_W) '$(srcdir)/kp_set.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_set.Tpo" "$(DEPDIR)/libkeeper_la-kp_set.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_set.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_set.c' object='libkeeper_la-kp_set.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_set.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_set.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_set.obj `if test -f 'kp_set.c'; then $(CYGPATH_W) 'kp_set.c'; else $(CYGPATH_W) '$(srcdir)/kp_set.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_set.lo: kp_set.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_set.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_set.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_set.lo `test -f 'kp_set.c' || echo '$(srcdir)/'`kp_set.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_set.Tpo" "$(DEPDIR)/libkeeper_la-kp_set.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_set.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_set.c' object='libkeeper_la-kp_set.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_set.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_set.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_set.lo `test -f 'kp_set.c' || echo '$(srcdir)/'`kp_set.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_sort.o: kp_sort.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_sort.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_sort.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_sort.o `test -f 'kp_sort.c' || echo '$(srcdir)/'`kp_sort.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_sort.Tpo" "$(DEPDIR)/libkeeper_la-kp_sort.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_sort.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_sort.c' object='libkeeper_la-kp_sort.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_sort.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_sort.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_sort.o `test -f 'kp_sort.c' || echo '$(srcdir)/'`kp_sort.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_sort.obj: kp_sort.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_sort.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_sort.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_sort.obj `if test -f 'kp_sort.c'; then $(CYGPATH_W) 'kp_sort.c'; else $(CYGPATH_W) '$(srcdir)/kp_sort.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_sort.Tpo" "$(DEPDIR)/libkeeper_la-kp_sort.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_sort.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_sort.c' object='libkeeper_la-kp_sort.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_sort.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_sort.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_sort.obj `if test -f 'kp_sort.c'; then $(CYGPATH_W) 'kp_sort.c'; else $(CYGPATH_W) '$(srcdir)/kp_sort.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_sort.lo: kp_sort.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_sort.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_sort.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_sort.lo `test -f 'kp_sort.c' || echo '$(srcdir)/'`kp_sort.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_sort.Tpo" "$(DEPDIR)/libkeeper_la-kp_sort.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_sort.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_sort.c' object='libkeeper_la-kp_sort.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_sort.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_sort.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_sort.lo `test -f 'kp_sort.c' || echo '$(srcdir)/'`kp_sort.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_util.o: kp_util.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_util.o -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_util.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_util.o `test -f 'kp_util.c' || echo '$(srcdir)/'`kp_util.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_util.Tpo" "$(DEPDIR)/libkeeper_la-kp_util.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_util.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_util.c' object='libkeeper_la-kp_util.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_util.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_util.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_util.o `test -f 'kp_util.c' || echo '$(srcdir)/'`kp_util.c
|
||||||
|
|
||||||
|
libkeeper_la-kp_util.obj: kp_util.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_util.obj -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_util.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_util.obj `if test -f 'kp_util.c'; then $(CYGPATH_W) 'kp_util.c'; else $(CYGPATH_W) '$(srcdir)/kp_util.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_util.Tpo" "$(DEPDIR)/libkeeper_la-kp_util.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_util.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_util.c' object='libkeeper_la-kp_util.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_util.Po' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_util.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_util.obj `if test -f 'kp_util.c'; then $(CYGPATH_W) 'kp_util.c'; else $(CYGPATH_W) '$(srcdir)/kp_util.c'; fi`
|
||||||
|
|
||||||
|
libkeeper_la-kp_util.lo: kp_util.c
|
||||||
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -MT libkeeper_la-kp_util.lo -MD -MP -MF "$(DEPDIR)/libkeeper_la-kp_util.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libkeeper_la-kp_util.lo `test -f 'kp_util.c' || echo '$(srcdir)/'`kp_util.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libkeeper_la-kp_util.Tpo" "$(DEPDIR)/libkeeper_la-kp_util.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libkeeper_la-kp_util.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='kp_util.c' object='libkeeper_la-kp_util.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libkeeper_la-kp_util.Plo' tmpdepfile='$(DEPDIR)/libkeeper_la-kp_util.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libkeeper_la_CFLAGS) $(CFLAGS) -c -o libkeeper_la-kp_util.lo `test -f 'kp_util.c' || echo '$(srcdir)/'`kp_util.c
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
ETAGS = etags
|
||||||
|
ETAGSFLAGS =
|
||||||
|
|
||||||
|
CTAGS = ctags
|
||||||
|
CTAGSFLAGS =
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: $(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 "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_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 tags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@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"; \
|
||||||
|
$(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 $(LTLIBRARIES)
|
||||||
|
|
||||||
|
installdirs:
|
||||||
|
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 $(CONFIG_CLEAN_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
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||||
|
mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||||
|
clean-libtool clean-noinstLTLIBRARIES ctags distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am 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 mostlyclean-libtool pdf \
|
||||||
|
pdf-am ps ps-am tags uninstall uninstall-am 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:
|
515
src/libltdl/COPYING.LIB
Normal file
515
src/libltdl/COPYING.LIB
Normal file
|
@ -0,0 +1,515 @@
|
||||||
|
|
||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 2.1, February 1999
|
||||||
|
|
||||||
|
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
|
||||||
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
[This is the first released version of the Lesser GPL. It also counts
|
||||||
|
as the successor of the GNU Library Public License, version 2, hence
|
||||||
|
the version number 2.1.]
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
Licenses are intended to guarantee your freedom to share and change
|
||||||
|
free software--to make sure the software is free for all its users.
|
||||||
|
|
||||||
|
This license, the Lesser General Public License, applies to some
|
||||||
|
specially designated software packages--typically libraries--of the
|
||||||
|
Free Software Foundation and other authors who decide to use it. You
|
||||||
|
can use it too, but we suggest you first think carefully about whether
|
||||||
|
this license or the ordinary General Public License is the better
|
||||||
|
strategy to use in any particular case, based on the explanations
|
||||||
|
below.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom of use,
|
||||||
|
not price. Our General Public Licenses are designed to make sure that
|
||||||
|
you have the freedom to distribute copies of free software (and charge
|
||||||
|
for this service if you wish); that you receive source code or can get
|
||||||
|
it if you want it; that you can change the software and use pieces of
|
||||||
|
it in new free programs; and that you are informed that you can do
|
||||||
|
these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
distributors to deny you these rights or to ask you to surrender these
|
||||||
|
rights. These restrictions translate to certain responsibilities for
|
||||||
|
you if you distribute copies of the library or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of the library, whether gratis
|
||||||
|
or for a fee, you must give the recipients all the rights that we gave
|
||||||
|
you. You must make sure that they, too, receive or can get the source
|
||||||
|
code. If you link other code with the library, you must provide
|
||||||
|
complete object files to the recipients, so that they can relink them
|
||||||
|
with the library after making changes to the library and recompiling
|
||||||
|
it. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
We protect your rights with a two-step method: (1) we copyright the
|
||||||
|
library, and (2) we offer you this license, which gives you legal
|
||||||
|
permission to copy, distribute and/or modify the library.
|
||||||
|
|
||||||
|
To protect each distributor, we want to make it very clear that
|
||||||
|
there is no warranty for the free library. Also, if the library is
|
||||||
|
modified by someone else and passed on, the recipients should know
|
||||||
|
that what they have is not the original version, so that the original
|
||||||
|
author's reputation will not be affected by problems that might be
|
||||||
|
introduced by others.
|
||||||
|
^L
|
||||||
|
Finally, software patents pose a constant threat to the existence of
|
||||||
|
any free program. We wish to make sure that a company cannot
|
||||||
|
effectively restrict the users of a free program by obtaining a
|
||||||
|
restrictive license from a patent holder. Therefore, we insist that
|
||||||
|
any patent license obtained for a version of the library must be
|
||||||
|
consistent with the full freedom of use specified in this license.
|
||||||
|
|
||||||
|
Most GNU software, including some libraries, is covered by the
|
||||||
|
ordinary GNU General Public License. This license, the GNU Lesser
|
||||||
|
General Public License, applies to certain designated libraries, and
|
||||||
|
is quite different from the ordinary General Public License. We use
|
||||||
|
this license for certain libraries in order to permit linking those
|
||||||
|
libraries into non-free programs.
|
||||||
|
|
||||||
|
When a program is linked with a library, whether statically or using
|
||||||
|
a shared library, the combination of the two is legally speaking a
|
||||||
|
combined work, a derivative of the original library. The ordinary
|
||||||
|
General Public License therefore permits such linking only if the
|
||||||
|
entire combination fits its criteria of freedom. The Lesser General
|
||||||
|
Public License permits more lax criteria for linking other code with
|
||||||
|
the library.
|
||||||
|
|
||||||
|
We call this license the "Lesser" General Public License because it
|
||||||
|
does Less to protect the user's freedom than the ordinary General
|
||||||
|
Public License. It also provides other free software developers Less
|
||||||
|
of an advantage over competing non-free programs. These disadvantages
|
||||||
|
are the reason we use the ordinary General Public License for many
|
||||||
|
libraries. However, the Lesser license provides advantages in certain
|
||||||
|
special circumstances.
|
||||||
|
|
||||||
|
For example, on rare occasions, there may be a special need to
|
||||||
|
encourage the widest possible use of a certain library, so that it
|
||||||
|
becomes
|
||||||
|
a de-facto standard. To achieve this, non-free programs must be
|
||||||
|
allowed to use the library. A more frequent case is that a free
|
||||||
|
library does the same job as widely used non-free libraries. In this
|
||||||
|
case, there is little to gain by limiting the free library to free
|
||||||
|
software only, so we use the Lesser General Public License.
|
||||||
|
|
||||||
|
In other cases, permission to use a particular library in non-free
|
||||||
|
programs enables a greater number of people to use a large body of
|
||||||
|
free software. For example, permission to use the GNU C Library in
|
||||||
|
non-free programs enables many more people to use the whole GNU
|
||||||
|
operating system, as well as its variant, the GNU/Linux operating
|
||||||
|
system.
|
||||||
|
|
||||||
|
Although the Lesser General Public License is Less protective of the
|
||||||
|
users' freedom, it does ensure that the user of a program that is
|
||||||
|
linked with the Library has the freedom and the wherewithal to run
|
||||||
|
that program using a modified version of the Library.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow. Pay close attention to the difference between a
|
||||||
|
"work based on the library" and a "work that uses the library". The
|
||||||
|
former contains code derived from the library, whereas the latter must
|
||||||
|
be combined with the library in order to run.
|
||||||
|
^L
|
||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License Agreement applies to any software library or other
|
||||||
|
program which contains a notice placed by the copyright holder or
|
||||||
|
other authorized party saying it may be distributed under the terms of
|
||||||
|
this Lesser General Public License (also called "this License").
|
||||||
|
Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
A "library" means a collection of software functions and/or data
|
||||||
|
prepared so as to be conveniently linked with application programs
|
||||||
|
(which use some of those functions and data) to form executables.
|
||||||
|
|
||||||
|
The "Library", below, refers to any such software library or work
|
||||||
|
which has been distributed under these terms. A "work based on the
|
||||||
|
Library" means either the Library or any derivative work under
|
||||||
|
copyright law: that is to say, a work containing the Library or a
|
||||||
|
portion of it, either verbatim or with modifications and/or translated
|
||||||
|
straightforwardly into another language. (Hereinafter, translation is
|
||||||
|
included without limitation in the term "modification".)
|
||||||
|
|
||||||
|
"Source code" for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For a library, complete source code means
|
||||||
|
all the source code for all modules it contains, plus any associated
|
||||||
|
interface definition files, plus the scripts used to control
|
||||||
|
compilation
|
||||||
|
and installation of the library.
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running a program using the Library is not restricted, and output from
|
||||||
|
such a program is covered only if its contents constitute a work based
|
||||||
|
on the Library (independent of the use of the Library in a tool for
|
||||||
|
writing it). Whether that is true depends on what the Library does
|
||||||
|
and what the program that uses the Library does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Library's
|
||||||
|
complete source code as you receive it, in any medium, provided that
|
||||||
|
you conspicuously and appropriately publish on each copy an
|
||||||
|
appropriate copyright notice and disclaimer of warranty; keep intact
|
||||||
|
all the notices that refer to this License and to the absence of any
|
||||||
|
warranty; and distribute a copy of this License along with the
|
||||||
|
Library.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy,
|
||||||
|
and you may at your option offer warranty protection in exchange for a
|
||||||
|
fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Library or any portion
|
||||||
|
of it, thus forming a work based on the Library, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The modified work must itself be a software library.
|
||||||
|
|
||||||
|
b) You must cause the files modified to carry prominent notices
|
||||||
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
|
c) You must cause the whole of the work to be licensed at no
|
||||||
|
charge to all third parties under the terms of this License.
|
||||||
|
|
||||||
|
d) If a facility in the modified Library refers to a function or a
|
||||||
|
table of data to be supplied by an application program that uses
|
||||||
|
the facility, other than as an argument passed when the facility
|
||||||
|
is invoked, then you must make a good faith effort to ensure that,
|
||||||
|
in the event an application does not supply such function or
|
||||||
|
table, the facility still operates, and performs whatever part of
|
||||||
|
its purpose remains meaningful.
|
||||||
|
|
||||||
|
(For example, a function in a library to compute square roots has
|
||||||
|
a purpose that is entirely well-defined independent of the
|
||||||
|
application. Therefore, Subsection 2d requires that any
|
||||||
|
application-supplied function or table used by this function must
|
||||||
|
be optional: if the application does not supply it, the square
|
||||||
|
root function must still compute square roots.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Library,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Library, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote
|
||||||
|
it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Library.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Library
|
||||||
|
with the Library (or with a work based on the Library) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may opt to apply the terms of the ordinary GNU General Public
|
||||||
|
License instead of this License to a given copy of the Library. To do
|
||||||
|
this, you must alter all the notices that refer to this License, so
|
||||||
|
that they refer to the ordinary GNU General Public License, version 2,
|
||||||
|
instead of to this License. (If a newer version than version 2 of the
|
||||||
|
ordinary GNU General Public License has appeared, then you can specify
|
||||||
|
that version instead if you wish.) Do not make any other change in
|
||||||
|
these notices.
|
||||||
|
^L
|
||||||
|
Once this change is made in a given copy, it is irreversible for
|
||||||
|
that copy, so the ordinary GNU General Public License applies to all
|
||||||
|
subsequent copies and derivative works made from that copy.
|
||||||
|
|
||||||
|
This option is useful when you wish to copy part of the code of
|
||||||
|
the Library into a program that is not a library.
|
||||||
|
|
||||||
|
4. You may copy and distribute the Library (or a portion or
|
||||||
|
derivative of it, under Section 2) in object code or executable form
|
||||||
|
under the terms of Sections 1 and 2 above provided that you accompany
|
||||||
|
it with the complete corresponding machine-readable source code, which
|
||||||
|
must be distributed under the terms of Sections 1 and 2 above on a
|
||||||
|
medium customarily used for software interchange.
|
||||||
|
|
||||||
|
If distribution of object code is made by offering access to copy
|
||||||
|
from a designated place, then offering equivalent access to copy the
|
||||||
|
source code from the same place satisfies the requirement to
|
||||||
|
distribute the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
5. A program that contains no derivative of any portion of the
|
||||||
|
Library, but is designed to work with the Library by being compiled or
|
||||||
|
linked with it, is called a "work that uses the Library". Such a
|
||||||
|
work, in isolation, is not a derivative work of the Library, and
|
||||||
|
therefore falls outside the scope of this License.
|
||||||
|
|
||||||
|
However, linking a "work that uses the Library" with the Library
|
||||||
|
creates an executable that is a derivative of the Library (because it
|
||||||
|
contains portions of the Library), rather than a "work that uses the
|
||||||
|
library". The executable is therefore covered by this License.
|
||||||
|
Section 6 states terms for distribution of such executables.
|
||||||
|
|
||||||
|
When a "work that uses the Library" uses material from a header file
|
||||||
|
that is part of the Library, the object code for the work may be a
|
||||||
|
derivative work of the Library even though the source code is not.
|
||||||
|
Whether this is true is especially significant if the work can be
|
||||||
|
linked without the Library, or if the work is itself a library. The
|
||||||
|
threshold for this to be true is not precisely defined by law.
|
||||||
|
|
||||||
|
If such an object file uses only numerical parameters, data
|
||||||
|
structure layouts and accessors, and small macros and small inline
|
||||||
|
functions (ten lines or less in length), then the use of the object
|
||||||
|
file is unrestricted, regardless of whether it is legally a derivative
|
||||||
|
work. (Executables containing this object code plus portions of the
|
||||||
|
Library will still fall under Section 6.)
|
||||||
|
|
||||||
|
Otherwise, if the work is a derivative of the Library, you may
|
||||||
|
distribute the object code for the work under the terms of Section 6.
|
||||||
|
Any executables containing that work also fall under Section 6,
|
||||||
|
whether or not they are linked directly with the Library itself.
|
||||||
|
^L
|
||||||
|
6. As an exception to the Sections above, you may also combine or
|
||||||
|
link a "work that uses the Library" with the Library to produce a
|
||||||
|
work containing portions of the Library, and distribute that work
|
||||||
|
under terms of your choice, provided that the terms permit
|
||||||
|
modification of the work for the customer's own use and reverse
|
||||||
|
engineering for debugging such modifications.
|
||||||
|
|
||||||
|
You must give prominent notice with each copy of the work that the
|
||||||
|
Library is used in it and that the Library and its use are covered by
|
||||||
|
this License. You must supply a copy of this License. If the work
|
||||||
|
during execution displays copyright notices, you must include the
|
||||||
|
copyright notice for the Library among them, as well as a reference
|
||||||
|
directing the user to the copy of this License. Also, you must do one
|
||||||
|
of these things:
|
||||||
|
|
||||||
|
a) Accompany the work with the complete corresponding
|
||||||
|
machine-readable source code for the Library including whatever
|
||||||
|
changes were used in the work (which must be distributed under
|
||||||
|
Sections 1 and 2 above); and, if the work is an executable linked
|
||||||
|
with the Library, with the complete machine-readable "work that
|
||||||
|
uses the Library", as object code and/or source code, so that the
|
||||||
|
user can modify the Library and then relink to produce a modified
|
||||||
|
executable containing the modified Library. (It is understood
|
||||||
|
that the user who changes the contents of definitions files in the
|
||||||
|
Library will not necessarily be able to recompile the application
|
||||||
|
to use the modified definitions.)
|
||||||
|
|
||||||
|
b) Use a suitable shared library mechanism for linking with the
|
||||||
|
Library. A suitable mechanism is one that (1) uses at run time a
|
||||||
|
copy of the library already present on the user's computer system,
|
||||||
|
rather than copying library functions into the executable, and (2)
|
||||||
|
will operate properly with a modified version of the library, if
|
||||||
|
the user installs one, as long as the modified version is
|
||||||
|
interface-compatible with the version that the work was made with.
|
||||||
|
|
||||||
|
c) Accompany the work with a written offer, valid for at
|
||||||
|
least three years, to give the same user the materials
|
||||||
|
specified in Subsection 6a, above, for a charge no more
|
||||||
|
than the cost of performing this distribution.
|
||||||
|
|
||||||
|
d) If distribution of the work is made by offering access to copy
|
||||||
|
from a designated place, offer equivalent access to copy the above
|
||||||
|
specified materials from the same place.
|
||||||
|
|
||||||
|
e) Verify that the user has already received a copy of these
|
||||||
|
materials or that you have already sent this user a copy.
|
||||||
|
|
||||||
|
For an executable, the required form of the "work that uses the
|
||||||
|
Library" must include any data and utility programs needed for
|
||||||
|
reproducing the executable from it. However, as a special exception,
|
||||||
|
the materials to be distributed need not include anything that is
|
||||||
|
normally distributed (in either source or binary form) with the major
|
||||||
|
components (compiler, kernel, and so on) of the operating system on
|
||||||
|
which the executable runs, unless that component itself accompanies
|
||||||
|
the executable.
|
||||||
|
|
||||||
|
It may happen that this requirement contradicts the license
|
||||||
|
restrictions of other proprietary libraries that do not normally
|
||||||
|
accompany the operating system. Such a contradiction means you cannot
|
||||||
|
use both them and the Library together in an executable that you
|
||||||
|
distribute.
|
||||||
|
^L
|
||||||
|
7. You may place library facilities that are a work based on the
|
||||||
|
Library side-by-side in a single library together with other library
|
||||||
|
facilities not covered by this License, and distribute such a combined
|
||||||
|
library, provided that the separate distribution of the work based on
|
||||||
|
the Library and of the other library facilities is otherwise
|
||||||
|
permitted, and provided that you do these two things:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work
|
||||||
|
based on the Library, uncombined with any other library
|
||||||
|
facilities. This must be distributed under the terms of the
|
||||||
|
Sections above.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library of the fact
|
||||||
|
that part of it is a work based on the Library, and explaining
|
||||||
|
where to find the accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
8. You may not copy, modify, sublicense, link with, or distribute
|
||||||
|
the Library except as expressly provided under this License. Any
|
||||||
|
attempt otherwise to copy, modify, sublicense, link with, or
|
||||||
|
distribute the Library is void, and will automatically terminate your
|
||||||
|
rights under this License. However, parties who have received copies,
|
||||||
|
or rights, from you under this License will not have their licenses
|
||||||
|
terminated so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
9. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Library or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Library (or any work based on the
|
||||||
|
Library), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Library or works based on it.
|
||||||
|
|
||||||
|
10. Each time you redistribute the Library (or any work based on the
|
||||||
|
Library), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute, link with or modify the Library
|
||||||
|
subject to these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties with
|
||||||
|
this License.
|
||||||
|
^L
|
||||||
|
11. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Library at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Library by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Library.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply, and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
12. If the distribution and/or use of the Library is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Library under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding those
|
||||||
|
countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
13. The Free Software Foundation may publish revised and/or new
|
||||||
|
versions of the Lesser General Public License from time to time.
|
||||||
|
Such new versions will be similar in spirit to the present version,
|
||||||
|
but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Library
|
||||||
|
specifies a version number of this License which applies to it and
|
||||||
|
"any later version", you have the option of following the terms and
|
||||||
|
conditions either of that version or of any later version published by
|
||||||
|
the Free Software Foundation. If the Library does not specify a
|
||||||
|
license version number, you may choose any version ever published by
|
||||||
|
the Free Software Foundation.
|
||||||
|
^L
|
||||||
|
14. If you wish to incorporate parts of the Library into other free
|
||||||
|
programs whose distribution conditions are incompatible with these,
|
||||||
|
write to the author to ask for permission. For software which is
|
||||||
|
copyrighted by the Free Software Foundation, write to the Free
|
||||||
|
Software Foundation; we sometimes make exceptions for this. Our
|
||||||
|
decision will be guided by the two goals of preserving the free status
|
||||||
|
of all derivatives of our free software and of promoting the sharing
|
||||||
|
and reuse of software generally.
|
||||||
|
|
||||||
|
NO WARRANTY
|
||||||
|
|
||||||
|
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
|
||||||
|
WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
|
||||||
|
EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
|
||||||
|
OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
|
||||||
|
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
|
||||||
|
LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
|
||||||
|
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
|
||||||
|
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
|
||||||
|
AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
|
||||||
|
FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
|
||||||
|
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
|
||||||
|
LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
|
||||||
|
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
|
||||||
|
FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
|
||||||
|
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||||
|
DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
^L
|
||||||
|
How to Apply These Terms to Your New Libraries
|
||||||
|
|
||||||
|
If you develop a new library, and you want it to be of the greatest
|
||||||
|
possible use to the public, we recommend making it free software that
|
||||||
|
everyone can redistribute and change. You can do so by permitting
|
||||||
|
redistribution under these terms (or, alternatively, under the terms
|
||||||
|
of the ordinary General Public License).
|
||||||
|
|
||||||
|
To apply these terms, attach the following notices to the library.
|
||||||
|
It is safest to attach them to the start of each source file to most
|
||||||
|
effectively convey the exclusion of warranty; and each file should
|
||||||
|
have at least the "copyright" line and a pointer to where the full
|
||||||
|
notice is found.
|
||||||
|
|
||||||
|
|
||||||
|
<one line to give the library's name and a brief idea of what it
|
||||||
|
does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper
|
||||||
|
mail.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or
|
||||||
|
your
|
||||||
|
school, if any, to sign a "copyright disclaimer" for the library, if
|
||||||
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the
|
||||||
|
library `Frob' (a library for tweaking knobs) written by James
|
||||||
|
Random Hacker.
|
||||||
|
|
||||||
|
<signature of Ty Coon>, 1 April 1990
|
||||||
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
|
That's all there is to it!
|
||||||
|
|
||||||
|
|
48
src/libltdl/Makefile.am
Normal file
48
src/libltdl/Makefile.am
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
||||||
|
|
||||||
|
if INSTALL_LTDL
|
||||||
|
include_HEADERS = ltdl.h
|
||||||
|
lib_LTLIBRARIES = libltdl.la
|
||||||
|
else
|
||||||
|
noinst_HEADERS = ltdl.h
|
||||||
|
endif
|
||||||
|
|
||||||
|
if CONVENIENCE_LTDL
|
||||||
|
noinst_LTLIBRARIES = libltdlc.la
|
||||||
|
endif
|
||||||
|
|
||||||
|
## Make sure these will be cleaned even when they're not built by
|
||||||
|
## default.
|
||||||
|
CLEANFILES = libltdl.la libltdlc.la
|
||||||
|
|
||||||
|
libltdl_la_SOURCES = ltdl.c
|
||||||
|
libltdl_la_LDFLAGS = -no-undefined -version-info 4:0:1
|
||||||
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
||||||
|
|
||||||
|
libltdlc_la_SOURCES = ltdl.c
|
||||||
|
libltdlc_la_LIBADD = $(LIBADD_DL)
|
||||||
|
|
||||||
|
## Because we do not have automatic dependency tracking:
|
||||||
|
ltdl.lo: ltdl.h config.h
|
||||||
|
|
||||||
|
$(OBJECTS) $(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
|
||||||
|
libtool: $(LIBTOOL_DEPS)
|
||||||
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
|
## This allows us to install libltdl without using ln and without creating
|
||||||
|
## a world writeable directory.
|
||||||
|
## FIXME: Remove this rule once automake can do this properly by itself.
|
||||||
|
local-install-files: $(DISTFILES)
|
||||||
|
-rm -rf $(DESTDIR)$(datadir)/libtool/libltdl
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/libtool/libltdl
|
||||||
|
@for file in $(DISTFILES); do \
|
||||||
|
d=$(srcdir); \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
cp -r $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file; \
|
||||||
|
else \
|
||||||
|
test -f $(DESTDIR)$(datadir)/libtool/libltdl/$$file \
|
||||||
|
|| cp $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \
|
||||||
|
fi; \
|
||||||
|
done
|
587
src/libltdl/Makefile.in
Normal file
587
src/libltdl/Makefile.in
Normal file
|
@ -0,0 +1,587 @@
|
||||||
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||||
|
# 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.
|
||||||
|
|
||||||
|
@SET_MAKE@
|
||||||
|
|
||||||
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = .
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
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_triplet = @host@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CONVENIENCE_LTDL_FALSE = @CONVENIENCE_LTDL_FALSE@
|
||||||
|
CONVENIENCE_LTDL_TRUE = @CONVENIENCE_LTDL_TRUE@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_LTDL_FALSE = @INSTALL_LTDL_FALSE@
|
||||||
|
INSTALL_LTDL_TRUE = @INSTALL_LTDL_TRUE@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBADD_DL = @LIBADD_DL@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LIBTOOL_DEPS = @LIBTOOL_DEPS@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
LTLIBOBJS = @LTLIBOBJS@
|
||||||
|
MAINT = @MAINT@
|
||||||
|
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
||||||
|
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
||||||
|
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@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
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@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
|
||||||
|
AUTOMAKE_OPTIONS = no-dependencies foreign
|
||||||
|
|
||||||
|
@INSTALL_LTDL_TRUE@include_HEADERS = ltdl.h
|
||||||
|
@INSTALL_LTDL_TRUE@lib_LTLIBRARIES = libltdl.la
|
||||||
|
@INSTALL_LTDL_FALSE@noinst_HEADERS = ltdl.h
|
||||||
|
|
||||||
|
@CONVENIENCE_LTDL_TRUE@noinst_LTLIBRARIES = libltdlc.la
|
||||||
|
|
||||||
|
CLEANFILES = libltdl.la libltdlc.la
|
||||||
|
|
||||||
|
libltdl_la_SOURCES = ltdl.c
|
||||||
|
libltdl_la_LDFLAGS = -no-undefined -version-info 4:0:1
|
||||||
|
libltdl_la_LIBADD = $(LIBADD_DL)
|
||||||
|
|
||||||
|
libltdlc_la_SOURCES = ltdl.c
|
||||||
|
libltdlc_la_LIBADD = $(LIBADD_DL)
|
||||||
|
subdir = .
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||||
|
CONFIG_HEADER = config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
|
||||||
|
|
||||||
|
libltdl_la_DEPENDENCIES =
|
||||||
|
am_libltdl_la_OBJECTS = ltdl.lo
|
||||||
|
libltdl_la_OBJECTS = $(am_libltdl_la_OBJECTS)
|
||||||
|
libltdlc_la_LDFLAGS =
|
||||||
|
libltdlc_la_DEPENDENCIES =
|
||||||
|
am_libltdlc_la_OBJECTS = ltdl.lo
|
||||||
|
libltdlc_la_OBJECTS = $(am_libltdlc_la_OBJECTS)
|
||||||
|
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
|
||||||
|
depcomp =
|
||||||
|
am__depfiles_maybe =
|
||||||
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
CCLD = $(CC)
|
||||||
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
DIST_SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES)
|
||||||
|
HEADERS = $(include_HEADERS) $(noinst_HEADERS)
|
||||||
|
|
||||||
|
DIST_COMMON = README $(include_HEADERS) $(noinst_HEADERS) \
|
||||||
|
$(srcdir)/Makefile.in $(srcdir)/configure COPYING.LIB \
|
||||||
|
Makefile.am acinclude.m4 aclocal.m4 config-h.in config.guess \
|
||||||
|
config.sub configure configure.in install-sh ltmain.sh missing \
|
||||||
|
mkinstalldirs
|
||||||
|
SOURCES = $(libltdl_la_SOURCES) $(libltdlc_la_SOURCES)
|
||||||
|
|
||||||
|
all: config.h
|
||||||
|
$(MAKE) $(AM_MAKEFLAGS) all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c .lo .o .obj
|
||||||
|
|
||||||
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||||
|
configure.lineno
|
||||||
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --foreign Makefile
|
||||||
|
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
|
$(SHELL) ./config.status --recheck
|
||||||
|
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
|
||||||
|
cd $(srcdir) && $(AUTOCONF)
|
||||||
|
|
||||||
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
|
||||||
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
||||||
|
|
||||||
|
config.h: stamp-h1
|
||||||
|
@if test ! -f $@; then \
|
||||||
|
rm -f stamp-h1; \
|
||||||
|
$(MAKE) stamp-h1; \
|
||||||
|
else :; fi
|
||||||
|
|
||||||
|
stamp-h1: $(srcdir)/config-h.in $(top_builddir)/config.status
|
||||||
|
@rm -f stamp-h1
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||||
|
|
||||||
|
$(srcdir)/config-h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
|
touch $(srcdir)/config-h.in
|
||||||
|
|
||||||
|
distclean-hdr:
|
||||||
|
-rm -f config.h stamp-h1
|
||||||
|
libLTLIBRARIES_INSTALL = $(INSTALL)
|
||||||
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libdir)
|
||||||
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
if test -f $$p; then \
|
||||||
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||||
|
echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \
|
||||||
|
$(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \
|
||||||
|
else :; fi; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-libLTLIBRARIES:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
p="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||||
|
echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
|
||||||
|
$(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-libLTLIBRARIES:
|
||||||
|
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
|
||||||
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||||
|
test "$$dir" = "$$p" && dir=.; \
|
||||||
|
echo "rm -f \"$${dir}/so_locations\""; \
|
||||||
|
rm -f "$${dir}/so_locations"; \
|
||||||
|
done
|
||||||
|
|
||||||
|
clean-noinstLTLIBRARIES:
|
||||||
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||||
|
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||||
|
test "$$dir" = "$$p" && dir=.; \
|
||||||
|
echo "rm -f \"$${dir}/so_locations\""; \
|
||||||
|
rm -f "$${dir}/so_locations"; \
|
||||||
|
done
|
||||||
|
libltdl.la: $(libltdl_la_OBJECTS) $(libltdl_la_DEPENDENCIES)
|
||||||
|
$(LINK) -rpath $(libdir) $(libltdl_la_LDFLAGS) $(libltdl_la_OBJECTS) $(libltdl_la_LIBADD) $(LIBS)
|
||||||
|
libltdlc.la: $(libltdlc_la_OBJECTS) $(libltdlc_la_DEPENDENCIES)
|
||||||
|
$(LINK) $(libltdlc_la_LDFLAGS) $(libltdlc_la_OBJECTS) $(libltdlc_la_LIBADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
|
.c.o:
|
||||||
|
$(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
.c.obj:
|
||||||
|
$(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||||
|
|
||||||
|
.c.lo:
|
||||||
|
$(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
includeHEADERS_INSTALL = $(INSTALL_HEADER)
|
||||||
|
install-includeHEADERS: $(include_HEADERS)
|
||||||
|
@$(NORMAL_INSTALL)
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
||||||
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
||||||
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||||
|
echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
|
||||||
|
$(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
|
uninstall-includeHEADERS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
||||||
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
||||||
|
echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
|
||||||
|
rm -f $(DESTDIR)$(includedir)/$$f; \
|
||||||
|
done
|
||||||
|
|
||||||
|
ETAGS = etags
|
||||||
|
ETAGSFLAGS =
|
||||||
|
|
||||||
|
CTAGS = ctags
|
||||||
|
CTAGSFLAGS =
|
||||||
|
|
||||||
|
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) 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; }'`; \
|
||||||
|
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
||||||
|
$$tags $$unique
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: $(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; }'`; \
|
||||||
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_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 tags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = .
|
||||||
|
distdir = $(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
am__remove_distdir = \
|
||||||
|
{ test ! -d $(distdir) \
|
||||||
|
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
||||||
|
&& rm -fr $(distdir); }; }
|
||||||
|
|
||||||
|
GZIP_ENV = --best
|
||||||
|
distuninstallcheck_listfiles = find . -type f -print
|
||||||
|
distcleancheck_listfiles = find . -type f -print
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
$(am__remove_distdir)
|
||||||
|
mkdir $(distdir)
|
||||||
|
@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"; \
|
||||||
|
$(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
|
||||||
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||||
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||||
|
|| chmod -R a+r $(distdir)
|
||||||
|
dist-gzip: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
dist dist-all: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(am__remove_distdir)
|
||||||
|
|
||||||
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
|
# it guarantees that the distribution is self-contained by making another
|
||||||
|
# tarfile.
|
||||||
|
distcheck: dist
|
||||||
|
$(am__remove_distdir)
|
||||||
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
||||||
|
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
||||||
|
mkdir $(distdir)/_build
|
||||||
|
mkdir $(distdir)/_inst
|
||||||
|
chmod a-w $(distdir)
|
||||||
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
||||||
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
||||||
|
&& cd $(distdir)/_build \
|
||||||
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
||||||
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
||||||
|
distuninstallcheck \
|
||||||
|
&& chmod -R a-w "$$dc_install_base" \
|
||||||
|
&& ({ \
|
||||||
|
(cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
||||||
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
||||||
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
||||||
|
&& rm -rf "$$dc_destdir" \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
||||||
|
&& rm -f $(distdir).tar.gz \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
||||||
|
$(am__remove_distdir)
|
||||||
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||||
|
sed 'h;s/./=/g;p;x;p;x'
|
||||||
|
distuninstallcheck:
|
||||||
|
@cd $(distuninstallcheck_dir) \
|
||||||
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||||
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
|
if test -n "$(DESTDIR)"; then \
|
||||||
|
echo " (check DESTDIR support)"; \
|
||||||
|
fi ; \
|
||||||
|
$(distuninstallcheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
distcleancheck: distclean
|
||||||
|
@if test '$(srcdir)' = . ; then \
|
||||||
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
||||||
|
exit 1 ; \
|
||||||
|
fi
|
||||||
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
||||||
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
||||||
|
$(distcleancheck_listfiles) ; \
|
||||||
|
exit 1; } >&2
|
||||||
|
check-am: all-am
|
||||||
|
check: check-am
|
||||||
|
all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h
|
||||||
|
|
||||||
|
installdirs:
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir)
|
||||||
|
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:
|
||||||
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
||||||
|
|
||||||
|
distclean-generic:
|
||||||
|
-rm -f $(CONFIG_CLEAN_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
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
|
||||||
|
clean-noinstLTLIBRARIES mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am: install-includeHEADERS
|
||||||
|
|
||||||
|
install-exec-am: install-libLTLIBRARIES
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
||||||
|
-rm -rf $(top_srcdir)/autom4te.cache
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-includeHEADERS uninstall-info-am \
|
||||||
|
uninstall-libLTLIBRARIES
|
||||||
|
|
||||||
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||||
|
clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
|
||||||
|
ctags dist dist-all dist-gzip distcheck distclean \
|
||||||
|
distclean-compile distclean-generic distclean-hdr \
|
||||||
|
distclean-libtool distclean-tags distcleancheck distdir \
|
||||||
|
distuninstallcheck dvi dvi-am info info-am install install-am \
|
||||||
|
install-data install-data-am install-exec install-exec-am \
|
||||||
|
install-includeHEADERS install-info install-info-am \
|
||||||
|
install-libLTLIBRARIES install-man install-strip installcheck \
|
||||||
|
installcheck-am installdirs maintainer-clean \
|
||||||
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||||
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||||
|
tags uninstall uninstall-am uninstall-includeHEADERS \
|
||||||
|
uninstall-info-am uninstall-libLTLIBRARIES
|
||||||
|
|
||||||
|
|
||||||
|
ltdl.lo: ltdl.h config.h
|
||||||
|
|
||||||
|
$(OBJECTS) $(libltdl_la_OBJECTS) $(libltdlc_la_OBJECTS): libtool
|
||||||
|
libtool: $(LIBTOOL_DEPS)
|
||||||
|
$(SHELL) ./config.status --recheck
|
||||||
|
|
||||||
|
local-install-files: $(DISTFILES)
|
||||||
|
-rm -rf $(DESTDIR)$(datadir)/libtool/libltdl
|
||||||
|
$(mkinstalldirs) $(DESTDIR)$(datadir)/libtool/libltdl
|
||||||
|
@for file in $(DISTFILES); do \
|
||||||
|
d=$(srcdir); \
|
||||||
|
if test -d $$d/$$file; then \
|
||||||
|
cp -r $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file; \
|
||||||
|
else \
|
||||||
|
test -f $(DESTDIR)$(datadir)/libtool/libltdl/$$file \
|
||||||
|
|| cp $$d/$$file $(DESTDIR)$(datadir)/libtool/libltdl/$$file || :; \
|
||||||
|
fi; \
|
||||||
|
done
|
||||||
|
# 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:
|
9
src/libltdl/README
Normal file
9
src/libltdl/README
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
This is GNU libltdl, a system independent dlopen wrapper for GNU libtool.
|
||||||
|
|
||||||
|
It supports the following dlopen interfaces:
|
||||||
|
* dlopen (Solaris, Linux and various BSD flavors)
|
||||||
|
* shl_load (HP-UX)
|
||||||
|
* LoadLibrary (Win16 and Win32)
|
||||||
|
* load_add_on (BeOS)
|
||||||
|
* GNU DLD (emulates dynamic linking for static libraries)
|
||||||
|
* libtool's dlpreopen
|
4119
src/libltdl/acinclude.m4
Normal file
4119
src/libltdl/acinclude.m4
Normal file
File diff suppressed because it is too large
Load diff
4915
src/libltdl/aclocal.m4
vendored
Normal file
4915
src/libltdl/aclocal.m4
vendored
Normal file
File diff suppressed because it is too large
Load diff
184
src/libltdl/config-h.in
Normal file
184
src/libltdl/config-h.in
Normal file
|
@ -0,0 +1,184 @@
|
||||||
|
/* config-h.in. Generated from configure.in by autoheader. */
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_append' function. */
|
||||||
|
#undef HAVE_ARGZ_APPEND
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_create_sep' function. */
|
||||||
|
#undef HAVE_ARGZ_CREATE_SEP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <argz.h> header file. */
|
||||||
|
#undef HAVE_ARGZ_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_insert' function. */
|
||||||
|
#undef HAVE_ARGZ_INSERT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_next' function. */
|
||||||
|
#undef HAVE_ARGZ_NEXT
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `argz_stringify' function. */
|
||||||
|
#undef HAVE_ARGZ_STRINGIFY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <assert.h> header file. */
|
||||||
|
#undef HAVE_ASSERT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `bcopy' function. */
|
||||||
|
#undef HAVE_BCOPY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <ctype.h> header file. */
|
||||||
|
#undef HAVE_CTYPE_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_DIRENT_H
|
||||||
|
|
||||||
|
/* Define if you have the GNU dld library. */
|
||||||
|
#undef HAVE_DLD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dld.h> header file. */
|
||||||
|
#undef HAVE_DLD_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `dlerror' function. */
|
||||||
|
#undef HAVE_DLERROR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <dl.h> header file. */
|
||||||
|
#undef HAVE_DL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <errno.h> header file. */
|
||||||
|
#undef HAVE_ERRNO_H
|
||||||
|
|
||||||
|
/* Define to 1 if the system has the type `error_t'. */
|
||||||
|
#undef HAVE_ERROR_T
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `index' function. */
|
||||||
|
#undef HAVE_INDEX
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||||
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define if you have the libdl library or equivalent. */
|
||||||
|
#undef HAVE_LIBDL
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <malloc.h> header file. */
|
||||||
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memcpy' function. */
|
||||||
|
#undef HAVE_MEMCPY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `memmove' function. */
|
||||||
|
#undef HAVE_MEMMOVE
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <memory.h> header file. */
|
||||||
|
#undef HAVE_MEMORY_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
|
||||||
|
#undef HAVE_NDIR_H
|
||||||
|
|
||||||
|
/* Define if libtool can extract symbol lists from object files. */
|
||||||
|
#undef HAVE_PRELOADED_SYMBOLS
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `rindex' function. */
|
||||||
|
#undef HAVE_RINDEX
|
||||||
|
|
||||||
|
/* Define if you have the shl_load function. */
|
||||||
|
#undef HAVE_SHL_LOAD
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdint.h> header file. */
|
||||||
|
#undef HAVE_STDINT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdio.h> header file. */
|
||||||
|
#undef HAVE_STDIO_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||||
|
#undef HAVE_STDLIB_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strchr' function. */
|
||||||
|
#undef HAVE_STRCHR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strcmp' function. */
|
||||||
|
#undef HAVE_STRCMP
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <strings.h> header file. */
|
||||||
|
#undef HAVE_STRINGS_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <string.h> header file. */
|
||||||
|
#undef HAVE_STRING_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `strrchr' function. */
|
||||||
|
#undef HAVE_STRRCHR
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_SYS_DIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/dl.h> header file. */
|
||||||
|
#undef HAVE_SYS_DL_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
|
||||||
|
*/
|
||||||
|
#undef HAVE_SYS_NDIR_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||||
|
#undef HAVE_SYS_STAT_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||||
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
/* Define to 1 if you have the <unistd.h> header file. */
|
||||||
|
#undef HAVE_UNISTD_H
|
||||||
|
|
||||||
|
/* Define if the OS needs help to load dependent libraries for dlopen(). */
|
||||||
|
#undef LTDL_DLOPEN_DEPLIBS
|
||||||
|
|
||||||
|
/* Define to the sub-directory in which libtool stores uninstalled libraries.
|
||||||
|
*/
|
||||||
|
#undef LTDL_OBJDIR
|
||||||
|
|
||||||
|
/* Define to the name of the environment variable that determines the dynamic
|
||||||
|
library search path. */
|
||||||
|
#undef LTDL_SHLIBPATH_VAR
|
||||||
|
|
||||||
|
/* Define to the extension used for shared libraries, say, ".so". */
|
||||||
|
#undef LTDL_SHLIB_EXT
|
||||||
|
|
||||||
|
/* Define to the system default library search path. */
|
||||||
|
#undef LTDL_SYSSEARCHPATH
|
||||||
|
|
||||||
|
/* Define if dlsym() requires a leading underscore in symbol names. */
|
||||||
|
#undef NEED_USCORE
|
||||||
|
|
||||||
|
/* Name of package */
|
||||||
|
#undef PACKAGE
|
||||||
|
|
||||||
|
/* Define to the address where bug reports for this package should be sent. */
|
||||||
|
#undef PACKAGE_BUGREPORT
|
||||||
|
|
||||||
|
/* Define to the full name of this package. */
|
||||||
|
#undef PACKAGE_NAME
|
||||||
|
|
||||||
|
/* Define to the full name and version of this package. */
|
||||||
|
#undef PACKAGE_STRING
|
||||||
|
|
||||||
|
/* Define to the one symbol short name of this package. */
|
||||||
|
#undef PACKAGE_TARNAME
|
||||||
|
|
||||||
|
/* Define to the version of this package. */
|
||||||
|
#undef PACKAGE_VERSION
|
||||||
|
|
||||||
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
/* Version number of package */
|
||||||
|
#undef VERSION
|
||||||
|
|
||||||
|
/* Define to empty if `const' does not conform to ANSI C. */
|
||||||
|
#undef const
|
||||||
|
|
||||||
|
/* Define to a type to use for \`error_t' if it is not otherwise available. */
|
||||||
|
#undef error_t
|
||||||
|
|
||||||
|
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
|
||||||
|
if it is not supported. */
|
||||||
|
#undef inline
|
1411
src/libltdl/config.guess
vendored
Executable file
1411
src/libltdl/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load diff
1500
src/libltdl/config.sub
vendored
Executable file
1500
src/libltdl/config.sub
vendored
Executable file
File diff suppressed because it is too large
Load diff
14775
src/curl/configure → src/libltdl/configure
vendored
14775
src/curl/configure → src/libltdl/configure
vendored
File diff suppressed because it is too large
Load diff
44
src/libltdl/configure.in
Normal file
44
src/libltdl/configure.in
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
dnl Process this file with autoconf to create configure.
|
||||||
|
|
||||||
|
AC_INIT(ltdl.c)
|
||||||
|
|
||||||
|
dnl We shouldn't be using these internal macros of autoconf,
|
||||||
|
dnl but CONFIG_AUX_DIR($with_auxdir) breaks automake.
|
||||||
|
AC_ARG_WITH(auxdir,
|
||||||
|
[ --with-auxdir=DIR path to autoconf auxiliary files],
|
||||||
|
[AC_CONFIG_AUX_DIRS($with_auxdir)],
|
||||||
|
[AC_CONFIG_AUX_DIR_DEFAULT])
|
||||||
|
|
||||||
|
if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
|
||||||
|
if test -f ${srcdir}/ltmain.sh; then
|
||||||
|
# if libltdl is libtoolized, it is assumed to be stand-alone and
|
||||||
|
# installed unless the command line overrides it (tested above)
|
||||||
|
enable_ltdl_install=yes
|
||||||
|
else
|
||||||
|
AC_MSG_WARN([*** The top-level configure must select either])
|
||||||
|
AC_MSG_WARN([*** [A""C_LIBLTDL_INSTALLABLE] or [A""C_LIBLTDL_CONVENIENCE].])
|
||||||
|
AC_MSG_ERROR([*** Maybe you want to --enable-ltdl-install?])
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
AM_INIT_AUTOMAKE(libltdl,1.2,-)
|
||||||
|
AM_CONFIG_HEADER(config.h:config-h.in)
|
||||||
|
AM_MAINTAINER_MODE
|
||||||
|
|
||||||
|
AC_PROG_CC
|
||||||
|
AC_C_CONST
|
||||||
|
AC_C_INLINE
|
||||||
|
|
||||||
|
AC_LIBTOOL_WIN32_DLL
|
||||||
|
AM_PROG_LIBTOOL
|
||||||
|
AC_SUBST(LIBTOOL_DEPS)
|
||||||
|
|
||||||
|
AC_LIB_LTDL
|
||||||
|
|
||||||
|
dnl Output the makefile
|
||||||
|
AC_OUTPUT(Makefile)
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode:shell-script
|
||||||
|
# sh-indentation:2
|
||||||
|
# End:
|
294
src/libltdl/install-sh
Executable file
294
src/libltdl/install-sh
Executable file
|
@ -0,0 +1,294 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# install - install a program, script, or datafile
|
||||||
|
#
|
||||||
|
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||||
|
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||||
|
# following copyright and license.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1994 X Consortium
|
||||||
|
#
|
||||||
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
# of this software and associated documentation files (the "Software"), to
|
||||||
|
# deal in the Software without restriction, including without limitation the
|
||||||
|
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||||
|
# sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
# furnished to do so, subject to the following conditions:
|
||||||
|
#
|
||||||
|
# The above copyright notice and this permission notice shall be included in
|
||||||
|
# all copies or substantial portions of the Software.
|
||||||
|
#
|
||||||
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
||||||
|
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
|
||||||
|
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
#
|
||||||
|
# Except as contained in this notice, the name of the X Consortium shall not
|
||||||
|
# be used in advertising or otherwise to promote the sale, use or other deal-
|
||||||
|
# ings in this Software without prior written authorization from the X Consor-
|
||||||
|
# tium.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# FSF changes to this file are in the public domain.
|
||||||
|
#
|
||||||
|
# Calling this script install-sh is preferred over install.sh, to prevent
|
||||||
|
# `make' implicit rules from creating a file called install from it
|
||||||
|
# when there is no Makefile.
|
||||||
|
#
|
||||||
|
# This script is compatible with the BSD install script, but was written
|
||||||
|
# from scratch. It can only install one file at a time, a restriction
|
||||||
|
# shared with many OS's install programs.
|
||||||
|
|
||||||
|
|
||||||
|
# set DOITPROG to echo to test this script
|
||||||
|
|
||||||
|
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||||
|
doit="${DOITPROG-}"
|
||||||
|
|
||||||
|
|
||||||
|
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||||
|
|
||||||
|
mvprog="${MVPROG-mv}"
|
||||||
|
cpprog="${CPPROG-cp}"
|
||||||
|
chmodprog="${CHMODPROG-chmod}"
|
||||||
|
chownprog="${CHOWNPROG-chown}"
|
||||||
|
chgrpprog="${CHGRPPROG-chgrp}"
|
||||||
|
stripprog="${STRIPPROG-strip}"
|
||||||
|
rmprog="${RMPROG-rm}"
|
||||||
|
mkdirprog="${MKDIRPROG-mkdir}"
|
||||||
|
|
||||||
|
transformbasename=""
|
||||||
|
transform_arg=""
|
||||||
|
instcmd="$mvprog"
|
||||||
|
chmodcmd="$chmodprog 0755"
|
||||||
|
chowncmd=""
|
||||||
|
chgrpcmd=""
|
||||||
|
stripcmd=""
|
||||||
|
rmcmd="$rmprog -f"
|
||||||
|
mvcmd="$mvprog"
|
||||||
|
src=""
|
||||||
|
dst=""
|
||||||
|
dir_arg=""
|
||||||
|
|
||||||
|
while [ x"$1" != x ]; do
|
||||||
|
case $1 in
|
||||||
|
-c) instcmd=$cpprog
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-d) dir_arg=true
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-m) chmodcmd="$chmodprog $2"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-o) chowncmd="$chownprog $2"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-g) chgrpcmd="$chgrpprog $2"
|
||||||
|
shift
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-s) stripcmd=$stripprog
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
|
||||||
|
*) if [ x"$src" = x ]
|
||||||
|
then
|
||||||
|
src=$1
|
||||||
|
else
|
||||||
|
# this colon is to work around a 386BSD /bin/sh bug
|
||||||
|
:
|
||||||
|
dst=$1
|
||||||
|
fi
|
||||||
|
shift
|
||||||
|
continue;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ x"$src" = x ]
|
||||||
|
then
|
||||||
|
echo "$0: no input file specified" >&2
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ x"$dir_arg" != x ]; then
|
||||||
|
dst=$src
|
||||||
|
src=""
|
||||||
|
|
||||||
|
if [ -d "$dst" ]; then
|
||||||
|
instcmd=:
|
||||||
|
chmodcmd=""
|
||||||
|
else
|
||||||
|
instcmd=$mkdirprog
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
|
||||||
|
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
|
||||||
|
# might cause directories to be created, which would be especially bad
|
||||||
|
# if $src (and thus $dsttmp) contains '*'.
|
||||||
|
|
||||||
|
if [ -f "$src" ] || [ -d "$src" ]
|
||||||
|
then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "$0: $src does not exist" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ x"$dst" = x ]
|
||||||
|
then
|
||||||
|
echo "$0: no destination specified" >&2
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If destination is a directory, append the input filename; if your system
|
||||||
|
# does not like double slashes in filenames, you may need to add some logic
|
||||||
|
|
||||||
|
if [ -d "$dst" ]
|
||||||
|
then
|
||||||
|
dst=$dst/`basename "$src"`
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
## this sed command emulates the dirname command
|
||||||
|
dstdir=`echo "$dst" | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
|
||||||
|
|
||||||
|
# Make sure that the destination directory exists.
|
||||||
|
# this part is taken from Noah Friedman's mkinstalldirs script
|
||||||
|
|
||||||
|
# Skip lots of stat calls in the usual case.
|
||||||
|
if [ ! -d "$dstdir" ]; then
|
||||||
|
defaultIFS='
|
||||||
|
'
|
||||||
|
IFS="${IFS-$defaultIFS}"
|
||||||
|
|
||||||
|
oIFS=$IFS
|
||||||
|
# Some sh's can't handle IFS=/ for some reason.
|
||||||
|
IFS='%'
|
||||||
|
set - `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||||
|
IFS=$oIFS
|
||||||
|
|
||||||
|
pathcomp=''
|
||||||
|
|
||||||
|
while [ $# -ne 0 ] ; do
|
||||||
|
pathcomp=$pathcomp$1
|
||||||
|
shift
|
||||||
|
|
||||||
|
if [ ! -d "$pathcomp" ] ;
|
||||||
|
then
|
||||||
|
$mkdirprog "$pathcomp"
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
pathcomp=$pathcomp/
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ x"$dir_arg" != x ]
|
||||||
|
then
|
||||||
|
$doit $instcmd "$dst" &&
|
||||||
|
|
||||||
|
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dst"; else : ; fi &&
|
||||||
|
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dst"; else : ; fi &&
|
||||||
|
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dst"; else : ; fi &&
|
||||||
|
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dst"; else : ; fi
|
||||||
|
else
|
||||||
|
|
||||||
|
# If we're going to rename the final executable, determine the name now.
|
||||||
|
|
||||||
|
if [ x"$transformarg" = x ]
|
||||||
|
then
|
||||||
|
dstfile=`basename "$dst"`
|
||||||
|
else
|
||||||
|
dstfile=`basename "$dst" $transformbasename |
|
||||||
|
sed $transformarg`$transformbasename
|
||||||
|
fi
|
||||||
|
|
||||||
|
# don't allow the sed command to completely eliminate the filename
|
||||||
|
|
||||||
|
if [ x"$dstfile" = x ]
|
||||||
|
then
|
||||||
|
dstfile=`basename "$dst"`
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make a couple of temp file names in the proper directory.
|
||||||
|
|
||||||
|
dsttmp=$dstdir/_inst.$$_
|
||||||
|
rmtmp=$dstdir/_rm.$$_
|
||||||
|
|
||||||
|
# Trap to clean up temp files at exit.
|
||||||
|
|
||||||
|
trap 'status=$?; rm -f "$dsttmp" "$rmtmp" && exit $status' 0
|
||||||
|
trap '(exit $?); exit' 1 2 13 15
|
||||||
|
|
||||||
|
# Move or copy the file name to the temp name
|
||||||
|
|
||||||
|
$doit $instcmd "$src" "$dsttmp" &&
|
||||||
|
|
||||||
|
# and set any options; do chmod last to preserve setuid bits
|
||||||
|
|
||||||
|
# If any of these fail, we abort the whole thing. If we want to
|
||||||
|
# ignore errors from any of these, just make sure not to ignore
|
||||||
|
# errors from the above "$doit $instcmd $src $dsttmp" command.
|
||||||
|
|
||||||
|
if [ x"$chowncmd" != x ]; then $doit $chowncmd "$dsttmp"; else :;fi &&
|
||||||
|
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd "$dsttmp"; else :;fi &&
|
||||||
|
if [ x"$stripcmd" != x ]; then $doit $stripcmd "$dsttmp"; else :;fi &&
|
||||||
|
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd "$dsttmp"; else :;fi &&
|
||||||
|
|
||||||
|
# Now remove or move aside any old file at destination location. We try this
|
||||||
|
# two ways since rm can't unlink itself on some systems and the destination
|
||||||
|
# file might be busy for other reasons. In this case, the final cleanup
|
||||||
|
# might fail but the new file should still install successfully.
|
||||||
|
|
||||||
|
{
|
||||||
|
if [ -f "$dstdir/$dstfile" ]
|
||||||
|
then
|
||||||
|
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null ||
|
||||||
|
$doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null ||
|
||||||
|
{
|
||||||
|
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
||||||
|
(exit 1); exit
|
||||||
|
}
|
||||||
|
else
|
||||||
|
:
|
||||||
|
fi
|
||||||
|
} &&
|
||||||
|
|
||||||
|
# Now rename the file to the real destination.
|
||||||
|
|
||||||
|
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
||||||
|
|
||||||
|
fi &&
|
||||||
|
|
||||||
|
# The final little trick to "correctly" pass the exit status to the exit trap.
|
||||||
|
|
||||||
|
{
|
||||||
|
(exit 0); exit
|
||||||
|
}
|
3999
src/libltdl/ltdl.c
Normal file
3999
src/libltdl/ltdl.c
Normal file
File diff suppressed because it is too large
Load diff
361
src/libltdl/ltdl.h
Normal file
361
src/libltdl/ltdl.h
Normal file
|
@ -0,0 +1,361 @@
|
||||||
|
/* ltdl.h -- generic dlopen functions
|
||||||
|
Copyright (C) 1998-2000 Free Software Foundation, Inc.
|
||||||
|
Originally by Thomas Tanner <tanner@ffii.org>
|
||||||
|
This file is part of GNU Libtool.
|
||||||
|
|
||||||
|
This library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
As a special exception to the GNU Lesser General Public License,
|
||||||
|
if you distribute this file as part of a program or library that
|
||||||
|
is built using GNU libtool, you may include it under the same
|
||||||
|
distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
This library is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public
|
||||||
|
License along with this library; if not, write to the Free
|
||||||
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
|
02111-1307 USA
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Only include this header file once. */
|
||||||
|
#ifndef LTDL_H
|
||||||
|
#define LTDL_H 1
|
||||||
|
|
||||||
|
#include <sys/types.h> /* for size_t declaration */
|
||||||
|
|
||||||
|
|
||||||
|
/* --- MACROS FOR PORTABILITY --- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Saves on those hard to debug '\0' typos.... */
|
||||||
|
#define LT_EOS_CHAR '\0'
|
||||||
|
|
||||||
|
/* LTDL_BEGIN_C_DECLS should be used at the beginning of your declarations,
|
||||||
|
so that C++ compilers don't mangle their names. Use LTDL_END_C_DECLS at
|
||||||
|
the end of C declarations. */
|
||||||
|
#ifdef __cplusplus
|
||||||
|
# define LT_BEGIN_C_DECLS extern "C" {
|
||||||
|
# define LT_END_C_DECLS }
|
||||||
|
#else
|
||||||
|
# define LT_BEGIN_C_DECLS /* empty */
|
||||||
|
# define LT_END_C_DECLS /* empty */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LT_BEGIN_C_DECLS
|
||||||
|
|
||||||
|
|
||||||
|
/* LT_PARAMS is a macro used to wrap function prototypes, so that compilers
|
||||||
|
that don't understand ANSI C prototypes still work, and ANSI C
|
||||||
|
compilers can issue warnings about type mismatches. */
|
||||||
|
#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) || defined(__cplusplus)
|
||||||
|
# define LT_PARAMS(protos) protos
|
||||||
|
# define lt_ptr void*
|
||||||
|
#else
|
||||||
|
# define LT_PARAMS(protos) ()
|
||||||
|
# define lt_ptr char*
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* LT_STMT_START/END are used to create macros which expand to a
|
||||||
|
a single compound statement in a portable way. */
|
||||||
|
#if defined (__GNUC__) && !defined (__STRICT_ANSI__) && !defined (__cplusplus)
|
||||||
|
# define LT_STMT_START (void)(
|
||||||
|
# define LT_STMT_END )
|
||||||
|
#else
|
||||||
|
# if (defined (sun) || defined (__sun__))
|
||||||
|
# define LT_STMT_START if (1)
|
||||||
|
# define LT_STMT_END else (void)0
|
||||||
|
# else
|
||||||
|
# define LT_STMT_START do
|
||||||
|
# define LT_STMT_END while (0)
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* LT_CONC creates a new concatenated symbol for the compiler
|
||||||
|
in a portable way. */
|
||||||
|
#if defined(__STDC__) || defined(__cplusplus)
|
||||||
|
# define LT_CONC(s,t) s##t
|
||||||
|
#else
|
||||||
|
# define LT_CONC(s,t) s/**/t
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* LT_STRLEN can be used safely on NULL pointers. */
|
||||||
|
#define LT_STRLEN(s) (((s) && (s)[0]) ? strlen (s) : 0)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- WINDOWS SUPPORT --- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Canonicalise Windows and Cygwin recognition macros. */
|
||||||
|
#ifdef __CYGWIN32__
|
||||||
|
# ifndef __CYGWIN__
|
||||||
|
# define __CYGWIN__ __CYGWIN32__
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#if defined(_WIN32) || defined(WIN32)
|
||||||
|
# ifndef __WINDOWS__
|
||||||
|
# ifdef _WIN32
|
||||||
|
# define __WINDOWS__ _WIN32
|
||||||
|
# else
|
||||||
|
# ifdef WIN32
|
||||||
|
# define __WINDOWS__ WIN32
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __WINDOWS__
|
||||||
|
# ifndef __CYGWIN__
|
||||||
|
/* LT_DIRSEP_CHAR is accepted *in addition* to '/' as a directory
|
||||||
|
separator when it is set. */
|
||||||
|
# define LT_DIRSEP_CHAR '\\'
|
||||||
|
# define LT_PATHSEP_CHAR ';'
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
#ifndef LT_PATHSEP_CHAR
|
||||||
|
# define LT_PATHSEP_CHAR ':'
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/* DLL building support on win32 hosts; mostly to workaround their
|
||||||
|
ridiculous implementation of data symbol exporting. */
|
||||||
|
#ifndef LT_SCOPE
|
||||||
|
# ifdef __WINDOWS__
|
||||||
|
# ifdef DLL_EXPORT /* defined by libtool (if required) */
|
||||||
|
# define LT_SCOPE __declspec(dllexport)
|
||||||
|
# endif
|
||||||
|
# ifdef LIBLTDL_DLL_IMPORT /* define if linking with this dll */
|
||||||
|
# define LT_SCOPE extern __declspec(dllimport)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# ifndef LT_SCOPE /* static linking or !__WINDOWS__ */
|
||||||
|
# define LT_SCOPE extern
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- DYNAMIC MODULE LOADING API --- */
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct lt_dlhandle_struct *lt_dlhandle; /* A loaded module. */
|
||||||
|
|
||||||
|
/* Initialisation and finalisation functions for libltdl. */
|
||||||
|
extern int lt_dlinit LT_PARAMS((void));
|
||||||
|
extern int lt_dlexit LT_PARAMS((void));
|
||||||
|
|
||||||
|
/* Module search path manipulation. */
|
||||||
|
extern int lt_dladdsearchdir LT_PARAMS((const char *search_dir));
|
||||||
|
extern int lt_dlinsertsearchdir LT_PARAMS((const char *before,
|
||||||
|
const char *search_dir));
|
||||||
|
extern int lt_dlsetsearchpath LT_PARAMS((const char *search_path));
|
||||||
|
extern const char *lt_dlgetsearchpath LT_PARAMS((void));
|
||||||
|
extern int lt_dlforeachfile LT_PARAMS((
|
||||||
|
const char *search_path,
|
||||||
|
int (*func) (const char *filename, lt_ptr data),
|
||||||
|
lt_ptr data));
|
||||||
|
|
||||||
|
/* Portable libltdl versions of the system dlopen() API. */
|
||||||
|
extern lt_dlhandle lt_dlopen LT_PARAMS((const char *filename));
|
||||||
|
extern lt_dlhandle lt_dlopenext LT_PARAMS((const char *filename));
|
||||||
|
extern lt_ptr lt_dlsym LT_PARAMS((lt_dlhandle handle,
|
||||||
|
const char *name));
|
||||||
|
extern const char *lt_dlerror LT_PARAMS((void));
|
||||||
|
extern int lt_dlclose LT_PARAMS((lt_dlhandle handle));
|
||||||
|
|
||||||
|
/* Module residency management. */
|
||||||
|
extern int lt_dlmakeresident LT_PARAMS((lt_dlhandle handle));
|
||||||
|
extern int lt_dlisresident LT_PARAMS((lt_dlhandle handle));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- MUTEX LOCKING --- */
|
||||||
|
|
||||||
|
|
||||||
|
typedef void lt_dlmutex_lock LT_PARAMS((void));
|
||||||
|
typedef void lt_dlmutex_unlock LT_PARAMS((void));
|
||||||
|
typedef void lt_dlmutex_seterror LT_PARAMS((const char *errmsg));
|
||||||
|
typedef const char *lt_dlmutex_geterror LT_PARAMS((void));
|
||||||
|
|
||||||
|
extern int lt_dlmutex_register LT_PARAMS((lt_dlmutex_lock *lock,
|
||||||
|
lt_dlmutex_unlock *unlock,
|
||||||
|
lt_dlmutex_seterror *seterror,
|
||||||
|
lt_dlmutex_geterror *geterror));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- MEMORY HANDLING --- */
|
||||||
|
|
||||||
|
|
||||||
|
/* By default, the realloc function pointer is set to our internal
|
||||||
|
realloc implementation which iself uses lt_dlmalloc and lt_dlfree.
|
||||||
|
libltdl relies on a featureful realloc, but if you are sure yours
|
||||||
|
has the right semantics then you can assign it directly. Generally,
|
||||||
|
it is safe to assign just a malloc() and a free() function. */
|
||||||
|
LT_SCOPE lt_ptr (*lt_dlmalloc) LT_PARAMS((size_t size));
|
||||||
|
LT_SCOPE lt_ptr (*lt_dlrealloc) LT_PARAMS((lt_ptr ptr, size_t size));
|
||||||
|
LT_SCOPE void (*lt_dlfree) LT_PARAMS((lt_ptr ptr));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- PRELOADED MODULE SUPPORT --- */
|
||||||
|
|
||||||
|
|
||||||
|
/* A preopened symbol. Arrays of this type comprise the exported
|
||||||
|
symbols for a dlpreopened module. */
|
||||||
|
typedef struct {
|
||||||
|
const char *name;
|
||||||
|
lt_ptr address;
|
||||||
|
} lt_dlsymlist;
|
||||||
|
|
||||||
|
extern int lt_dlpreload LT_PARAMS((const lt_dlsymlist *preloaded));
|
||||||
|
extern int lt_dlpreload_default
|
||||||
|
LT_PARAMS((const lt_dlsymlist *preloaded));
|
||||||
|
|
||||||
|
#define LTDL_SET_PRELOADED_SYMBOLS() LT_STMT_START{ \
|
||||||
|
extern const lt_dlsymlist lt_preloaded_symbols[]; \
|
||||||
|
lt_dlpreload_default(lt_preloaded_symbols); \
|
||||||
|
}LT_STMT_END
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- MODULE INFORMATION --- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Read only information pertaining to a loaded module. */
|
||||||
|
typedef struct {
|
||||||
|
char *filename; /* file name */
|
||||||
|
char *name; /* module name */
|
||||||
|
int ref_count; /* number of times lt_dlopened minus
|
||||||
|
number of times lt_dlclosed. */
|
||||||
|
} lt_dlinfo;
|
||||||
|
|
||||||
|
extern const lt_dlinfo *lt_dlgetinfo LT_PARAMS((lt_dlhandle handle));
|
||||||
|
extern lt_dlhandle lt_dlhandle_next LT_PARAMS((lt_dlhandle place));
|
||||||
|
extern int lt_dlforeach LT_PARAMS((
|
||||||
|
int (*func) (lt_dlhandle handle, lt_ptr data),
|
||||||
|
lt_ptr data));
|
||||||
|
|
||||||
|
/* Associating user data with loaded modules. */
|
||||||
|
typedef unsigned lt_dlcaller_id;
|
||||||
|
|
||||||
|
extern lt_dlcaller_id lt_dlcaller_register LT_PARAMS((void));
|
||||||
|
extern lt_ptr lt_dlcaller_set_data LT_PARAMS((lt_dlcaller_id key,
|
||||||
|
lt_dlhandle handle,
|
||||||
|
lt_ptr data));
|
||||||
|
extern lt_ptr lt_dlcaller_get_data LT_PARAMS((lt_dlcaller_id key,
|
||||||
|
lt_dlhandle handle));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- USER MODULE LOADER API --- */
|
||||||
|
|
||||||
|
|
||||||
|
typedef struct lt_dlloader lt_dlloader;
|
||||||
|
typedef lt_ptr lt_user_data;
|
||||||
|
typedef lt_ptr lt_module;
|
||||||
|
|
||||||
|
/* Function pointer types for creating user defined module loaders. */
|
||||||
|
typedef lt_module lt_module_open LT_PARAMS((lt_user_data loader_data,
|
||||||
|
const char *filename));
|
||||||
|
typedef int lt_module_close LT_PARAMS((lt_user_data loader_data,
|
||||||
|
lt_module handle));
|
||||||
|
typedef lt_ptr lt_find_sym LT_PARAMS((lt_user_data loader_data,
|
||||||
|
lt_module handle,
|
||||||
|
const char *symbol));
|
||||||
|
typedef int lt_dlloader_exit LT_PARAMS((lt_user_data loader_data));
|
||||||
|
|
||||||
|
struct lt_user_dlloader {
|
||||||
|
const char *sym_prefix;
|
||||||
|
lt_module_open *module_open;
|
||||||
|
lt_module_close *module_close;
|
||||||
|
lt_find_sym *find_sym;
|
||||||
|
lt_dlloader_exit *dlloader_exit;
|
||||||
|
lt_user_data dlloader_data;
|
||||||
|
};
|
||||||
|
|
||||||
|
extern lt_dlloader *lt_dlloader_next LT_PARAMS((lt_dlloader *place));
|
||||||
|
extern lt_dlloader *lt_dlloader_find LT_PARAMS((
|
||||||
|
const char *loader_name));
|
||||||
|
extern const char *lt_dlloader_name LT_PARAMS((lt_dlloader *place));
|
||||||
|
extern lt_user_data *lt_dlloader_data LT_PARAMS((lt_dlloader *place));
|
||||||
|
extern int lt_dlloader_add LT_PARAMS((lt_dlloader *place,
|
||||||
|
const struct lt_user_dlloader *dlloader,
|
||||||
|
const char *loader_name));
|
||||||
|
extern int lt_dlloader_remove LT_PARAMS((
|
||||||
|
const char *loader_name));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- ERROR MESSAGE HANDLING --- */
|
||||||
|
|
||||||
|
|
||||||
|
/* Defining error strings alongside their symbolic names in a macro in
|
||||||
|
this way allows us to expand the macro in different contexts with
|
||||||
|
confidence that the enumeration of symbolic names will map correctly
|
||||||
|
onto the table of error strings. */
|
||||||
|
#define lt_dlerror_table \
|
||||||
|
LT_ERROR(UNKNOWN, "unknown error") \
|
||||||
|
LT_ERROR(DLOPEN_NOT_SUPPORTED, "dlopen support not available") \
|
||||||
|
LT_ERROR(INVALID_LOADER, "invalid loader") \
|
||||||
|
LT_ERROR(INIT_LOADER, "loader initialization failed") \
|
||||||
|
LT_ERROR(REMOVE_LOADER, "loader removal failed") \
|
||||||
|
LT_ERROR(FILE_NOT_FOUND, "file not found") \
|
||||||
|
LT_ERROR(DEPLIB_NOT_FOUND, "dependency library not found") \
|
||||||
|
LT_ERROR(NO_SYMBOLS, "no symbols defined") \
|
||||||
|
LT_ERROR(CANNOT_OPEN, "can't open the module") \
|
||||||
|
LT_ERROR(CANNOT_CLOSE, "can't close the module") \
|
||||||
|
LT_ERROR(SYMBOL_NOT_FOUND, "symbol not found") \
|
||||||
|
LT_ERROR(NO_MEMORY, "not enough memory") \
|
||||||
|
LT_ERROR(INVALID_HANDLE, "invalid module handle") \
|
||||||
|
LT_ERROR(BUFFER_OVERFLOW, "internal buffer overflow") \
|
||||||
|
LT_ERROR(INVALID_ERRORCODE, "invalid errorcode") \
|
||||||
|
LT_ERROR(SHUTDOWN, "library already shutdown") \
|
||||||
|
LT_ERROR(CLOSE_RESIDENT_MODULE, "can't close resident module") \
|
||||||
|
LT_ERROR(INVALID_MUTEX_ARGS, "invalid mutex handler registration") \
|
||||||
|
LT_ERROR(INVALID_POSITION, "invalid search path insert position")
|
||||||
|
|
||||||
|
/* Enumerate the symbolic error names. */
|
||||||
|
enum {
|
||||||
|
#define LT_ERROR(name, diagnostic) LT_CONC(LT_ERROR_, name),
|
||||||
|
lt_dlerror_table
|
||||||
|
#undef LT_ERROR
|
||||||
|
|
||||||
|
LT_ERROR_MAX
|
||||||
|
};
|
||||||
|
|
||||||
|
/* These functions are only useful from inside custom module loaders. */
|
||||||
|
extern int lt_dladderror LT_PARAMS((const char *diagnostic));
|
||||||
|
extern int lt_dlseterror LT_PARAMS((int errorcode));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* --- SOURCE COMPATIBILITY WITH OLD LIBLTDL --- */
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef LT_NON_POSIX_NAMESPACE
|
||||||
|
# define lt_ptr_t lt_ptr
|
||||||
|
# define lt_module_t lt_module
|
||||||
|
# define lt_module_open_t lt_module_open
|
||||||
|
# define lt_module_close_t lt_module_close
|
||||||
|
# define lt_find_sym_t lt_find_sym
|
||||||
|
# define lt_dlloader_exit_t lt_dlloader_exit
|
||||||
|
# define lt_dlloader_t lt_dlloader
|
||||||
|
# define lt_dlloader_data_t lt_user_data
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LT_END_C_DECLS
|
||||||
|
|
||||||
|
#endif /* !LTDL_H */
|
5118
src/libltdl/ltmain.sh
Normal file
5118
src/libltdl/ltmain.sh
Normal file
File diff suppressed because it is too large
Load diff
336
src/libltdl/missing
Executable file
336
src/libltdl/missing
Executable file
|
@ -0,0 +1,336 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# Common stub for a few missing GNU programs while installing.
|
||||||
|
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
|
||||||
|
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||||
|
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
|
if test $# -eq 0; then
|
||||||
|
echo 1>&2 "Try \`$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
run=:
|
||||||
|
|
||||||
|
# In the cases where this matters, `missing' is being run in the
|
||||||
|
# srcdir already.
|
||||||
|
if test -f configure.ac; then
|
||||||
|
configure_ac=configure.ac
|
||||||
|
else
|
||||||
|
configure_ac=configure.in
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
--run)
|
||||||
|
# Try to run requested program, and just exit if it succeeds.
|
||||||
|
run=
|
||||||
|
shift
|
||||||
|
"$@" && exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# If it does not exist, or fails to run (possibly an outdated version),
|
||||||
|
# try to emulate it.
|
||||||
|
case "$1" in
|
||||||
|
|
||||||
|
-h|--h|--he|--hel|--help)
|
||||||
|
echo "\
|
||||||
|
$0 [OPTION]... PROGRAM [ARGUMENT]...
|
||||||
|
|
||||||
|
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
|
||||||
|
error status if there is no known handling for PROGRAM.
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-h, --help display this help and exit
|
||||||
|
-v, --version output version information and exit
|
||||||
|
--run try to run the given command, and emulate it if it fails
|
||||||
|
|
||||||
|
Supported PROGRAM values:
|
||||||
|
aclocal touch file \`aclocal.m4'
|
||||||
|
autoconf touch file \`configure'
|
||||||
|
autoheader touch file \`config.h.in'
|
||||||
|
automake touch all \`Makefile.in' files
|
||||||
|
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||||
|
flex create \`lex.yy.c', if possible, from existing .c
|
||||||
|
help2man touch the output file
|
||||||
|
lex create \`lex.yy.c', if possible, from existing .c
|
||||||
|
makeinfo touch the output file
|
||||||
|
tar try tar, gnutar, gtar, then tar without non-portable flags
|
||||||
|
yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
|
||||||
|
;;
|
||||||
|
|
||||||
|
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
|
||||||
|
echo "missing 0.4 - GNU automake"
|
||||||
|
;;
|
||||||
|
|
||||||
|
-*)
|
||||||
|
echo 1>&2 "$0: Unknown \`$1' option"
|
||||||
|
echo 1>&2 "Try \`$0 --help' for more information"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
aclocal*)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
|
||||||
|
to install the \`Automake' and \`Perl' packages. Grab them from
|
||||||
|
any GNU archive site."
|
||||||
|
touch aclocal.m4
|
||||||
|
;;
|
||||||
|
|
||||||
|
autoconf)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`${configure_ac}'. You might want to install the
|
||||||
|
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
|
||||||
|
archive site."
|
||||||
|
touch configure
|
||||||
|
;;
|
||||||
|
|
||||||
|
autoheader)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`acconfig.h' or \`${configure_ac}'. You might want
|
||||||
|
to install the \`Autoconf' and \`GNU m4' packages. Grab them
|
||||||
|
from any GNU archive site."
|
||||||
|
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
|
||||||
|
test -z "$files" && files="config.h"
|
||||||
|
touch_files=
|
||||||
|
for f in $files; do
|
||||||
|
case "$f" in
|
||||||
|
*:*) touch_files="$touch_files "`echo "$f" |
|
||||||
|
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||||
|
*) touch_files="$touch_files $f.in";;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
touch $touch_files
|
||||||
|
;;
|
||||||
|
|
||||||
|
automake*)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
|
||||||
|
You might want to install the \`Automake' and \`Perl' packages.
|
||||||
|
Grab them from any GNU archive site."
|
||||||
|
find . -type f -name Makefile.am -print |
|
||||||
|
sed 's/\.am$/.in/' |
|
||||||
|
while read f; do touch "$f"; done
|
||||||
|
;;
|
||||||
|
|
||||||
|
autom4te)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||||
|
system. You might have modified some files without having the
|
||||||
|
proper tools for further handling them.
|
||||||
|
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||||
|
archive site."
|
||||||
|
|
||||||
|
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||||
|
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
|
||||||
|
if test -f "$file"; then
|
||||||
|
touch $file
|
||||||
|
else
|
||||||
|
test -z "$file" || exec >$file
|
||||||
|
echo "#! /bin/sh"
|
||||||
|
echo "# Created by GNU Automake missing as a replacement of"
|
||||||
|
echo "# $ $@"
|
||||||
|
echo "exit 0"
|
||||||
|
chmod +x $file
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
bison|yacc)
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a \`.y' file. You may need the \`Bison' package
|
||||||
|
in order for those modifications to take effect. You can get
|
||||||
|
\`Bison' from any GNU archive site."
|
||||||
|
rm -f y.tab.c y.tab.h
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
eval LASTARG="\${$#}"
|
||||||
|
case "$LASTARG" in
|
||||||
|
*.y)
|
||||||
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||||
|
if [ -f "$SRCFILE" ]; then
|
||||||
|
cp "$SRCFILE" y.tab.c
|
||||||
|
fi
|
||||||
|
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||||
|
if [ -f "$SRCFILE" ]; then
|
||||||
|
cp "$SRCFILE" y.tab.h
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ ! -f y.tab.h ]; then
|
||||||
|
echo >y.tab.h
|
||||||
|
fi
|
||||||
|
if [ ! -f y.tab.c ]; then
|
||||||
|
echo 'main() { return 0; }' >y.tab.c
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
lex|flex)
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a \`.l' file. You may need the \`Flex' package
|
||||||
|
in order for those modifications to take effect. You can get
|
||||||
|
\`Flex' from any GNU archive site."
|
||||||
|
rm -f lex.yy.c
|
||||||
|
if [ $# -ne 1 ]; then
|
||||||
|
eval LASTARG="\${$#}"
|
||||||
|
case "$LASTARG" in
|
||||||
|
*.l)
|
||||||
|
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||||
|
if [ -f "$SRCFILE" ]; then
|
||||||
|
cp "$SRCFILE" lex.yy.c
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
if [ ! -f lex.yy.c ]; then
|
||||||
|
echo 'main() { return 0; }' >lex.yy.c
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
help2man)
|
||||||
|
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
|
||||||
|
# We have it, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a dependency of a manual page. You may need the
|
||||||
|
\`Help2man' package in order for those modifications to take
|
||||||
|
effect. You can get \`Help2man' from any GNU archive site."
|
||||||
|
|
||||||
|
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||||
|
if test -z "$file"; then
|
||||||
|
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||||
|
fi
|
||||||
|
if [ -f "$file" ]; then
|
||||||
|
touch $file
|
||||||
|
else
|
||||||
|
test -z "$file" || exec >$file
|
||||||
|
echo ".ab help2man is required to generate this page"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
makeinfo)
|
||||||
|
if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then
|
||||||
|
# We have makeinfo, but it failed.
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is missing on your system. You should only need it if
|
||||||
|
you modified a \`.texi' or \`.texinfo' file, or any other file
|
||||||
|
indirectly affecting the aspect of the manual. The spurious
|
||||||
|
call might also be the consequence of using a buggy \`make' (AIX,
|
||||||
|
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||||
|
the \`GNU make' package. Grab either from any GNU archive site."
|
||||||
|
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||||
|
if test -z "$file"; then
|
||||||
|
file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||||
|
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file`
|
||||||
|
fi
|
||||||
|
touch $file
|
||||||
|
;;
|
||||||
|
|
||||||
|
tar)
|
||||||
|
shift
|
||||||
|
if test -n "$run"; then
|
||||||
|
echo 1>&2 "ERROR: \`tar' requires --run"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# We have already tried tar in the generic part.
|
||||||
|
# Look for gnutar/gtar before invocation to avoid ugly error
|
||||||
|
# messages.
|
||||||
|
if (gnutar --version > /dev/null 2>&1); then
|
||||||
|
gnutar "$@" && exit 0
|
||||||
|
fi
|
||||||
|
if (gtar --version > /dev/null 2>&1); then
|
||||||
|
gtar "$@" && exit 0
|
||||||
|
fi
|
||||||
|
firstarg="$1"
|
||||||
|
if shift; then
|
||||||
|
case "$firstarg" in
|
||||||
|
*o*)
|
||||||
|
firstarg=`echo "$firstarg" | sed s/o//`
|
||||||
|
tar "$firstarg" "$@" && exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
case "$firstarg" in
|
||||||
|
*h*)
|
||||||
|
firstarg=`echo "$firstarg" | sed s/h//`
|
||||||
|
tar "$firstarg" "$@" && exit 0
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: I can't seem to be able to run \`tar' with the given arguments.
|
||||||
|
You may want to install GNU tar or Free paxutils, or check the
|
||||||
|
command line arguments."
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo 1>&2 "\
|
||||||
|
WARNING: \`$1' is needed, and you do not seem to have it handy on your
|
||||||
|
system. You might have modified some files without having the
|
||||||
|
proper tools for further handling them. Check the \`README' file,
|
||||||
|
it often tells you about the needed prerequisites for installing
|
||||||
|
this package. You may also peek at any GNU archive site, in case
|
||||||
|
some other package would contain this missing \`$1' program."
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
111
src/libltdl/mkinstalldirs
Executable file
111
src/libltdl/mkinstalldirs
Executable file
|
@ -0,0 +1,111 @@
|
||||||
|
#! /bin/sh
|
||||||
|
# mkinstalldirs --- make directory hierarchy
|
||||||
|
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
|
||||||
|
# Created: 1993-05-16
|
||||||
|
# Public domain
|
||||||
|
|
||||||
|
errstatus=0
|
||||||
|
dirmode=""
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
||||||
|
|
||||||
|
# process command line arguments
|
||||||
|
while test $# -gt 0 ; do
|
||||||
|
case $1 in
|
||||||
|
-h | --help | --h*) # -h for help
|
||||||
|
echo "$usage" 1>&2
|
||||||
|
exit 0
|
||||||
|
;;
|
||||||
|
-m) # -m PERM arg
|
||||||
|
shift
|
||||||
|
test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
|
||||||
|
dirmode=$1
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
--) # stop option processing
|
||||||
|
shift
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
-*) # unknown option
|
||||||
|
echo "$usage" 1>&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
*) # first non-opt arg
|
||||||
|
break
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
for file
|
||||||
|
do
|
||||||
|
if test -d "$file"; then
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
case $# in
|
||||||
|
0) exit 0 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $dirmode in
|
||||||
|
'')
|
||||||
|
if mkdir -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -p -- $*"
|
||||||
|
exec mkdir -p -- "$@"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -m $dirmode -p -- $*"
|
||||||
|
exec mkdir -m "$dirmode" -p -- "$@"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
for file
|
||||||
|
do
|
||||||
|
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
|
||||||
|
shift
|
||||||
|
|
||||||
|
pathcomp=
|
||||||
|
for d
|
||||||
|
do
|
||||||
|
pathcomp="$pathcomp$d"
|
||||||
|
case $pathcomp in
|
||||||
|
-*) pathcomp=./$pathcomp ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if test ! -d "$pathcomp"; then
|
||||||
|
echo "mkdir $pathcomp"
|
||||||
|
|
||||||
|
mkdir "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
|
if test ! -d "$pathcomp"; then
|
||||||
|
errstatus=$lasterr
|
||||||
|
else
|
||||||
|
if test ! -z "$dirmode"; then
|
||||||
|
echo "chmod $dirmode $pathcomp"
|
||||||
|
lasterr=""
|
||||||
|
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
|
if test ! -z "$lasterr"; then
|
||||||
|
errstatus=$lasterr
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
pathcomp="$pathcomp/"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
exit $errstatus
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# End:
|
||||||
|
# mkinstalldirs ends here
|
1
src/libltdl/stamp-h.in
Normal file
1
src/libltdl/stamp-h.in
Normal file
|
@ -0,0 +1 @@
|
||||||
|
timestamp
|
|
@ -145,7 +145,7 @@ main (int argc, char *argv[])
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
/* initialise version */
|
/* initialise version */
|
||||||
strlcpy(me.version, NEOSTATS_VERSION, VERSIONSIZE);
|
strlcpy(me.version, VERSION, VERSIONSIZE);
|
||||||
/* get our commandline options */
|
/* get our commandline options */
|
||||||
if(get_options (argc, argv)!=NS_SUCCESS)
|
if(get_options (argc, argv)!=NS_SUCCESS)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
@ -215,7 +215,7 @@ main (int argc, char *argv[])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
nlog (LOG_NOTICE, "NeoStats \"%s\" started.", NEOSTATS_VERSION);
|
nlog (LOG_NOTICE, "NeoStats \"%s\" started.", VERSION);
|
||||||
|
|
||||||
/* Load modules after we fork. This fixes the load->fork-exit->call
|
/* Load modules after we fork. This fixes the load->fork-exit->call
|
||||||
_fini problems when we fork */
|
_fini problems when we fork */
|
||||||
|
|
|
@ -360,7 +360,7 @@ load_module (const char *modfilename, User * u)
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
/* Check module was built for this version of NeoStats */
|
/* Check module was built for this version of NeoStats */
|
||||||
if( ircstrncasecmp (NEOSTATS_VERSION, info_ptr->neostats_version, VERSIONSIZE) !=0 ) {
|
if( ircstrncasecmp (VERSION, info_ptr->neostats_version, VERSIONSIZE) !=0 ) {
|
||||||
nlog (LOG_WARNING, "Unable to load module: %s was built with an old version of NeoStats and must be rebuilt.", modfilename);
|
nlog (LOG_WARNING, "Unable to load module: %s was built with an old version of NeoStats and must be rebuilt.", modfilename);
|
||||||
ns_dlclose (dl_handle);
|
ns_dlclose (dl_handle);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
|
@ -58,6 +58,11 @@
|
||||||
#define __attribute__(x) /* NOTHING */
|
#define __attribute__(x) /* NOTHING */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef NEOSTATS_PACKAGE_VERSION
|
||||||
|
#define NEOSTATS_PACKAGE_VERSION PACKAGE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* NeoStats core API version.
|
* NeoStats core API version.
|
||||||
* A module should check this when loaded to ensure compatibility
|
* A module should check this when loaded to ensure compatibility
|
||||||
|
|
3
src/protocol/Makefile.am
Normal file
3
src/protocol/Makefile.am
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
noinst_LTLIBRARIES = libprotocol.la
|
||||||
|
libprotocol_la_SOURCES = @PROTOCOL@.c @PROTOCOL@.h
|
||||||
|
libprotocol_la_CFLAGS = -I.. -I../../include -I../pcre -I../adns
|
|
@ -1,35 +1,442 @@
|
||||||
include ../Makefile.inc
|
# Makefile.in generated by automake 1.7.8 from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
INCLUDES = -I.. -I../adns -I../pcre
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
|
||||||
|
# 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.
|
||||||
|
|
||||||
IRCDSRC = ultimate.c unreal.c hybrid7.c neoircd.c bahamut.c ircu.c mystic.c \
|
# This program is distributed in the hope that it will be useful,
|
||||||
quantum.c liquid.c viagra.c
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||||
IRCDINC = ${IRCDSRC:.c=.h}
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
SRCS = @PROTOCOL@.c
|
# PARTICULAR PURPOSE.
|
||||||
OBJS = ${SRCS:.c=.o}
|
|
||||||
|
|
||||||
DISTFILES = $(IRCDSRC) $(IRCDINC) $(BUILDFILES)
|
@SET_MAKE@
|
||||||
|
|
||||||
all: $(OBJS)
|
srcdir = @srcdir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
|
pkglibdir = $(libdir)/@PACKAGE@
|
||||||
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
top_builddir = ../..
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
|
INSTALL = @INSTALL@
|
||||||
|
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_triplet = @host@
|
||||||
|
ACLOCAL = @ACLOCAL@
|
||||||
|
ALLOCA = @ALLOCA@
|
||||||
|
AMDEP_FALSE = @AMDEP_FALSE@
|
||||||
|
AMDEP_TRUE = @AMDEP_TRUE@
|
||||||
|
AMTAR = @AMTAR@
|
||||||
|
AUTOCONF = @AUTOCONF@
|
||||||
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
AUTOMAKE = @AUTOMAKE@
|
||||||
|
AWK = @AWK@
|
||||||
|
CC = @CC@
|
||||||
|
CCDEPMODE = @CCDEPMODE@
|
||||||
|
CFLAGS = @CFLAGS@
|
||||||
|
CPP = @CPP@
|
||||||
|
CPPFLAGS = @CPPFLAGS@
|
||||||
|
CYGPATH_W = @CYGPATH_W@
|
||||||
|
DEFS = @DEFS@
|
||||||
|
DEPDIR = @DEPDIR@
|
||||||
|
ECHO = @ECHO@
|
||||||
|
ECHO_C = @ECHO_C@
|
||||||
|
ECHO_N = @ECHO_N@
|
||||||
|
ECHO_T = @ECHO_T@
|
||||||
|
EGREP = @EGREP@
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
GTK_CONFIG = @GTK_CONFIG@
|
||||||
|
INCLTDL = @INCLTDL@
|
||||||
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||||
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||||
|
LDFLAGS = @LDFLAGS@
|
||||||
|
LIBLTDL = @LIBLTDL@
|
||||||
|
LIBOBJS = @LIBOBJS@
|
||||||
|
LIBS = @LIBS@
|
||||||
|
LIBTOOL = @LIBTOOL@
|
||||||
|
LN_S = @LN_S@
|
||||||
|
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@
|
||||||
|
POW_LIB = @POW_LIB@
|
||||||
|
PROTOCOL = @PROTOCOL@
|
||||||
|
RANLIB = @RANLIB@
|
||||||
|
SED = @SED@
|
||||||
|
SET_MAKE = @SET_MAKE@
|
||||||
|
SHELL = @SHELL@
|
||||||
|
STRIP = @STRIP@
|
||||||
|
VERSION = @VERSION@
|
||||||
|
ac_ct_CC = @ac_ct_CC@
|
||||||
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
||||||
|
ac_ct_STRIP = @ac_ct_STRIP@
|
||||||
|
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@
|
||||||
|
bindir = @bindir@
|
||||||
|
build = @build@
|
||||||
|
build_alias = @build_alias@
|
||||||
|
build_configtool = @build_configtool@
|
||||||
|
build_cpu = @build_cpu@
|
||||||
|
build_os = @build_os@
|
||||||
|
build_vendor = @build_vendor@
|
||||||
|
buildsqlsrv = @buildsqlsrv@
|
||||||
|
datadir = @datadir@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
host = @host@
|
||||||
|
host_alias = @host_alias@
|
||||||
|
host_cpu = @host_cpu@
|
||||||
|
host_os = @host_os@
|
||||||
|
host_vendor = @host_vendor@
|
||||||
|
includedir = @includedir@
|
||||||
|
infodir = @infodir@
|
||||||
|
install_sh = @install_sh@
|
||||||
|
libdir = @libdir@
|
||||||
|
libexecdir = @libexecdir@
|
||||||
|
localstatedir = @localstatedir@
|
||||||
|
mandir = @mandir@
|
||||||
|
oldincludedir = @oldincludedir@
|
||||||
|
prefix = @prefix@
|
||||||
|
program_transform_name = @program_transform_name@
|
||||||
|
sbindir = @sbindir@
|
||||||
|
sharedstatedir = @sharedstatedir@
|
||||||
|
sqlsrvbuild = @sqlsrvbuild@
|
||||||
|
subdirs = @subdirs@
|
||||||
|
sysconfdir = @sysconfdir@
|
||||||
|
target_alias = @target_alias@
|
||||||
|
noinst_LTLIBRARIES = libprotocol.la
|
||||||
|
libprotocol_la_SOURCES = @PROTOCOL@.c @PROTOCOL@.h
|
||||||
|
libprotocol_la_CFLAGS = -I.. -I../../include -I../pcre -I../adns
|
||||||
|
subdir = src/protocol
|
||||||
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
|
mkinstalldirs = $(SHELL) $(top_srcdir)/autotools/mkinstalldirs
|
||||||
|
CONFIG_HEADER = $(top_builddir)/include/config.h
|
||||||
|
CONFIG_CLEAN_FILES =
|
||||||
|
LTLIBRARIES = $(noinst_LTLIBRARIES)
|
||||||
|
|
||||||
|
libprotocol_la_LDFLAGS =
|
||||||
|
libprotocol_la_LIBADD =
|
||||||
|
am_libprotocol_la_OBJECTS = libprotocol_la-@PROTOCOL@.lo
|
||||||
|
libprotocol_la_OBJECTS = $(am_libprotocol_la_OBJECTS)
|
||||||
|
|
||||||
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include
|
||||||
|
depcomp = $(SHELL) $(top_srcdir)/autotools/depcomp
|
||||||
|
am__depfiles_maybe = depfiles
|
||||||
|
@AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/libprotocol_la-@PROTOCOL@.Plo
|
||||||
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||||
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
|
||||||
|
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||||
|
CCLD = $(CC)
|
||||||
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||||
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||||
|
DIST_SOURCES = $(libprotocol_la_SOURCES)
|
||||||
|
DIST_COMMON = $(srcdir)/Makefile.in Makefile.am
|
||||||
|
SOURCES = $(libprotocol_la_SOURCES)
|
||||||
|
|
||||||
|
all: all-am
|
||||||
|
|
||||||
|
.SUFFIXES:
|
||||||
|
.SUFFIXES: .c .lo .o .obj
|
||||||
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
|
cd $(top_srcdir) && \
|
||||||
|
$(AUTOMAKE) --gnu src/protocol/Makefile
|
||||||
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
||||||
|
|
||||||
|
clean-noinstLTLIBRARIES:
|
||||||
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
||||||
|
@list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
|
||||||
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
||||||
|
test "$$dir" = "$$p" && dir=.; \
|
||||||
|
echo "rm -f \"$${dir}/so_locations\""; \
|
||||||
|
rm -f "$${dir}/so_locations"; \
|
||||||
|
done
|
||||||
|
libprotocol.la: $(libprotocol_la_OBJECTS) $(libprotocol_la_DEPENDENCIES)
|
||||||
|
$(LINK) $(libprotocol_la_LDFLAGS) $(libprotocol_la_OBJECTS) $(libprotocol_la_LIBADD) $(LIBS)
|
||||||
|
|
||||||
|
mostlyclean-compile:
|
||||||
|
-rm -f *.$(OBJEXT) core *.core
|
||||||
|
|
||||||
|
distclean-compile:
|
||||||
|
-rm -f *.tab.c
|
||||||
|
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libprotocol_la-@PROTOCOL@.Plo@am__quote@
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(CFLAGS) $(INCLUDES) -c $<
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
clean:
|
.c.obj:
|
||||||
$(RM) *.o *.lo *.so *.a *.exe config.h
|
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(COMPILE) -c `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
||||||
|
|
||||||
distclean:
|
.c.lo:
|
||||||
$(RM) *.o *.lo *.so *.a *.exe config.h
|
@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
||||||
|
|
||||||
depend:
|
libprotocol_la-@PROTOCOL@.o: @PROTOCOL@.c
|
||||||
$(CC) -MM $(INCLUDES) $(CFLAGS) $(SRCS) > .depend
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libprotocol_la_CFLAGS) $(CFLAGS) -MT libprotocol_la-@PROTOCOL@.o -MD -MP -MF "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libprotocol_la-@PROTOCOL@.o `test -f '@PROTOCOL@.c' || echo '$(srcdir)/'`@PROTOCOL@.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo" "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@PROTOCOL@.c' object='libprotocol_la-@PROTOCOL@.o' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libprotocol_la-@PROTOCOL@.Po' tmpdepfile='$(DEPDIR)/libprotocol_la-@PROTOCOL@.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libprotocol_la_CFLAGS) $(CFLAGS) -c -o libprotocol_la-@PROTOCOL@.o `test -f '@PROTOCOL@.c' || echo '$(srcdir)/'`@PROTOCOL@.c
|
||||||
|
|
||||||
install:
|
libprotocol_la-@PROTOCOL@.obj: @PROTOCOL@.c
|
||||||
$(INSTALL_DATA) @PROTOCOL@.h $(INCDIRECTORY)
|
@am__fastdepCC_TRUE@ if $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libprotocol_la_CFLAGS) $(CFLAGS) -MT libprotocol_la-@PROTOCOL@.obj -MD -MP -MF "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo" \
|
||||||
|
@am__fastdepCC_TRUE@ -c -o libprotocol_la-@PROTOCOL@.obj `if test -f '@PROTOCOL@.c'; then $(CYGPATH_W) '@PROTOCOL@.c'; else $(CYGPATH_W) '$(srcdir)/@PROTOCOL@.c'; fi`; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo" "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Po"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@PROTOCOL@.c' object='libprotocol_la-@PROTOCOL@.obj' libtool=no @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libprotocol_la-@PROTOCOL@.Po' tmpdepfile='$(DEPDIR)/libprotocol_la-@PROTOCOL@.TPo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libprotocol_la_CFLAGS) $(CFLAGS) -c -o libprotocol_la-@PROTOCOL@.obj `if test -f '@PROTOCOL@.c'; then $(CYGPATH_W) '@PROTOCOL@.c'; else $(CYGPATH_W) '$(srcdir)/@PROTOCOL@.c'; fi`
|
||||||
|
|
||||||
dist:
|
libprotocol_la-@PROTOCOL@.lo: @PROTOCOL@.c
|
||||||
@for file in $(DISTFILES); do \
|
@am__fastdepCC_TRUE@ if $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libprotocol_la_CFLAGS) $(CFLAGS) -MT libprotocol_la-@PROTOCOL@.lo -MD -MP -MF "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo" \
|
||||||
cp -pr $$file $(DISTDIR)/$$file; \
|
@am__fastdepCC_TRUE@ -c -o libprotocol_la-@PROTOCOL@.lo `test -f '@PROTOCOL@.c' || echo '$(srcdir)/'`@PROTOCOL@.c; \
|
||||||
|
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo" "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Plo"; \
|
||||||
|
@am__fastdepCC_TRUE@ else rm -f "$(DEPDIR)/libprotocol_la-@PROTOCOL@.Tpo"; exit 1; \
|
||||||
|
@am__fastdepCC_TRUE@ fi
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='@PROTOCOL@.c' object='libprotocol_la-@PROTOCOL@.lo' libtool=yes @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ depfile='$(DEPDIR)/libprotocol_la-@PROTOCOL@.Plo' tmpdepfile='$(DEPDIR)/libprotocol_la-@PROTOCOL@.TPlo' @AMDEPBACKSLASH@
|
||||||
|
@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||||
|
@am__fastdepCC_FALSE@ $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libprotocol_la_CFLAGS) $(CFLAGS) -c -o libprotocol_la-@PROTOCOL@.lo `test -f '@PROTOCOL@.c' || echo '$(srcdir)/'`@PROTOCOL@.c
|
||||||
|
|
||||||
|
mostlyclean-libtool:
|
||||||
|
-rm -f *.lo
|
||||||
|
|
||||||
|
clean-libtool:
|
||||||
|
-rm -rf .libs _libs
|
||||||
|
|
||||||
|
distclean-libtool:
|
||||||
|
-rm -f libtool
|
||||||
|
uninstall-info-am:
|
||||||
|
|
||||||
|
ETAGS = etags
|
||||||
|
ETAGSFLAGS =
|
||||||
|
|
||||||
|
CTAGS = ctags
|
||||||
|
CTAGSFLAGS =
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
ctags: CTAGS
|
||||||
|
CTAGS: $(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 "$(CTAGS_ARGS)$$tags$$unique" \
|
||||||
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_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 tags
|
||||||
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
||||||
|
|
||||||
|
top_distdir = ../..
|
||||||
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
||||||
|
|
||||||
|
distdir: $(DISTFILES)
|
||||||
|
@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"; \
|
||||||
|
$(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
|
done
|
||||||
|
check-am: all-am
|
||||||
|
check: check-am
|
||||||
|
all-am: Makefile $(LTLIBRARIES)
|
||||||
|
|
||||||
$(OBJS): Makefile ../Makefile.inc
|
installdirs:
|
||||||
|
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 $(CONFIG_CLEAN_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
|
||||||
|
|
||||||
|
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
||||||
|
mostlyclean-am
|
||||||
|
|
||||||
|
distclean: distclean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
distclean-am: clean-am distclean-compile distclean-generic \
|
||||||
|
distclean-libtool distclean-tags
|
||||||
|
|
||||||
|
dvi: dvi-am
|
||||||
|
|
||||||
|
dvi-am:
|
||||||
|
|
||||||
|
info: info-am
|
||||||
|
|
||||||
|
info-am:
|
||||||
|
|
||||||
|
install-data-am:
|
||||||
|
|
||||||
|
install-exec-am:
|
||||||
|
|
||||||
|
install-info: install-info-am
|
||||||
|
|
||||||
|
install-man:
|
||||||
|
|
||||||
|
installcheck-am:
|
||||||
|
|
||||||
|
maintainer-clean: maintainer-clean-am
|
||||||
|
-rm -rf ./$(DEPDIR)
|
||||||
|
-rm -f Makefile
|
||||||
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
||||||
|
|
||||||
|
mostlyclean: mostlyclean-am
|
||||||
|
|
||||||
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
||||||
|
mostlyclean-libtool
|
||||||
|
|
||||||
|
pdf: pdf-am
|
||||||
|
|
||||||
|
pdf-am:
|
||||||
|
|
||||||
|
ps: ps-am
|
||||||
|
|
||||||
|
ps-am:
|
||||||
|
|
||||||
|
uninstall-am: uninstall-info-am
|
||||||
|
|
||||||
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
||||||
|
clean-libtool clean-noinstLTLIBRARIES ctags distclean \
|
||||||
|
distclean-compile distclean-generic distclean-libtool \
|
||||||
|
distclean-tags distdir dvi dvi-am info info-am install \
|
||||||
|
install-am 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 mostlyclean-libtool pdf \
|
||||||
|
pdf-am ps ps-am tags uninstall uninstall-am 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:
|
||||||
|
|
|
@ -141,7 +141,7 @@ DelServer (const char *name, const char* reason)
|
||||||
hnode_destroy (sn);
|
hnode_destroy (sn);
|
||||||
sfree (s);
|
sfree (s);
|
||||||
}
|
}
|
||||||
|
#ifdef IRCU
|
||||||
Server *
|
Server *
|
||||||
findserverbase64 (const char *num)
|
findserverbase64 (const char *num)
|
||||||
{
|
{
|
||||||
|
@ -160,7 +160,7 @@ findserverbase64 (const char *num)
|
||||||
dlog(DEBUG3, "findserverbase64: %s not found!", num);
|
dlog(DEBUG3, "findserverbase64: %s not found!", num);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
Server *
|
Server *
|
||||||
findserver (const char *name)
|
findserver (const char *name)
|
||||||
{
|
{
|
||||||
|
|
|
@ -67,8 +67,8 @@ ModuleInfo ns_module_info = {
|
||||||
"NeoStats Statistical services",
|
"NeoStats Statistical services",
|
||||||
ns_copyright,
|
ns_copyright,
|
||||||
ns_about,
|
ns_about,
|
||||||
NEOSTATS_VERSION,
|
VERSION,
|
||||||
NEOSTATS_VERSION,
|
VERSION,
|
||||||
__DATE__,
|
__DATE__,
|
||||||
__TIME__,
|
__TIME__,
|
||||||
0,
|
0,
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include "neostats.h"
|
#include "neostats.h"
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#include <poll.h>
|
||||||
|
|
||||||
#include "dl.h"
|
#include "dl.h"
|
||||||
#include "adns.h"
|
#include "adns.h"
|
||||||
|
|
|
@ -133,9 +133,11 @@ AddUser (const char *nick, const char *user, const char *host, const char *realn
|
||||||
}
|
}
|
||||||
/* check if the user is excluded */
|
/* check if the user is excluded */
|
||||||
ns_do_exclude_user(u);
|
ns_do_exclude_user(u);
|
||||||
|
#ifdef IRCU
|
||||||
if((ircd_srv.protocol & PROTOCOL_B64SERVER) && numeric) {
|
if((ircd_srv.protocol & PROTOCOL_B64SERVER) && numeric) {
|
||||||
setnickbase64 (u->nick, numeric);
|
setnickbase64 (u->nick, numeric);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
cmdparams = (CmdParams*) scalloc (sizeof(CmdParams));
|
cmdparams = (CmdParams*) scalloc (sizeof(CmdParams));
|
||||||
cmdparams->source.user = u;
|
cmdparams->source.user = u;
|
||||||
SendAllModuleEvent (EVENT_SIGNON, cmdparams);
|
SendAllModuleEvent (EVENT_SIGNON, cmdparams);
|
||||||
|
@ -288,7 +290,7 @@ UserNick (const char * oldnick, const char *newnick, const char * ts)
|
||||||
sfree (cmdparams);
|
sfree (cmdparams);
|
||||||
return NS_SUCCESS;
|
return NS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#ifdef IRCU
|
||||||
User *
|
User *
|
||||||
finduserbase64 (const char *num)
|
finduserbase64 (const char *num)
|
||||||
{
|
{
|
||||||
|
@ -307,7 +309,7 @@ finduserbase64 (const char *num)
|
||||||
dlog(DEBUG3, "finduserbase64: %s not found", num);
|
dlog(DEBUG3, "finduserbase64: %s not found", num);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
User *
|
User *
|
||||||
finduser (const char *nick)
|
finduser (const char *nick)
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue