blob: 278ab48ea69ed6cb62121295fbb21cd8b6ae4116 [file] [log] [blame]
# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AR = @AR@
AS = @AS@
CC = @CC@
CXX = @CXX@
CXXCPP = @CXXCPP@
DLLTOOL = @DLLTOOL@
ECHO = @ECHO@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
F77 = @F77@
GCJ = @GCJ@
GCJFLAGS = @GCJFLAGS@
GEOIP_VERSION_INFO = @GEOIP_VERSION_INFO@
HAVE_LIB = @HAVE_LIB@
LIB = @LIB@
LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIB = @LTLIB@
MAKEINFO = @MAKEINFO@
OBJDUMP = @OBJDUMP@
OBJEXT = @OBJEXT@
PACKAGE = @PACKAGE@
RANLIB = @RANLIB@
RC = @RC@
STRIP = @STRIP@
VERSION = @VERSION@
WITH_CITY = @WITH_CITY@
NULL =
INCLUDES = -I$(top_srcdir)/libGeoIP -Wall -ansi $(NULL)
check_PROGRAMS = test-geoip
#if WITH_CITY
noinst_PROGRAMS = benchmark test-geoip-region test-geoip-city test-geoip-org test-geoip-asnum test-geoip-isp test-geoip-netspeed
#else
#noinst_PROGRAMS = benchmark test-geoip-region
#endif
DEPS = $(top_builddir)/libGeoIP/libGeoIP.la
LDADDS = $(top_builddir)/libGeoIP/libGeoIP.la
test_geoip_SOURCES = test-geoip.c
test_geoip_LDFLAGS =
test_geoip_DEPENDENCIES = $(DEPS)
test_geoip_LDADD = $(LDADDS)
test_geoip_region_SOURCES = test-geoip-region.c
test_geoip_region_LDFLAGS =
test_geoip_region_DEPENDENCIES = $(DEPS)
test_geoip_region_LDADD = $(LDADDS)
test_geoip_org_SOURCES = test-geoip-org.c
test_geoip_org_LDFLAGS =
test_geoip_org_DEPENDENCIES = $(DEPS)
test_geoip_org_LDADD = $(LDADDS)
test_geoip_isp_SOURCES = test-geoip-isp.c
test_geoip_isp_LDFLAGS =
test_geoip_isp_DEPENDENCIES = $(DEPS)
test_geoip_isp_LDADD = $(LDADDS)
test_geoip_asnum_SOURCES = test-geoip-asnum.c
test_geoip_asnum_LDFLAGS =
test_geoip_asnum_DEPENDENCIES = $(DEPS)
test_geoip_asnum_LDADD = $(LDADDS)
test_geoip_netspeed_SOURCES = test-geoip-netspeed.c
test_geoip_netspeed_LDFLAGS =
test_geoip_netspeed_DEPENDENCIES = $(DEPS)
test_geoip_netspeed_LDADD = $(LDADDS)
@WITH_CITY_TRUE@test_geoip_city_SOURCES = test-geoip-city.c
@WITH_CITY_TRUE@test_geoip_city_LDFLAGS =
@WITH_CITY_TRUE@test_geoip_city_DEPENDENCIES = $(DEPS)
@WITH_CITY_TRUE@test_geoip_city_LDADD = $(LDADDS)
benchmark_SOURCES = benchmark.c
benchmark_LDFLAGS =
benchmark_DEPENDENCIES = $(DEPS)
benchmark_LDADD = $(LDADDS)
EXTRA_DIST = country_test.txt country_test2.txt country_test_name.txt region_test.txt
TESTS = test-geoip
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
check_PROGRAMS = test-geoip$(EXEEXT)
noinst_PROGRAMS = benchmark$(EXEEXT) test-geoip-region$(EXEEXT) \
test-geoip-city$(EXEEXT) test-geoip-org$(EXEEXT) \
test-geoip-asnum$(EXEEXT) test-geoip-isp$(EXEEXT) \
test-geoip-netspeed$(EXEEXT)
PROGRAMS = $(noinst_PROGRAMS)
DEFS = @DEFS@ -I. -I$(srcdir)
CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
test_geoip_OBJECTS = test-geoip.$(OBJEXT)
benchmark_OBJECTS = benchmark.$(OBJEXT)
test_geoip_region_OBJECTS = test-geoip-region.$(OBJEXT)
@WITH_CITY_TRUE@test_geoip_city_OBJECTS = test-geoip-city.$(OBJEXT)
test_geoip_org_OBJECTS = test-geoip-org.$(OBJEXT)
test_geoip_asnum_OBJECTS = test-geoip-asnum.$(OBJEXT)
test_geoip_isp_OBJECTS = test-geoip-isp.$(OBJEXT)
test_geoip_netspeed_OBJECTS = test-geoip-netspeed.$(OBJEXT)
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = Makefile.am Makefile.in
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = gtar
GZIP_ENV = --best
SOURCES = $(test_geoip_SOURCES) $(benchmark_SOURCES) $(test_geoip_region_SOURCES) $(test_geoip_city_SOURCES) $(test_geoip_org_SOURCES) $(test_geoip_asnum_SOURCES) $(test_geoip_isp_SOURCES) $(test_geoip_netspeed_SOURCES)
OBJECTS = $(test_geoip_OBJECTS) $(benchmark_OBJECTS) $(test_geoip_region_OBJECTS) $(test_geoip_city_OBJECTS) $(test_geoip_org_OBJECTS) $(test_geoip_asnum_OBJECTS) $(test_geoip_isp_OBJECTS) $(test_geoip_netspeed_OBJECTS)
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .obj .s
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps test/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-checkPROGRAMS:
clean-checkPROGRAMS:
-test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
distclean-checkPROGRAMS:
maintainer-clean-checkPROGRAMS:
mostlyclean-noinstPROGRAMS:
clean-noinstPROGRAMS:
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
distclean-noinstPROGRAMS:
maintainer-clean-noinstPROGRAMS:
.c.o:
$(COMPILE) -c $<
# FIXME: We should only use cygpath when building on Windows,
# and only if it is available.
.c.obj:
$(COMPILE) -c `cygpath -w $<`
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile:
-rm -f *.o core *.core
-rm -f *.$(OBJEXT)
clean-compile:
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
.c.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.S.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
maintainer-clean-libtool:
test-geoip$(EXEEXT): $(test_geoip_OBJECTS) $(test_geoip_DEPENDENCIES)
@rm -f test-geoip$(EXEEXT)
$(LINK) $(test_geoip_LDFLAGS) $(test_geoip_OBJECTS) $(test_geoip_LDADD) $(LIBS)
benchmark$(EXEEXT): $(benchmark_OBJECTS) $(benchmark_DEPENDENCIES)
@rm -f benchmark$(EXEEXT)
$(LINK) $(benchmark_LDFLAGS) $(benchmark_OBJECTS) $(benchmark_LDADD) $(LIBS)
test-geoip-region$(EXEEXT): $(test_geoip_region_OBJECTS) $(test_geoip_region_DEPENDENCIES)
@rm -f test-geoip-region$(EXEEXT)
$(LINK) $(test_geoip_region_LDFLAGS) $(test_geoip_region_OBJECTS) $(test_geoip_region_LDADD) $(LIBS)
test-geoip-city$(EXEEXT): $(test_geoip_city_OBJECTS) $(test_geoip_city_DEPENDENCIES)
@rm -f test-geoip-city$(EXEEXT)
$(LINK) $(test_geoip_city_LDFLAGS) $(test_geoip_city_OBJECTS) $(test_geoip_city_LDADD) $(LIBS)
test-geoip-org$(EXEEXT): $(test_geoip_org_OBJECTS) $(test_geoip_org_DEPENDENCIES)
@rm -f test-geoip-org$(EXEEXT)
$(LINK) $(test_geoip_org_LDFLAGS) $(test_geoip_org_OBJECTS) $(test_geoip_org_LDADD) $(LIBS)
test-geoip-asnum$(EXEEXT): $(test_geoip_asnum_OBJECTS) $(test_geoip_asnum_DEPENDENCIES)
@rm -f test-geoip-asnum$(EXEEXT)
$(LINK) $(test_geoip_asnum_LDFLAGS) $(test_geoip_asnum_OBJECTS) $(test_geoip_asnum_LDADD) $(LIBS)
test-geoip-isp$(EXEEXT): $(test_geoip_isp_OBJECTS) $(test_geoip_isp_DEPENDENCIES)
@rm -f test-geoip-isp$(EXEEXT)
$(LINK) $(test_geoip_isp_LDFLAGS) $(test_geoip_isp_OBJECTS) $(test_geoip_isp_LDADD) $(LIBS)
test-geoip-netspeed$(EXEEXT): $(test_geoip_netspeed_OBJECTS) $(test_geoip_netspeed_DEPENDENCIES)
@rm -f test-geoip-netspeed$(EXEEXT)
$(LINK) $(test_geoip_netspeed_LDFLAGS) $(test_geoip_netspeed_OBJECTS) $(test_geoip_netspeed_LDADD) $(LIBS)
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = test
distdir: $(DISTFILES)
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
benchmark.o: benchmark.c ../libGeoIP/GeoIP.h
test-geoip-asnum.o: test-geoip-asnum.c ../libGeoIP/GeoIP.h
test-geoip-city.o: test-geoip-city.c ../libGeoIP/GeoIP.h \
../libGeoIP/GeoIPCity.h ../libGeoIP/GeoIP.h
test-geoip-isp.o: test-geoip-isp.c ../libGeoIP/GeoIP.h
test-geoip-netspeed.o: test-geoip-netspeed.c ../libGeoIP/GeoIP.h
test-geoip-org.o: test-geoip-org.c ../libGeoIP/GeoIP.h
test-geoip-proxy.o: test-geoip-proxy.c ../libGeoIP/GeoIP.h
test-geoip-region.o: test-geoip-region.c ../libGeoIP/GeoIP.h
test-geoip.o: test-geoip.c ../libGeoIP/GeoIP.h
check-TESTS: $(TESTS)
@failed=0; all=0; \
srcdir=$(srcdir); export srcdir; \
for tst in $(TESTS); do \
if test -f $$tst; then dir=.; \
else dir="$(srcdir)"; fi; \
if $(TESTS_ENVIRONMENT) $$dir/$$tst; then \
all=`expr $$all + 1`; \
echo "PASS: $$tst"; \
elif test $$? -ne 77; then \
all=`expr $$all + 1`; \
failed=`expr $$failed + 1`; \
echo "FAIL: $$tst"; \
fi; \
done; \
if test "$$failed" -eq 0; then \
banner="All $$all tests passed"; \
else \
banner="$$failed of $$all tests failed"; \
fi; \
dashes=`echo "$$banner" | sed s/./=/g`; \
echo "$$dashes"; \
echo "$$banner"; \
echo "$$dashes"; \
test "$$failed" -eq 0
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am:
install-exec: install-exec-am
install-data-am:
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am:
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-checkPROGRAMS mostlyclean-noinstPROGRAMS \
mostlyclean-compile mostlyclean-libtool \
mostlyclean-tags mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-checkPROGRAMS clean-noinstPROGRAMS clean-compile \
clean-libtool clean-tags clean-generic mostlyclean-am
clean: clean-am
distclean-am: distclean-checkPROGRAMS distclean-noinstPROGRAMS \
distclean-compile distclean-libtool distclean-tags \
distclean-generic clean-am
-rm -f libtool
distclean: distclean-am
maintainer-clean-am: maintainer-clean-checkPROGRAMS \
maintainer-clean-noinstPROGRAMS \
maintainer-clean-compile maintainer-clean-libtool \
maintainer-clean-tags maintainer-clean-generic \
distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: mostlyclean-checkPROGRAMS distclean-checkPROGRAMS \
clean-checkPROGRAMS maintainer-clean-checkPROGRAMS \
mostlyclean-noinstPROGRAMS distclean-noinstPROGRAMS \
clean-noinstPROGRAMS maintainer-clean-noinstPROGRAMS \
mostlyclean-compile distclean-compile clean-compile \
maintainer-clean-compile mostlyclean-libtool distclean-libtool \
clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
distclean-tags clean-tags maintainer-clean-tags distdir check-TESTS \
info-am info dvi-am dvi check check-am installcheck-am installcheck \
install-exec-am install-exec install-data-am install-data install-am \
install uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
# 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: