google_hash 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +21 -0
- data/Rakefile +11 -0
- data/VERSION +1 -0
- data/ext/extconf.rb +15 -0
- data/ext/go.cpp +109 -0
- data/ext/sparsehash-1.5.2/AUTHORS +2 -0
- data/ext/sparsehash-1.5.2/COPYING +28 -0
- data/ext/sparsehash-1.5.2/ChangeLog +167 -0
- data/ext/sparsehash-1.5.2/INSTALL +236 -0
- data/ext/sparsehash-1.5.2/Makefile.am +157 -0
- data/ext/sparsehash-1.5.2/Makefile.in +1019 -0
- data/ext/sparsehash-1.5.2/NEWS +0 -0
- data/ext/sparsehash-1.5.2/README +149 -0
- data/ext/sparsehash-1.5.2/README.windows +25 -0
- data/ext/sparsehash-1.5.2/TODO +28 -0
- data/ext/sparsehash-1.5.2/aclocal.m4 +868 -0
- data/ext/sparsehash-1.5.2/compile +99 -0
- data/ext/sparsehash-1.5.2/config.guess +1516 -0
- data/ext/sparsehash-1.5.2/config.sub +1626 -0
- data/ext/sparsehash-1.5.2/configure +8054 -0
- data/ext/sparsehash-1.5.2/configure.ac +74 -0
- data/ext/sparsehash-1.5.2/depcomp +530 -0
- data/ext/sparsehash-1.5.2/doc/dense_hash_map.html +1591 -0
- data/ext/sparsehash-1.5.2/doc/dense_hash_set.html +1445 -0
- data/ext/sparsehash-1.5.2/doc/designstyle.css +115 -0
- data/ext/sparsehash-1.5.2/doc/implementation.html +365 -0
- data/ext/sparsehash-1.5.2/doc/index.html +69 -0
- data/ext/sparsehash-1.5.2/doc/performance.html +96 -0
- data/ext/sparsehash-1.5.2/doc/sparse_hash_map.html +1527 -0
- data/ext/sparsehash-1.5.2/doc/sparse_hash_set.html +1376 -0
- data/ext/sparsehash-1.5.2/doc/sparsetable.html +1393 -0
- data/ext/sparsehash-1.5.2/experimental/Makefile +9 -0
- data/ext/sparsehash-1.5.2/experimental/README +14 -0
- data/ext/sparsehash-1.5.2/experimental/example.c +54 -0
- data/ext/sparsehash-1.5.2/experimental/libchash.c +1537 -0
- data/ext/sparsehash-1.5.2/experimental/libchash.h +252 -0
- data/ext/sparsehash-1.5.2/google-sparsehash.sln +47 -0
- data/ext/sparsehash-1.5.2/install-sh +323 -0
- data/ext/sparsehash-1.5.2/m4/acx_pthread.m4 +363 -0
- data/ext/sparsehash-1.5.2/m4/google_namespace.m4 +42 -0
- data/ext/sparsehash-1.5.2/m4/namespaces.m4 +15 -0
- data/ext/sparsehash-1.5.2/m4/stl_hash.m4 +70 -0
- data/ext/sparsehash-1.5.2/m4/stl_hash_fun.m4 +36 -0
- data/ext/sparsehash-1.5.2/m4/stl_namespace.m4 +25 -0
- data/ext/sparsehash-1.5.2/missing +360 -0
- data/ext/sparsehash-1.5.2/mkinstalldirs +158 -0
- data/ext/sparsehash-1.5.2/packages/deb.sh +74 -0
- data/ext/sparsehash-1.5.2/packages/deb/README +7 -0
- data/ext/sparsehash-1.5.2/packages/deb/changelog +107 -0
- data/ext/sparsehash-1.5.2/packages/deb/compat +1 -0
- data/ext/sparsehash-1.5.2/packages/deb/control +17 -0
- data/ext/sparsehash-1.5.2/packages/deb/copyright +35 -0
- data/ext/sparsehash-1.5.2/packages/deb/docs +16 -0
- data/ext/sparsehash-1.5.2/packages/deb/rules +117 -0
- data/ext/sparsehash-1.5.2/packages/deb/sparsehash.dirs +2 -0
- data/ext/sparsehash-1.5.2/packages/deb/sparsehash.install +2 -0
- data/ext/sparsehash-1.5.2/packages/rpm.sh +86 -0
- data/ext/sparsehash-1.5.2/packages/rpm/rpm.spec +61 -0
- data/ext/sparsehash-1.5.2/src/config.h.in +131 -0
- data/ext/sparsehash-1.5.2/src/config.h.include +23 -0
- data/ext/sparsehash-1.5.2/src/google/dense_hash_map +310 -0
- data/ext/sparsehash-1.5.2/src/google/dense_hash_set +287 -0
- data/ext/sparsehash-1.5.2/src/google/sparse_hash_map +294 -0
- data/ext/sparsehash-1.5.2/src/google/sparse_hash_set +275 -0
- data/ext/sparsehash-1.5.2/src/google/sparsehash/densehashtable.h +1062 -0
- data/ext/sparsehash-1.5.2/src/google/sparsehash/sparsehashtable.h +1015 -0
- data/ext/sparsehash-1.5.2/src/google/sparsetable +1468 -0
- data/ext/sparsehash-1.5.2/src/google/type_traits.h +250 -0
- data/ext/sparsehash-1.5.2/src/hashtable_unittest.cc +1375 -0
- data/ext/sparsehash-1.5.2/src/simple_test.cc +103 -0
- data/ext/sparsehash-1.5.2/src/sparsetable_unittest.cc +696 -0
- data/ext/sparsehash-1.5.2/src/time_hash_map.cc +488 -0
- data/ext/sparsehash-1.5.2/src/type_traits_unittest.cc +492 -0
- data/ext/sparsehash-1.5.2/src/windows/config.h +149 -0
- data/ext/sparsehash-1.5.2/src/windows/google/sparsehash/sparseconfig.h +32 -0
- data/ext/sparsehash-1.5.2/src/windows/port.cc +63 -0
- data/ext/sparsehash-1.5.2/src/windows/port.h +81 -0
- data/ext/sparsehash-1.5.2/src/words +8944 -0
- data/ext/sparsehash-1.5.2/vsprojects/hashtable_unittest/hashtable_unittest.vcproj +187 -0
- data/ext/sparsehash-1.5.2/vsprojects/sparsetable_unittest/sparsetable_unittest.vcproj +172 -0
- data/ext/sparsehash-1.5.2/vsprojects/time_hash_map/time_hash_map.vcproj +187 -0
- data/ext/sparsehash-1.5.2/vsprojects/type_traits_unittest/type_traits_unittest.vcproj +169 -0
- data/ext/test.rb +10 -0
- data/test/spec.go +70 -0
- metadata +147 -0
@@ -0,0 +1,157 @@
|
|
1
|
+
## Process this file with automake to produce Makefile.in
|
2
|
+
|
3
|
+
# Make sure that when we re-make ./configure, we get the macros we need
|
4
|
+
ACLOCAL_AMFLAGS = -I m4
|
5
|
+
|
6
|
+
# This is so we can #include <google/foo>
|
7
|
+
AM_CPPFLAGS = -I$(top_srcdir)/src
|
8
|
+
|
9
|
+
# These are good warnings to turn on by default
|
10
|
+
if GCC
|
11
|
+
AM_CXXFLAGS = -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow
|
12
|
+
endif
|
13
|
+
|
14
|
+
googleincludedir = $(includedir)/google
|
15
|
+
## The .h files you want to install (that is, .h files that people
|
16
|
+
## who install this package can include in their own applications.)
|
17
|
+
googleinclude_HEADERS = \
|
18
|
+
src/google/dense_hash_map \
|
19
|
+
src/google/dense_hash_set \
|
20
|
+
src/google/sparse_hash_map \
|
21
|
+
src/google/sparse_hash_set \
|
22
|
+
src/google/sparsetable \
|
23
|
+
src/google/type_traits.h
|
24
|
+
|
25
|
+
docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
26
|
+
## This is for HTML and other documentation you want to install.
|
27
|
+
## Add your documentation files (in doc/) in addition to these boilerplate
|
28
|
+
## Also add a TODO file if you have one
|
29
|
+
dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README README.windows \
|
30
|
+
TODO \
|
31
|
+
doc/dense_hash_map.html \
|
32
|
+
doc/dense_hash_set.html \
|
33
|
+
doc/sparse_hash_map.html \
|
34
|
+
doc/sparse_hash_set.html \
|
35
|
+
doc/sparsetable.html \
|
36
|
+
doc/implementation.html \
|
37
|
+
doc/performance.html \
|
38
|
+
doc/index.html \
|
39
|
+
doc/designstyle.css
|
40
|
+
|
41
|
+
## The libraries (.so's) you want to install
|
42
|
+
lib_LTLIBRARIES =
|
43
|
+
## The location of the windows project file for each binary we make
|
44
|
+
WINDOWS_PROJECTS = google-sparsehash.sln
|
45
|
+
|
46
|
+
## unittests you want to run when people type 'make check'.
|
47
|
+
## TESTS is for binary unittests, check_SCRIPTS for script-based unittests.
|
48
|
+
## TESTS_ENVIRONMENT sets environment variables for when you run unittest,
|
49
|
+
## but it only seems to take effect for *binary* unittests (argh!)
|
50
|
+
TESTS = type_traits_unittest sparsetable_unittest hashtable_unittest \
|
51
|
+
simple_test
|
52
|
+
# TODO(csilvers): get simple_test working on windows
|
53
|
+
WINDOWS_PROJECTS += vsprojects/type_traits_unittest/type_traits_unittest.vcproj \
|
54
|
+
vsprojects/sparsetable_unittest/sparsetable_unittest.vcproj \
|
55
|
+
vsprojects/hashtable_unittest/hashtable_unittest.vcproj
|
56
|
+
check_SCRIPTS =
|
57
|
+
TESTS_ENVIRONMENT =
|
58
|
+
|
59
|
+
## This should always include $(TESTS), but may also include other
|
60
|
+
## binaries that you compile but don't want automatically installed.
|
61
|
+
noinst_PROGRAMS = $(TESTS) time_hash_map
|
62
|
+
WINDOWS_PROJECTS += vsprojects/time_hash_map/time_hash_map.vcproj
|
63
|
+
|
64
|
+
|
65
|
+
## vvvv RULES TO MAKE THE LIBRARIES, BINARIES, AND UNITTESTS
|
66
|
+
|
67
|
+
# All our .h files need to read the config information in config.h. The
|
68
|
+
# autoheader config.h has too much info, including PACKAGENAME, that
|
69
|
+
# might conflict with other config.h's an application might #include.
|
70
|
+
# Thus, we create a "minimal" config.h, called sparseconfig.h, that
|
71
|
+
# includes only the #defines we really need, and that are unlikely to
|
72
|
+
# change from system to system. NOTE: The awk command is equivalent to
|
73
|
+
# fgrep -B2 -f- $(top_builddir)/src/config.h \
|
74
|
+
# fgrep -vx -e -- > _sparsehash_config
|
75
|
+
# For correctness, it depends on the fact config.h.include does not have
|
76
|
+
# any lines starting with #.
|
77
|
+
src/google/sparsehash/sparseconfig.h: $(top_builddir)/src/config.h \
|
78
|
+
$(top_srcdir)/src/config.h.include
|
79
|
+
[ -d $(@D) ] || mkdir -p $(@D)
|
80
|
+
echo "/*" > $(@D)/_sparsehash_config
|
81
|
+
echo " * NOTE: This file is for internal use only." >> $(@D)/_sparsehash_config
|
82
|
+
echo " * Do not use these #defines in your own program!" >> $(@D)/_sparsehash_config
|
83
|
+
echo " */" >> $(@D)/_sparsehash_config
|
84
|
+
$(AWK) '{prevline=currline; currline=$$0;} \
|
85
|
+
/^#/ {in_second_file = 1;} \
|
86
|
+
!in_second_file {if (currline !~ /^ *$$/) {inc[currline]=0}}; \
|
87
|
+
in_second_file { for (i in inc) { \
|
88
|
+
if (index(currline, i) != 0) { \
|
89
|
+
print "\n"prevline"\n"currline; \
|
90
|
+
delete inc[i]; \
|
91
|
+
} \
|
92
|
+
} }' \
|
93
|
+
$(top_srcdir)/src/config.h.include $(top_builddir)/src/config.h \
|
94
|
+
>> $(@D)/_sparsehash_config
|
95
|
+
mv -f $(@D)/_sparsehash_config $@
|
96
|
+
# This is how we tell automake about auto-generated .h files
|
97
|
+
BUILT_SOURCES = src/google/sparsehash/sparseconfig.h
|
98
|
+
CLEANFILES = src/google/sparsehash/sparseconfig.h
|
99
|
+
|
100
|
+
sparsehashincludedir = $(googleincludedir)/sparsehash
|
101
|
+
sparsehashinclude_HEADERS = \
|
102
|
+
src/google/sparsehash/densehashtable.h \
|
103
|
+
src/google/sparsehash/sparsehashtable.h
|
104
|
+
nodist_sparsehashinclude_HEADERS = src/google/sparsehash/sparseconfig.h
|
105
|
+
|
106
|
+
type_traits_unittest_SOURCES = \
|
107
|
+
src/type_traits_unittest.cc \
|
108
|
+
$(sparsehashinclude_HEADERS) \
|
109
|
+
src/google/type_traits.h
|
110
|
+
nodist_type_traits_unittest_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
111
|
+
|
112
|
+
sparsetable_unittest_SOURCES = \
|
113
|
+
src/sparsetable_unittest.cc \
|
114
|
+
$(sparsehashinclude_HEADERS) \
|
115
|
+
src/google/sparsetable
|
116
|
+
nodist_sparsetable_unittest_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
117
|
+
|
118
|
+
hashtable_unittest_SOURCES = \
|
119
|
+
src/hashtable_unittest.cc \
|
120
|
+
$(googleinclude_HEADERS) \
|
121
|
+
$(sparsehashinclude_HEADERS) \
|
122
|
+
src/words
|
123
|
+
nodist_hashtable_unittest_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
124
|
+
|
125
|
+
simple_test_SOURCES = \
|
126
|
+
src/simple_test.cc \
|
127
|
+
$(sparsehashinclude_HEADERS)
|
128
|
+
nodist_simple_test_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
129
|
+
|
130
|
+
time_hash_map_SOURCES = \
|
131
|
+
src/time_hash_map.cc \
|
132
|
+
$(sparsehashinclude_HEADERS) \
|
133
|
+
$(googleinclude_HEADERS)
|
134
|
+
nodist_time_hash_map_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
135
|
+
|
136
|
+
# If tcmalloc is installed, use it with time_hash_map; it gives us
|
137
|
+
# heap-usage statistics for the hash_map routines, which is very nice
|
138
|
+
time_hash_map_CXXFLAGS = @tcmalloc_flags@ $(AM_CXXFLAGS)
|
139
|
+
time_hash_map_LDFLAGS = @tcmalloc_flags@
|
140
|
+
time_hash_map_LDADD = @tcmalloc_libs@
|
141
|
+
|
142
|
+
## ^^^^ END OF RULES TO MAKE THE LIBRARIES, BINARIES, AND UNITTESTS
|
143
|
+
|
144
|
+
|
145
|
+
rpm: dist-gzip packages/rpm.sh packages/rpm/rpm.spec
|
146
|
+
@cd packages && ./rpm.sh ${PACKAGE} ${VERSION}
|
147
|
+
|
148
|
+
deb: dist-gzip packages/deb.sh packages/deb/*
|
149
|
+
@cd packages && ./deb.sh ${PACKAGE} ${VERSION}
|
150
|
+
|
151
|
+
# Windows wants write permission to .vcproj files and maybe even sln files.
|
152
|
+
dist-hook:
|
153
|
+
test -e "$(distdir)/vsprojects" \
|
154
|
+
&& chmod -R u+w $(distdir)/*.sln $(distdir)/vsprojects/
|
155
|
+
|
156
|
+
EXTRA_DIST = packages/rpm.sh packages/rpm/rpm.spec packages/deb.sh packages/deb \
|
157
|
+
src/config.h.include src/windows $(WINDOWS_PROJECTS) experimental
|
@@ -0,0 +1,1019 @@
|
|
1
|
+
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
2
|
+
# @configure_input@
|
3
|
+
|
4
|
+
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
+
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
6
|
+
# This Makefile.in is free software; the Free Software Foundation
|
7
|
+
# gives unlimited permission to copy and/or distribute it,
|
8
|
+
# with or without modifications, as long as this notice is preserved.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
12
|
+
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
13
|
+
# PARTICULAR PURPOSE.
|
14
|
+
|
15
|
+
@SET_MAKE@
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
srcdir = @srcdir@
|
21
|
+
top_srcdir = @top_srcdir@
|
22
|
+
VPATH = @srcdir@
|
23
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
24
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
25
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
26
|
+
top_builddir = .
|
27
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
28
|
+
INSTALL = @INSTALL@
|
29
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
30
|
+
install_sh_PROGRAM = $(install_sh) -c
|
31
|
+
install_sh_SCRIPT = $(install_sh) -c
|
32
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
33
|
+
transform = $(program_transform_name)
|
34
|
+
NORMAL_INSTALL = :
|
35
|
+
PRE_INSTALL = :
|
36
|
+
POST_INSTALL = :
|
37
|
+
NORMAL_UNINSTALL = :
|
38
|
+
PRE_UNINSTALL = :
|
39
|
+
POST_UNINSTALL = :
|
40
|
+
build_triplet = @build@
|
41
|
+
host_triplet = @host@
|
42
|
+
noinst_PROGRAMS = $(am__EXEEXT_1) time_hash_map$(EXEEXT)
|
43
|
+
DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \
|
44
|
+
$(googleinclude_HEADERS) $(sparsehashinclude_HEADERS) \
|
45
|
+
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
46
|
+
$(top_srcdir)/configure $(top_srcdir)/src/config.h.in AUTHORS \
|
47
|
+
COPYING ChangeLog INSTALL NEWS TODO compile config.guess \
|
48
|
+
config.sub depcomp install-sh missing mkinstalldirs
|
49
|
+
subdir = .
|
50
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
51
|
+
am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
|
52
|
+
$(top_srcdir)/m4/google_namespace.m4 \
|
53
|
+
$(top_srcdir)/m4/namespaces.m4 $(top_srcdir)/m4/stl_hash.m4 \
|
54
|
+
$(top_srcdir)/m4/stl_hash_fun.m4 \
|
55
|
+
$(top_srcdir)/m4/stl_namespace.m4 $(top_srcdir)/configure.ac
|
56
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
57
|
+
$(ACLOCAL_M4)
|
58
|
+
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
59
|
+
configure.lineno configure.status.lineno
|
60
|
+
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
61
|
+
CONFIG_HEADER = $(top_builddir)/src/config.h
|
62
|
+
CONFIG_CLEAN_FILES =
|
63
|
+
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
64
|
+
am__vpath_adj = case $$p in \
|
65
|
+
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
66
|
+
*) f=$$p;; \
|
67
|
+
esac;
|
68
|
+
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
69
|
+
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(docdir)" \
|
70
|
+
"$(DESTDIR)$(googleincludedir)" \
|
71
|
+
"$(DESTDIR)$(sparsehashincludedir)" \
|
72
|
+
"$(DESTDIR)$(sparsehashincludedir)"
|
73
|
+
libLTLIBRARIES_INSTALL = $(INSTALL)
|
74
|
+
LTLIBRARIES = $(lib_LTLIBRARIES)
|
75
|
+
am__EXEEXT_1 = type_traits_unittest$(EXEEXT) \
|
76
|
+
sparsetable_unittest$(EXEEXT) hashtable_unittest$(EXEEXT) \
|
77
|
+
simple_test$(EXEEXT)
|
78
|
+
PROGRAMS = $(noinst_PROGRAMS)
|
79
|
+
am__objects_1 =
|
80
|
+
am_hashtable_unittest_OBJECTS = hashtable_unittest.$(OBJEXT) \
|
81
|
+
$(am__objects_1) $(am__objects_1)
|
82
|
+
nodist_hashtable_unittest_OBJECTS = $(am__objects_1)
|
83
|
+
hashtable_unittest_OBJECTS = $(am_hashtable_unittest_OBJECTS) \
|
84
|
+
$(nodist_hashtable_unittest_OBJECTS)
|
85
|
+
hashtable_unittest_LDADD = $(LDADD)
|
86
|
+
am_simple_test_OBJECTS = simple_test.$(OBJEXT) $(am__objects_1)
|
87
|
+
nodist_simple_test_OBJECTS = $(am__objects_1)
|
88
|
+
simple_test_OBJECTS = $(am_simple_test_OBJECTS) \
|
89
|
+
$(nodist_simple_test_OBJECTS)
|
90
|
+
simple_test_LDADD = $(LDADD)
|
91
|
+
am_sparsetable_unittest_OBJECTS = sparsetable_unittest.$(OBJEXT) \
|
92
|
+
$(am__objects_1)
|
93
|
+
nodist_sparsetable_unittest_OBJECTS = $(am__objects_1)
|
94
|
+
sparsetable_unittest_OBJECTS = $(am_sparsetable_unittest_OBJECTS) \
|
95
|
+
$(nodist_sparsetable_unittest_OBJECTS)
|
96
|
+
sparsetable_unittest_LDADD = $(LDADD)
|
97
|
+
am_time_hash_map_OBJECTS = time_hash_map-time_hash_map.$(OBJEXT) \
|
98
|
+
$(am__objects_1) $(am__objects_1)
|
99
|
+
nodist_time_hash_map_OBJECTS = $(am__objects_1)
|
100
|
+
time_hash_map_OBJECTS = $(am_time_hash_map_OBJECTS) \
|
101
|
+
$(nodist_time_hash_map_OBJECTS)
|
102
|
+
time_hash_map_DEPENDENCIES =
|
103
|
+
am_type_traits_unittest_OBJECTS = type_traits_unittest.$(OBJEXT) \
|
104
|
+
$(am__objects_1)
|
105
|
+
nodist_type_traits_unittest_OBJECTS = $(am__objects_1)
|
106
|
+
type_traits_unittest_OBJECTS = $(am_type_traits_unittest_OBJECTS) \
|
107
|
+
$(nodist_type_traits_unittest_OBJECTS)
|
108
|
+
type_traits_unittest_LDADD = $(LDADD)
|
109
|
+
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
|
110
|
+
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
111
|
+
am__depfiles_maybe = depfiles
|
112
|
+
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
113
|
+
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
114
|
+
CXXLD = $(CXX)
|
115
|
+
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
116
|
+
-o $@
|
117
|
+
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
118
|
+
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
119
|
+
CCLD = $(CC)
|
120
|
+
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
|
121
|
+
SOURCES = $(hashtable_unittest_SOURCES) \
|
122
|
+
$(nodist_hashtable_unittest_SOURCES) $(simple_test_SOURCES) \
|
123
|
+
$(nodist_simple_test_SOURCES) $(sparsetable_unittest_SOURCES) \
|
124
|
+
$(nodist_sparsetable_unittest_SOURCES) \
|
125
|
+
$(time_hash_map_SOURCES) $(nodist_time_hash_map_SOURCES) \
|
126
|
+
$(type_traits_unittest_SOURCES) \
|
127
|
+
$(nodist_type_traits_unittest_SOURCES)
|
128
|
+
DIST_SOURCES = $(hashtable_unittest_SOURCES) $(simple_test_SOURCES) \
|
129
|
+
$(sparsetable_unittest_SOURCES) $(time_hash_map_SOURCES) \
|
130
|
+
$(type_traits_unittest_SOURCES)
|
131
|
+
dist_docDATA_INSTALL = $(INSTALL_DATA)
|
132
|
+
DATA = $(dist_doc_DATA)
|
133
|
+
googleincludeHEADERS_INSTALL = $(INSTALL_HEADER)
|
134
|
+
nodist_sparsehashincludeHEADERS_INSTALL = $(INSTALL_HEADER)
|
135
|
+
sparsehashincludeHEADERS_INSTALL = $(INSTALL_HEADER)
|
136
|
+
HEADERS = $(googleinclude_HEADERS) $(nodist_sparsehashinclude_HEADERS) \
|
137
|
+
$(sparsehashinclude_HEADERS)
|
138
|
+
ETAGS = etags
|
139
|
+
CTAGS = ctags
|
140
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
141
|
+
distdir = $(PACKAGE)-$(VERSION)
|
142
|
+
top_distdir = $(distdir)
|
143
|
+
am__remove_distdir = \
|
144
|
+
{ test ! -d $(distdir) \
|
145
|
+
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
146
|
+
&& rm -fr $(distdir); }; }
|
147
|
+
DIST_ARCHIVES = $(distdir).tar.gz $(distdir).zip
|
148
|
+
GZIP_ENV = --best
|
149
|
+
distuninstallcheck_listfiles = find . -type f -print
|
150
|
+
distcleancheck_listfiles = find . -type f -print
|
151
|
+
ACLOCAL = @ACLOCAL@
|
152
|
+
AMDEP_FALSE = @AMDEP_FALSE@
|
153
|
+
AMDEP_TRUE = @AMDEP_TRUE@
|
154
|
+
AMTAR = @AMTAR@
|
155
|
+
AUTOCONF = @AUTOCONF@
|
156
|
+
AUTOHEADER = @AUTOHEADER@
|
157
|
+
AUTOMAKE = @AUTOMAKE@
|
158
|
+
AWK = @AWK@
|
159
|
+
CC = @CC@
|
160
|
+
CCDEPMODE = @CCDEPMODE@
|
161
|
+
CFLAGS = @CFLAGS@
|
162
|
+
CPP = @CPP@
|
163
|
+
CPPFLAGS = @CPPFLAGS@
|
164
|
+
CXX = @CXX@
|
165
|
+
CXXCPP = @CXXCPP@
|
166
|
+
CXXDEPMODE = @CXXDEPMODE@
|
167
|
+
CXXFLAGS = @CXXFLAGS@
|
168
|
+
CYGPATH_W = @CYGPATH_W@
|
169
|
+
DEFS = @DEFS@
|
170
|
+
DEPDIR = @DEPDIR@
|
171
|
+
ECHO_C = @ECHO_C@
|
172
|
+
ECHO_N = @ECHO_N@
|
173
|
+
ECHO_T = @ECHO_T@
|
174
|
+
EGREP = @EGREP@
|
175
|
+
EXEEXT = @EXEEXT@
|
176
|
+
GCC_FALSE = @GCC_FALSE@
|
177
|
+
GCC_TRUE = @GCC_TRUE@
|
178
|
+
GREP = @GREP@
|
179
|
+
INSTALL_DATA = @INSTALL_DATA@
|
180
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
181
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
182
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
183
|
+
LDFLAGS = @LDFLAGS@
|
184
|
+
LIBOBJS = @LIBOBJS@
|
185
|
+
LIBS = @LIBS@
|
186
|
+
LTLIBOBJS = @LTLIBOBJS@
|
187
|
+
MAKEINFO = @MAKEINFO@
|
188
|
+
OBJEXT = @OBJEXT@
|
189
|
+
PACKAGE = @PACKAGE@
|
190
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
191
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
192
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
193
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
194
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
195
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
196
|
+
PTHREAD_CC = @PTHREAD_CC@
|
197
|
+
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
|
198
|
+
PTHREAD_LIBS = @PTHREAD_LIBS@
|
199
|
+
SET_MAKE = @SET_MAKE@
|
200
|
+
SHELL = @SHELL@
|
201
|
+
STRIP = @STRIP@
|
202
|
+
VERSION = @VERSION@
|
203
|
+
ac_ct_CC = @ac_ct_CC@
|
204
|
+
ac_ct_CXX = @ac_ct_CXX@
|
205
|
+
acx_pthread_config = @acx_pthread_config@
|
206
|
+
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
207
|
+
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
208
|
+
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
209
|
+
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
210
|
+
am__include = @am__include@
|
211
|
+
am__leading_dot = @am__leading_dot@
|
212
|
+
am__quote = @am__quote@
|
213
|
+
am__tar = @am__tar@
|
214
|
+
am__untar = @am__untar@
|
215
|
+
bindir = @bindir@
|
216
|
+
build = @build@
|
217
|
+
build_alias = @build_alias@
|
218
|
+
build_cpu = @build_cpu@
|
219
|
+
build_os = @build_os@
|
220
|
+
build_vendor = @build_vendor@
|
221
|
+
datadir = @datadir@
|
222
|
+
datarootdir = @datarootdir@
|
223
|
+
docdir = $(prefix)/share/doc/$(PACKAGE)-$(VERSION)
|
224
|
+
dvidir = @dvidir@
|
225
|
+
exec_prefix = @exec_prefix@
|
226
|
+
host = @host@
|
227
|
+
host_alias = @host_alias@
|
228
|
+
host_cpu = @host_cpu@
|
229
|
+
host_os = @host_os@
|
230
|
+
host_vendor = @host_vendor@
|
231
|
+
htmldir = @htmldir@
|
232
|
+
includedir = @includedir@
|
233
|
+
infodir = @infodir@
|
234
|
+
install_sh = @install_sh@
|
235
|
+
libdir = @libdir@
|
236
|
+
libexecdir = @libexecdir@
|
237
|
+
localedir = @localedir@
|
238
|
+
localstatedir = @localstatedir@
|
239
|
+
mandir = @mandir@
|
240
|
+
mkdir_p = @mkdir_p@
|
241
|
+
oldincludedir = @oldincludedir@
|
242
|
+
pdfdir = @pdfdir@
|
243
|
+
prefix = @prefix@
|
244
|
+
program_transform_name = @program_transform_name@
|
245
|
+
psdir = @psdir@
|
246
|
+
sbindir = @sbindir@
|
247
|
+
sharedstatedir = @sharedstatedir@
|
248
|
+
sysconfdir = @sysconfdir@
|
249
|
+
target_alias = @target_alias@
|
250
|
+
tcmalloc_flags = @tcmalloc_flags@
|
251
|
+
tcmalloc_libs = @tcmalloc_libs@
|
252
|
+
|
253
|
+
# Make sure that when we re-make ./configure, we get the macros we need
|
254
|
+
ACLOCAL_AMFLAGS = -I m4
|
255
|
+
|
256
|
+
# This is so we can #include <google/foo>
|
257
|
+
AM_CPPFLAGS = -I$(top_srcdir)/src
|
258
|
+
|
259
|
+
# These are good warnings to turn on by default
|
260
|
+
@GCC_TRUE@AM_CXXFLAGS = -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -Wshadow
|
261
|
+
googleincludedir = $(includedir)/google
|
262
|
+
googleinclude_HEADERS = \
|
263
|
+
src/google/dense_hash_map \
|
264
|
+
src/google/dense_hash_set \
|
265
|
+
src/google/sparse_hash_map \
|
266
|
+
src/google/sparse_hash_set \
|
267
|
+
src/google/sparsetable \
|
268
|
+
src/google/type_traits.h
|
269
|
+
|
270
|
+
dist_doc_DATA = AUTHORS COPYING ChangeLog INSTALL NEWS README README.windows \
|
271
|
+
TODO \
|
272
|
+
doc/dense_hash_map.html \
|
273
|
+
doc/dense_hash_set.html \
|
274
|
+
doc/sparse_hash_map.html \
|
275
|
+
doc/sparse_hash_set.html \
|
276
|
+
doc/sparsetable.html \
|
277
|
+
doc/implementation.html \
|
278
|
+
doc/performance.html \
|
279
|
+
doc/index.html \
|
280
|
+
doc/designstyle.css
|
281
|
+
|
282
|
+
lib_LTLIBRARIES =
|
283
|
+
# TODO(csilvers): get simple_test working on windows
|
284
|
+
WINDOWS_PROJECTS = google-sparsehash.sln \
|
285
|
+
vsprojects/type_traits_unittest/type_traits_unittest.vcproj \
|
286
|
+
vsprojects/sparsetable_unittest/sparsetable_unittest.vcproj \
|
287
|
+
vsprojects/hashtable_unittest/hashtable_unittest.vcproj \
|
288
|
+
vsprojects/time_hash_map/time_hash_map.vcproj
|
289
|
+
TESTS = type_traits_unittest sparsetable_unittest hashtable_unittest \
|
290
|
+
simple_test
|
291
|
+
|
292
|
+
check_SCRIPTS =
|
293
|
+
TESTS_ENVIRONMENT =
|
294
|
+
# This is how we tell automake about auto-generated .h files
|
295
|
+
BUILT_SOURCES = src/google/sparsehash/sparseconfig.h
|
296
|
+
CLEANFILES = src/google/sparsehash/sparseconfig.h
|
297
|
+
sparsehashincludedir = $(googleincludedir)/sparsehash
|
298
|
+
sparsehashinclude_HEADERS = \
|
299
|
+
src/google/sparsehash/densehashtable.h \
|
300
|
+
src/google/sparsehash/sparsehashtable.h
|
301
|
+
|
302
|
+
nodist_sparsehashinclude_HEADERS = src/google/sparsehash/sparseconfig.h
|
303
|
+
type_traits_unittest_SOURCES = \
|
304
|
+
src/type_traits_unittest.cc \
|
305
|
+
$(sparsehashinclude_HEADERS) \
|
306
|
+
src/google/type_traits.h
|
307
|
+
|
308
|
+
nodist_type_traits_unittest_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
309
|
+
sparsetable_unittest_SOURCES = \
|
310
|
+
src/sparsetable_unittest.cc \
|
311
|
+
$(sparsehashinclude_HEADERS) \
|
312
|
+
src/google/sparsetable
|
313
|
+
|
314
|
+
nodist_sparsetable_unittest_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
315
|
+
hashtable_unittest_SOURCES = \
|
316
|
+
src/hashtable_unittest.cc \
|
317
|
+
$(googleinclude_HEADERS) \
|
318
|
+
$(sparsehashinclude_HEADERS) \
|
319
|
+
src/words
|
320
|
+
|
321
|
+
nodist_hashtable_unittest_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
322
|
+
simple_test_SOURCES = \
|
323
|
+
src/simple_test.cc \
|
324
|
+
$(sparsehashinclude_HEADERS)
|
325
|
+
|
326
|
+
nodist_simple_test_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
327
|
+
time_hash_map_SOURCES = \
|
328
|
+
src/time_hash_map.cc \
|
329
|
+
$(sparsehashinclude_HEADERS) \
|
330
|
+
$(googleinclude_HEADERS)
|
331
|
+
|
332
|
+
nodist_time_hash_map_SOURCES = $(nodist_sparsehashinclude_HEADERS)
|
333
|
+
|
334
|
+
# If tcmalloc is installed, use it with time_hash_map; it gives us
|
335
|
+
# heap-usage statistics for the hash_map routines, which is very nice
|
336
|
+
time_hash_map_CXXFLAGS = @tcmalloc_flags@ $(AM_CXXFLAGS)
|
337
|
+
time_hash_map_LDFLAGS = @tcmalloc_flags@
|
338
|
+
time_hash_map_LDADD = @tcmalloc_libs@
|
339
|
+
EXTRA_DIST = packages/rpm.sh packages/rpm/rpm.spec packages/deb.sh packages/deb \
|
340
|
+
src/config.h.include src/windows $(WINDOWS_PROJECTS) experimental
|
341
|
+
|
342
|
+
all: $(BUILT_SOURCES)
|
343
|
+
$(MAKE) $(AM_MAKEFLAGS) all-am
|
344
|
+
|
345
|
+
.SUFFIXES:
|
346
|
+
.SUFFIXES: .cc .o .obj
|
347
|
+
am--refresh:
|
348
|
+
@:
|
349
|
+
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
350
|
+
@for dep in $?; do \
|
351
|
+
case '$(am__configure_deps)' in \
|
352
|
+
*$$dep*) \
|
353
|
+
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
|
354
|
+
cd $(srcdir) && $(AUTOMAKE) --gnu \
|
355
|
+
&& exit 0; \
|
356
|
+
exit 1;; \
|
357
|
+
esac; \
|
358
|
+
done; \
|
359
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
|
360
|
+
cd $(top_srcdir) && \
|
361
|
+
$(AUTOMAKE) --gnu Makefile
|
362
|
+
.PRECIOUS: Makefile
|
363
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
364
|
+
@case '$?' in \
|
365
|
+
*config.status*) \
|
366
|
+
echo ' $(SHELL) ./config.status'; \
|
367
|
+
$(SHELL) ./config.status;; \
|
368
|
+
*) \
|
369
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
370
|
+
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
371
|
+
esac;
|
372
|
+
|
373
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
374
|
+
$(SHELL) ./config.status --recheck
|
375
|
+
|
376
|
+
$(top_srcdir)/configure: $(am__configure_deps)
|
377
|
+
cd $(srcdir) && $(AUTOCONF)
|
378
|
+
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
379
|
+
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
380
|
+
|
381
|
+
src/config.h: src/stamp-h1
|
382
|
+
@if test ! -f $@; then \
|
383
|
+
rm -f src/stamp-h1; \
|
384
|
+
$(MAKE) src/stamp-h1; \
|
385
|
+
else :; fi
|
386
|
+
|
387
|
+
src/stamp-h1: $(top_srcdir)/src/config.h.in $(top_builddir)/config.status
|
388
|
+
@rm -f src/stamp-h1
|
389
|
+
cd $(top_builddir) && $(SHELL) ./config.status src/config.h
|
390
|
+
$(top_srcdir)/src/config.h.in: $(am__configure_deps)
|
391
|
+
cd $(top_srcdir) && $(AUTOHEADER)
|
392
|
+
rm -f src/stamp-h1
|
393
|
+
touch $@
|
394
|
+
|
395
|
+
distclean-hdr:
|
396
|
+
-rm -f src/config.h src/stamp-h1
|
397
|
+
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
398
|
+
@$(NORMAL_INSTALL)
|
399
|
+
test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
|
400
|
+
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
401
|
+
if test -f $$p; then \
|
402
|
+
f=$(am__strip_dir) \
|
403
|
+
echo " $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
|
404
|
+
$(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
|
405
|
+
else :; fi; \
|
406
|
+
done
|
407
|
+
|
408
|
+
uninstall-libLTLIBRARIES:
|
409
|
+
@$(NORMAL_UNINSTALL)
|
410
|
+
@set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
411
|
+
p=$(am__strip_dir) \
|
412
|
+
echo " rm -f '$(DESTDIR)$(libdir)/$$p'"; \
|
413
|
+
rm -f "$(DESTDIR)$(libdir)/$$p"; \
|
414
|
+
done
|
415
|
+
|
416
|
+
clean-libLTLIBRARIES:
|
417
|
+
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
|
418
|
+
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
419
|
+
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
420
|
+
test "$$dir" != "$$p" || dir=.; \
|
421
|
+
echo "rm -f \"$${dir}/so_locations\""; \
|
422
|
+
rm -f "$${dir}/so_locations"; \
|
423
|
+
done
|
424
|
+
|
425
|
+
clean-noinstPROGRAMS:
|
426
|
+
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
427
|
+
hashtable_unittest$(EXEEXT): $(hashtable_unittest_OBJECTS) $(hashtable_unittest_DEPENDENCIES)
|
428
|
+
@rm -f hashtable_unittest$(EXEEXT)
|
429
|
+
$(CXXLINK) $(hashtable_unittest_LDFLAGS) $(hashtable_unittest_OBJECTS) $(hashtable_unittest_LDADD) $(LIBS)
|
430
|
+
simple_test$(EXEEXT): $(simple_test_OBJECTS) $(simple_test_DEPENDENCIES)
|
431
|
+
@rm -f simple_test$(EXEEXT)
|
432
|
+
$(CXXLINK) $(simple_test_LDFLAGS) $(simple_test_OBJECTS) $(simple_test_LDADD) $(LIBS)
|
433
|
+
sparsetable_unittest$(EXEEXT): $(sparsetable_unittest_OBJECTS) $(sparsetable_unittest_DEPENDENCIES)
|
434
|
+
@rm -f sparsetable_unittest$(EXEEXT)
|
435
|
+
$(CXXLINK) $(sparsetable_unittest_LDFLAGS) $(sparsetable_unittest_OBJECTS) $(sparsetable_unittest_LDADD) $(LIBS)
|
436
|
+
time_hash_map$(EXEEXT): $(time_hash_map_OBJECTS) $(time_hash_map_DEPENDENCIES)
|
437
|
+
@rm -f time_hash_map$(EXEEXT)
|
438
|
+
$(CXXLINK) $(time_hash_map_LDFLAGS) $(time_hash_map_OBJECTS) $(time_hash_map_LDADD) $(LIBS)
|
439
|
+
type_traits_unittest$(EXEEXT): $(type_traits_unittest_OBJECTS) $(type_traits_unittest_DEPENDENCIES)
|
440
|
+
@rm -f type_traits_unittest$(EXEEXT)
|
441
|
+
$(CXXLINK) $(type_traits_unittest_LDFLAGS) $(type_traits_unittest_OBJECTS) $(type_traits_unittest_LDADD) $(LIBS)
|
442
|
+
|
443
|
+
mostlyclean-compile:
|
444
|
+
-rm -f *.$(OBJEXT)
|
445
|
+
|
446
|
+
distclean-compile:
|
447
|
+
-rm -f *.tab.c
|
448
|
+
|
449
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/hashtable_unittest.Po@am__quote@
|
450
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/simple_test.Po@am__quote@
|
451
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/sparsetable_unittest.Po@am__quote@
|
452
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/time_hash_map-time_hash_map.Po@am__quote@
|
453
|
+
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/type_traits_unittest.Po@am__quote@
|
454
|
+
|
455
|
+
.cc.o:
|
456
|
+
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
457
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
458
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
459
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
460
|
+
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
|
461
|
+
|
462
|
+
.cc.obj:
|
463
|
+
@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
464
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
465
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
466
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
467
|
+
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
468
|
+
|
469
|
+
hashtable_unittest.o: src/hashtable_unittest.cc
|
470
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hashtable_unittest.o -MD -MP -MF "$(DEPDIR)/hashtable_unittest.Tpo" -c -o hashtable_unittest.o `test -f 'src/hashtable_unittest.cc' || echo '$(srcdir)/'`src/hashtable_unittest.cc; \
|
471
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/hashtable_unittest.Tpo" "$(DEPDIR)/hashtable_unittest.Po"; else rm -f "$(DEPDIR)/hashtable_unittest.Tpo"; exit 1; fi
|
472
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/hashtable_unittest.cc' object='hashtable_unittest.o' libtool=no @AMDEPBACKSLASH@
|
473
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
474
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hashtable_unittest.o `test -f 'src/hashtable_unittest.cc' || echo '$(srcdir)/'`src/hashtable_unittest.cc
|
475
|
+
|
476
|
+
hashtable_unittest.obj: src/hashtable_unittest.cc
|
477
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT hashtable_unittest.obj -MD -MP -MF "$(DEPDIR)/hashtable_unittest.Tpo" -c -o hashtable_unittest.obj `if test -f 'src/hashtable_unittest.cc'; then $(CYGPATH_W) 'src/hashtable_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/src/hashtable_unittest.cc'; fi`; \
|
478
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/hashtable_unittest.Tpo" "$(DEPDIR)/hashtable_unittest.Po"; else rm -f "$(DEPDIR)/hashtable_unittest.Tpo"; exit 1; fi
|
479
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/hashtable_unittest.cc' object='hashtable_unittest.obj' libtool=no @AMDEPBACKSLASH@
|
480
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
481
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o hashtable_unittest.obj `if test -f 'src/hashtable_unittest.cc'; then $(CYGPATH_W) 'src/hashtable_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/src/hashtable_unittest.cc'; fi`
|
482
|
+
|
483
|
+
simple_test.o: src/simple_test.cc
|
484
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT simple_test.o -MD -MP -MF "$(DEPDIR)/simple_test.Tpo" -c -o simple_test.o `test -f 'src/simple_test.cc' || echo '$(srcdir)/'`src/simple_test.cc; \
|
485
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/simple_test.Tpo" "$(DEPDIR)/simple_test.Po"; else rm -f "$(DEPDIR)/simple_test.Tpo"; exit 1; fi
|
486
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/simple_test.cc' object='simple_test.o' libtool=no @AMDEPBACKSLASH@
|
487
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
488
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o simple_test.o `test -f 'src/simple_test.cc' || echo '$(srcdir)/'`src/simple_test.cc
|
489
|
+
|
490
|
+
simple_test.obj: src/simple_test.cc
|
491
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT simple_test.obj -MD -MP -MF "$(DEPDIR)/simple_test.Tpo" -c -o simple_test.obj `if test -f 'src/simple_test.cc'; then $(CYGPATH_W) 'src/simple_test.cc'; else $(CYGPATH_W) '$(srcdir)/src/simple_test.cc'; fi`; \
|
492
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/simple_test.Tpo" "$(DEPDIR)/simple_test.Po"; else rm -f "$(DEPDIR)/simple_test.Tpo"; exit 1; fi
|
493
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/simple_test.cc' object='simple_test.obj' libtool=no @AMDEPBACKSLASH@
|
494
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
495
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o simple_test.obj `if test -f 'src/simple_test.cc'; then $(CYGPATH_W) 'src/simple_test.cc'; else $(CYGPATH_W) '$(srcdir)/src/simple_test.cc'; fi`
|
496
|
+
|
497
|
+
sparsetable_unittest.o: src/sparsetable_unittest.cc
|
498
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sparsetable_unittest.o -MD -MP -MF "$(DEPDIR)/sparsetable_unittest.Tpo" -c -o sparsetable_unittest.o `test -f 'src/sparsetable_unittest.cc' || echo '$(srcdir)/'`src/sparsetable_unittest.cc; \
|
499
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/sparsetable_unittest.Tpo" "$(DEPDIR)/sparsetable_unittest.Po"; else rm -f "$(DEPDIR)/sparsetable_unittest.Tpo"; exit 1; fi
|
500
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/sparsetable_unittest.cc' object='sparsetable_unittest.o' libtool=no @AMDEPBACKSLASH@
|
501
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
502
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sparsetable_unittest.o `test -f 'src/sparsetable_unittest.cc' || echo '$(srcdir)/'`src/sparsetable_unittest.cc
|
503
|
+
|
504
|
+
sparsetable_unittest.obj: src/sparsetable_unittest.cc
|
505
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT sparsetable_unittest.obj -MD -MP -MF "$(DEPDIR)/sparsetable_unittest.Tpo" -c -o sparsetable_unittest.obj `if test -f 'src/sparsetable_unittest.cc'; then $(CYGPATH_W) 'src/sparsetable_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/src/sparsetable_unittest.cc'; fi`; \
|
506
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/sparsetable_unittest.Tpo" "$(DEPDIR)/sparsetable_unittest.Po"; else rm -f "$(DEPDIR)/sparsetable_unittest.Tpo"; exit 1; fi
|
507
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/sparsetable_unittest.cc' object='sparsetable_unittest.obj' libtool=no @AMDEPBACKSLASH@
|
508
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
509
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o sparsetable_unittest.obj `if test -f 'src/sparsetable_unittest.cc'; then $(CYGPATH_W) 'src/sparsetable_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/src/sparsetable_unittest.cc'; fi`
|
510
|
+
|
511
|
+
time_hash_map-time_hash_map.o: src/time_hash_map.cc
|
512
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(time_hash_map_CXXFLAGS) $(CXXFLAGS) -MT time_hash_map-time_hash_map.o -MD -MP -MF "$(DEPDIR)/time_hash_map-time_hash_map.Tpo" -c -o time_hash_map-time_hash_map.o `test -f 'src/time_hash_map.cc' || echo '$(srcdir)/'`src/time_hash_map.cc; \
|
513
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/time_hash_map-time_hash_map.Tpo" "$(DEPDIR)/time_hash_map-time_hash_map.Po"; else rm -f "$(DEPDIR)/time_hash_map-time_hash_map.Tpo"; exit 1; fi
|
514
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/time_hash_map.cc' object='time_hash_map-time_hash_map.o' libtool=no @AMDEPBACKSLASH@
|
515
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
516
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(time_hash_map_CXXFLAGS) $(CXXFLAGS) -c -o time_hash_map-time_hash_map.o `test -f 'src/time_hash_map.cc' || echo '$(srcdir)/'`src/time_hash_map.cc
|
517
|
+
|
518
|
+
time_hash_map-time_hash_map.obj: src/time_hash_map.cc
|
519
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(time_hash_map_CXXFLAGS) $(CXXFLAGS) -MT time_hash_map-time_hash_map.obj -MD -MP -MF "$(DEPDIR)/time_hash_map-time_hash_map.Tpo" -c -o time_hash_map-time_hash_map.obj `if test -f 'src/time_hash_map.cc'; then $(CYGPATH_W) 'src/time_hash_map.cc'; else $(CYGPATH_W) '$(srcdir)/src/time_hash_map.cc'; fi`; \
|
520
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/time_hash_map-time_hash_map.Tpo" "$(DEPDIR)/time_hash_map-time_hash_map.Po"; else rm -f "$(DEPDIR)/time_hash_map-time_hash_map.Tpo"; exit 1; fi
|
521
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/time_hash_map.cc' object='time_hash_map-time_hash_map.obj' libtool=no @AMDEPBACKSLASH@
|
522
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
523
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(time_hash_map_CXXFLAGS) $(CXXFLAGS) -c -o time_hash_map-time_hash_map.obj `if test -f 'src/time_hash_map.cc'; then $(CYGPATH_W) 'src/time_hash_map.cc'; else $(CYGPATH_W) '$(srcdir)/src/time_hash_map.cc'; fi`
|
524
|
+
|
525
|
+
type_traits_unittest.o: src/type_traits_unittest.cc
|
526
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT type_traits_unittest.o -MD -MP -MF "$(DEPDIR)/type_traits_unittest.Tpo" -c -o type_traits_unittest.o `test -f 'src/type_traits_unittest.cc' || echo '$(srcdir)/'`src/type_traits_unittest.cc; \
|
527
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/type_traits_unittest.Tpo" "$(DEPDIR)/type_traits_unittest.Po"; else rm -f "$(DEPDIR)/type_traits_unittest.Tpo"; exit 1; fi
|
528
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/type_traits_unittest.cc' object='type_traits_unittest.o' libtool=no @AMDEPBACKSLASH@
|
529
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
530
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o type_traits_unittest.o `test -f 'src/type_traits_unittest.cc' || echo '$(srcdir)/'`src/type_traits_unittest.cc
|
531
|
+
|
532
|
+
type_traits_unittest.obj: src/type_traits_unittest.cc
|
533
|
+
@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT type_traits_unittest.obj -MD -MP -MF "$(DEPDIR)/type_traits_unittest.Tpo" -c -o type_traits_unittest.obj `if test -f 'src/type_traits_unittest.cc'; then $(CYGPATH_W) 'src/type_traits_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/src/type_traits_unittest.cc'; fi`; \
|
534
|
+
@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/type_traits_unittest.Tpo" "$(DEPDIR)/type_traits_unittest.Po"; else rm -f "$(DEPDIR)/type_traits_unittest.Tpo"; exit 1; fi
|
535
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='src/type_traits_unittest.cc' object='type_traits_unittest.obj' libtool=no @AMDEPBACKSLASH@
|
536
|
+
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
537
|
+
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o type_traits_unittest.obj `if test -f 'src/type_traits_unittest.cc'; then $(CYGPATH_W) 'src/type_traits_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/src/type_traits_unittest.cc'; fi`
|
538
|
+
uninstall-info-am:
|
539
|
+
install-dist_docDATA: $(dist_doc_DATA)
|
540
|
+
@$(NORMAL_INSTALL)
|
541
|
+
test -z "$(docdir)" || $(mkdir_p) "$(DESTDIR)$(docdir)"
|
542
|
+
@list='$(dist_doc_DATA)'; for p in $$list; do \
|
543
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
544
|
+
f=$(am__strip_dir) \
|
545
|
+
echo " $(dist_docDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(docdir)/$$f'"; \
|
546
|
+
$(dist_docDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(docdir)/$$f"; \
|
547
|
+
done
|
548
|
+
|
549
|
+
uninstall-dist_docDATA:
|
550
|
+
@$(NORMAL_UNINSTALL)
|
551
|
+
@list='$(dist_doc_DATA)'; for p in $$list; do \
|
552
|
+
f=$(am__strip_dir) \
|
553
|
+
echo " rm -f '$(DESTDIR)$(docdir)/$$f'"; \
|
554
|
+
rm -f "$(DESTDIR)$(docdir)/$$f"; \
|
555
|
+
done
|
556
|
+
install-googleincludeHEADERS: $(googleinclude_HEADERS)
|
557
|
+
@$(NORMAL_INSTALL)
|
558
|
+
test -z "$(googleincludedir)" || $(mkdir_p) "$(DESTDIR)$(googleincludedir)"
|
559
|
+
@list='$(googleinclude_HEADERS)'; for p in $$list; do \
|
560
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
561
|
+
f=$(am__strip_dir) \
|
562
|
+
echo " $(googleincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(googleincludedir)/$$f'"; \
|
563
|
+
$(googleincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(googleincludedir)/$$f"; \
|
564
|
+
done
|
565
|
+
|
566
|
+
uninstall-googleincludeHEADERS:
|
567
|
+
@$(NORMAL_UNINSTALL)
|
568
|
+
@list='$(googleinclude_HEADERS)'; for p in $$list; do \
|
569
|
+
f=$(am__strip_dir) \
|
570
|
+
echo " rm -f '$(DESTDIR)$(googleincludedir)/$$f'"; \
|
571
|
+
rm -f "$(DESTDIR)$(googleincludedir)/$$f"; \
|
572
|
+
done
|
573
|
+
install-nodist_sparsehashincludeHEADERS: $(nodist_sparsehashinclude_HEADERS)
|
574
|
+
@$(NORMAL_INSTALL)
|
575
|
+
test -z "$(sparsehashincludedir)" || $(mkdir_p) "$(DESTDIR)$(sparsehashincludedir)"
|
576
|
+
@list='$(nodist_sparsehashinclude_HEADERS)'; for p in $$list; do \
|
577
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
578
|
+
f=$(am__strip_dir) \
|
579
|
+
echo " $(nodist_sparsehashincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sparsehashincludedir)/$$f'"; \
|
580
|
+
$(nodist_sparsehashincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sparsehashincludedir)/$$f"; \
|
581
|
+
done
|
582
|
+
|
583
|
+
uninstall-nodist_sparsehashincludeHEADERS:
|
584
|
+
@$(NORMAL_UNINSTALL)
|
585
|
+
@list='$(nodist_sparsehashinclude_HEADERS)'; for p in $$list; do \
|
586
|
+
f=$(am__strip_dir) \
|
587
|
+
echo " rm -f '$(DESTDIR)$(sparsehashincludedir)/$$f'"; \
|
588
|
+
rm -f "$(DESTDIR)$(sparsehashincludedir)/$$f"; \
|
589
|
+
done
|
590
|
+
install-sparsehashincludeHEADERS: $(sparsehashinclude_HEADERS)
|
591
|
+
@$(NORMAL_INSTALL)
|
592
|
+
test -z "$(sparsehashincludedir)" || $(mkdir_p) "$(DESTDIR)$(sparsehashincludedir)"
|
593
|
+
@list='$(sparsehashinclude_HEADERS)'; for p in $$list; do \
|
594
|
+
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
595
|
+
f=$(am__strip_dir) \
|
596
|
+
echo " $(sparsehashincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(sparsehashincludedir)/$$f'"; \
|
597
|
+
$(sparsehashincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(sparsehashincludedir)/$$f"; \
|
598
|
+
done
|
599
|
+
|
600
|
+
uninstall-sparsehashincludeHEADERS:
|
601
|
+
@$(NORMAL_UNINSTALL)
|
602
|
+
@list='$(sparsehashinclude_HEADERS)'; for p in $$list; do \
|
603
|
+
f=$(am__strip_dir) \
|
604
|
+
echo " rm -f '$(DESTDIR)$(sparsehashincludedir)/$$f'"; \
|
605
|
+
rm -f "$(DESTDIR)$(sparsehashincludedir)/$$f"; \
|
606
|
+
done
|
607
|
+
|
608
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
609
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
610
|
+
unique=`for i in $$list; do \
|
611
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
612
|
+
done | \
|
613
|
+
$(AWK) ' { files[$$0] = 1; } \
|
614
|
+
END { for (i in files) print i; }'`; \
|
615
|
+
mkid -fID $$unique
|
616
|
+
tags: TAGS
|
617
|
+
|
618
|
+
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
619
|
+
$(TAGS_FILES) $(LISP)
|
620
|
+
tags=; \
|
621
|
+
here=`pwd`; \
|
622
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
623
|
+
unique=`for i in $$list; do \
|
624
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
625
|
+
done | \
|
626
|
+
$(AWK) ' { files[$$0] = 1; } \
|
627
|
+
END { for (i in files) print i; }'`; \
|
628
|
+
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
629
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
630
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
631
|
+
$$tags $$unique; \
|
632
|
+
fi
|
633
|
+
ctags: CTAGS
|
634
|
+
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
635
|
+
$(TAGS_FILES) $(LISP)
|
636
|
+
tags=; \
|
637
|
+
here=`pwd`; \
|
638
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
639
|
+
unique=`for i in $$list; do \
|
640
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
641
|
+
done | \
|
642
|
+
$(AWK) ' { files[$$0] = 1; } \
|
643
|
+
END { for (i in files) print i; }'`; \
|
644
|
+
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
645
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
646
|
+
$$tags $$unique
|
647
|
+
|
648
|
+
GTAGS:
|
649
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
650
|
+
&& cd $(top_srcdir) \
|
651
|
+
&& gtags -i $(GTAGS_ARGS) $$here
|
652
|
+
|
653
|
+
distclean-tags:
|
654
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
655
|
+
|
656
|
+
check-TESTS: $(TESTS)
|
657
|
+
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
|
658
|
+
srcdir=$(srcdir); export srcdir; \
|
659
|
+
list='$(TESTS)'; \
|
660
|
+
if test -n "$$list"; then \
|
661
|
+
for tst in $$list; do \
|
662
|
+
if test -f ./$$tst; then dir=./; \
|
663
|
+
elif test -f $$tst; then dir=; \
|
664
|
+
else dir="$(srcdir)/"; fi; \
|
665
|
+
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
|
666
|
+
all=`expr $$all + 1`; \
|
667
|
+
case " $(XFAIL_TESTS) " in \
|
668
|
+
*" $$tst "*) \
|
669
|
+
xpass=`expr $$xpass + 1`; \
|
670
|
+
failed=`expr $$failed + 1`; \
|
671
|
+
echo "XPASS: $$tst"; \
|
672
|
+
;; \
|
673
|
+
*) \
|
674
|
+
echo "PASS: $$tst"; \
|
675
|
+
;; \
|
676
|
+
esac; \
|
677
|
+
elif test $$? -ne 77; then \
|
678
|
+
all=`expr $$all + 1`; \
|
679
|
+
case " $(XFAIL_TESTS) " in \
|
680
|
+
*" $$tst "*) \
|
681
|
+
xfail=`expr $$xfail + 1`; \
|
682
|
+
echo "XFAIL: $$tst"; \
|
683
|
+
;; \
|
684
|
+
*) \
|
685
|
+
failed=`expr $$failed + 1`; \
|
686
|
+
echo "FAIL: $$tst"; \
|
687
|
+
;; \
|
688
|
+
esac; \
|
689
|
+
else \
|
690
|
+
skip=`expr $$skip + 1`; \
|
691
|
+
echo "SKIP: $$tst"; \
|
692
|
+
fi; \
|
693
|
+
done; \
|
694
|
+
if test "$$failed" -eq 0; then \
|
695
|
+
if test "$$xfail" -eq 0; then \
|
696
|
+
banner="All $$all tests passed"; \
|
697
|
+
else \
|
698
|
+
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
|
699
|
+
fi; \
|
700
|
+
else \
|
701
|
+
if test "$$xpass" -eq 0; then \
|
702
|
+
banner="$$failed of $$all tests failed"; \
|
703
|
+
else \
|
704
|
+
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
|
705
|
+
fi; \
|
706
|
+
fi; \
|
707
|
+
dashes="$$banner"; \
|
708
|
+
skipped=""; \
|
709
|
+
if test "$$skip" -ne 0; then \
|
710
|
+
skipped="($$skip tests were not run)"; \
|
711
|
+
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
|
712
|
+
dashes="$$skipped"; \
|
713
|
+
fi; \
|
714
|
+
report=""; \
|
715
|
+
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
|
716
|
+
report="Please report to $(PACKAGE_BUGREPORT)"; \
|
717
|
+
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
|
718
|
+
dashes="$$report"; \
|
719
|
+
fi; \
|
720
|
+
dashes=`echo "$$dashes" | sed s/./=/g`; \
|
721
|
+
echo "$$dashes"; \
|
722
|
+
echo "$$banner"; \
|
723
|
+
test -z "$$skipped" || echo "$$skipped"; \
|
724
|
+
test -z "$$report" || echo "$$report"; \
|
725
|
+
echo "$$dashes"; \
|
726
|
+
test "$$failed" -eq 0; \
|
727
|
+
else :; fi
|
728
|
+
|
729
|
+
distdir: $(DISTFILES)
|
730
|
+
$(am__remove_distdir)
|
731
|
+
mkdir $(distdir)
|
732
|
+
$(mkdir_p) $(distdir)/doc $(distdir)/m4 $(distdir)/packages $(distdir)/packages/rpm $(distdir)/src $(distdir)/src/google $(distdir)/src/google/sparsehash $(distdir)/vsprojects/hashtable_unittest $(distdir)/vsprojects/sparsetable_unittest $(distdir)/vsprojects/time_hash_map $(distdir)/vsprojects/type_traits_unittest
|
733
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
734
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
735
|
+
list='$(DISTFILES)'; for file in $$list; do \
|
736
|
+
case $$file in \
|
737
|
+
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
738
|
+
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
739
|
+
esac; \
|
740
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
741
|
+
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
742
|
+
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
743
|
+
dir="/$$dir"; \
|
744
|
+
$(mkdir_p) "$(distdir)$$dir"; \
|
745
|
+
else \
|
746
|
+
dir=''; \
|
747
|
+
fi; \
|
748
|
+
if test -d $$d/$$file; then \
|
749
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
750
|
+
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
751
|
+
fi; \
|
752
|
+
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
753
|
+
else \
|
754
|
+
test -f $(distdir)/$$file \
|
755
|
+
|| cp -p $$d/$$file $(distdir)/$$file \
|
756
|
+
|| exit 1; \
|
757
|
+
fi; \
|
758
|
+
done
|
759
|
+
$(MAKE) $(AM_MAKEFLAGS) \
|
760
|
+
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
761
|
+
dist-hook
|
762
|
+
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
763
|
+
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
764
|
+
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
765
|
+
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
766
|
+
|| chmod -R a+r $(distdir)
|
767
|
+
dist-gzip: distdir
|
768
|
+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
769
|
+
$(am__remove_distdir)
|
770
|
+
|
771
|
+
dist-bzip2: distdir
|
772
|
+
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
773
|
+
$(am__remove_distdir)
|
774
|
+
|
775
|
+
dist-tarZ: distdir
|
776
|
+
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
777
|
+
$(am__remove_distdir)
|
778
|
+
|
779
|
+
dist-shar: distdir
|
780
|
+
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
781
|
+
$(am__remove_distdir)
|
782
|
+
dist-zip: distdir
|
783
|
+
-rm -f $(distdir).zip
|
784
|
+
zip -rq $(distdir).zip $(distdir)
|
785
|
+
$(am__remove_distdir)
|
786
|
+
|
787
|
+
dist dist-all: distdir
|
788
|
+
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
789
|
+
-rm -f $(distdir).zip
|
790
|
+
zip -rq $(distdir).zip $(distdir)
|
791
|
+
$(am__remove_distdir)
|
792
|
+
|
793
|
+
# This target untars the dist file and tries a VPATH configuration. Then
|
794
|
+
# it guarantees that the distribution is self-contained by making another
|
795
|
+
# tarfile.
|
796
|
+
distcheck: dist
|
797
|
+
case '$(DIST_ARCHIVES)' in \
|
798
|
+
*.tar.gz*) \
|
799
|
+
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
800
|
+
*.tar.bz2*) \
|
801
|
+
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
802
|
+
*.tar.Z*) \
|
803
|
+
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
804
|
+
*.shar.gz*) \
|
805
|
+
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
806
|
+
*.zip*) \
|
807
|
+
unzip $(distdir).zip ;;\
|
808
|
+
esac
|
809
|
+
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
810
|
+
mkdir $(distdir)/_build
|
811
|
+
mkdir $(distdir)/_inst
|
812
|
+
chmod a-w $(distdir)
|
813
|
+
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
814
|
+
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
815
|
+
&& cd $(distdir)/_build \
|
816
|
+
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
817
|
+
$(DISTCHECK_CONFIGURE_FLAGS) \
|
818
|
+
&& $(MAKE) $(AM_MAKEFLAGS) \
|
819
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
820
|
+
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
821
|
+
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
822
|
+
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
823
|
+
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
824
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
825
|
+
distuninstallcheck \
|
826
|
+
&& chmod -R a-w "$$dc_install_base" \
|
827
|
+
&& ({ \
|
828
|
+
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
829
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
830
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
831
|
+
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
832
|
+
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
833
|
+
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
834
|
+
&& rm -rf "$$dc_destdir" \
|
835
|
+
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
836
|
+
&& rm -rf $(DIST_ARCHIVES) \
|
837
|
+
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
838
|
+
$(am__remove_distdir)
|
839
|
+
@(echo "$(distdir) archives ready for distribution: "; \
|
840
|
+
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
841
|
+
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
|
842
|
+
distuninstallcheck:
|
843
|
+
@cd $(distuninstallcheck_dir) \
|
844
|
+
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
845
|
+
|| { echo "ERROR: files left after uninstall:" ; \
|
846
|
+
if test -n "$(DESTDIR)"; then \
|
847
|
+
echo " (check DESTDIR support)"; \
|
848
|
+
fi ; \
|
849
|
+
$(distuninstallcheck_listfiles) ; \
|
850
|
+
exit 1; } >&2
|
851
|
+
distcleancheck: distclean
|
852
|
+
@if test '$(srcdir)' = . ; then \
|
853
|
+
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
854
|
+
exit 1 ; \
|
855
|
+
fi
|
856
|
+
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
857
|
+
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
858
|
+
$(distcleancheck_listfiles) ; \
|
859
|
+
exit 1; } >&2
|
860
|
+
check-am: all-am
|
861
|
+
$(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
|
862
|
+
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
863
|
+
check: $(BUILT_SOURCES)
|
864
|
+
$(MAKE) $(AM_MAKEFLAGS) check-am
|
865
|
+
all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS)
|
866
|
+
installdirs:
|
867
|
+
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(googleincludedir)" "$(DESTDIR)$(sparsehashincludedir)" "$(DESTDIR)$(sparsehashincludedir)"; do \
|
868
|
+
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
869
|
+
done
|
870
|
+
install: $(BUILT_SOURCES)
|
871
|
+
$(MAKE) $(AM_MAKEFLAGS) install-am
|
872
|
+
install-exec: install-exec-am
|
873
|
+
install-data: install-data-am
|
874
|
+
uninstall: uninstall-am
|
875
|
+
|
876
|
+
install-am: all-am
|
877
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
878
|
+
|
879
|
+
installcheck: installcheck-am
|
880
|
+
install-strip:
|
881
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
882
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
883
|
+
`test -z '$(STRIP)' || \
|
884
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
885
|
+
mostlyclean-generic:
|
886
|
+
|
887
|
+
clean-generic:
|
888
|
+
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
889
|
+
|
890
|
+
distclean-generic:
|
891
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
892
|
+
|
893
|
+
maintainer-clean-generic:
|
894
|
+
@echo "This command is intended for maintainers to use"
|
895
|
+
@echo "it deletes files that may require special tools to rebuild."
|
896
|
+
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
897
|
+
clean: clean-am
|
898
|
+
|
899
|
+
clean-am: clean-generic clean-libLTLIBRARIES clean-noinstPROGRAMS \
|
900
|
+
mostlyclean-am
|
901
|
+
|
902
|
+
distclean: distclean-am
|
903
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
904
|
+
-rm -rf ./$(DEPDIR)
|
905
|
+
-rm -f Makefile
|
906
|
+
distclean-am: clean-am distclean-compile distclean-generic \
|
907
|
+
distclean-hdr distclean-tags
|
908
|
+
|
909
|
+
dvi: dvi-am
|
910
|
+
|
911
|
+
dvi-am:
|
912
|
+
|
913
|
+
html: html-am
|
914
|
+
|
915
|
+
info: info-am
|
916
|
+
|
917
|
+
info-am:
|
918
|
+
|
919
|
+
install-data-am: install-dist_docDATA install-googleincludeHEADERS \
|
920
|
+
install-nodist_sparsehashincludeHEADERS \
|
921
|
+
install-sparsehashincludeHEADERS
|
922
|
+
|
923
|
+
install-exec-am: install-libLTLIBRARIES
|
924
|
+
|
925
|
+
install-info: install-info-am
|
926
|
+
|
927
|
+
install-man:
|
928
|
+
|
929
|
+
installcheck-am:
|
930
|
+
|
931
|
+
maintainer-clean: maintainer-clean-am
|
932
|
+
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
933
|
+
-rm -rf $(top_srcdir)/autom4te.cache
|
934
|
+
-rm -rf ./$(DEPDIR)
|
935
|
+
-rm -f Makefile
|
936
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
937
|
+
|
938
|
+
mostlyclean: mostlyclean-am
|
939
|
+
|
940
|
+
mostlyclean-am: mostlyclean-compile mostlyclean-generic
|
941
|
+
|
942
|
+
pdf: pdf-am
|
943
|
+
|
944
|
+
pdf-am:
|
945
|
+
|
946
|
+
ps: ps-am
|
947
|
+
|
948
|
+
ps-am:
|
949
|
+
|
950
|
+
uninstall-am: uninstall-dist_docDATA uninstall-googleincludeHEADERS \
|
951
|
+
uninstall-info-am uninstall-libLTLIBRARIES \
|
952
|
+
uninstall-nodist_sparsehashincludeHEADERS \
|
953
|
+
uninstall-sparsehashincludeHEADERS
|
954
|
+
|
955
|
+
.PHONY: CTAGS GTAGS all all-am am--refresh check check-TESTS check-am \
|
956
|
+
clean clean-generic clean-libLTLIBRARIES clean-noinstPROGRAMS \
|
957
|
+
ctags dist dist-all dist-bzip2 dist-gzip dist-hook dist-shar \
|
958
|
+
dist-tarZ dist-zip distcheck distclean distclean-compile \
|
959
|
+
distclean-generic distclean-hdr distclean-tags distcleancheck \
|
960
|
+
distdir distuninstallcheck dvi dvi-am html html-am info \
|
961
|
+
info-am install install-am install-data install-data-am \
|
962
|
+
install-dist_docDATA install-exec install-exec-am \
|
963
|
+
install-googleincludeHEADERS install-info install-info-am \
|
964
|
+
install-libLTLIBRARIES install-man \
|
965
|
+
install-nodist_sparsehashincludeHEADERS \
|
966
|
+
install-sparsehashincludeHEADERS install-strip installcheck \
|
967
|
+
installcheck-am installdirs maintainer-clean \
|
968
|
+
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
969
|
+
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
|
970
|
+
uninstall-am uninstall-dist_docDATA \
|
971
|
+
uninstall-googleincludeHEADERS uninstall-info-am \
|
972
|
+
uninstall-libLTLIBRARIES \
|
973
|
+
uninstall-nodist_sparsehashincludeHEADERS \
|
974
|
+
uninstall-sparsehashincludeHEADERS
|
975
|
+
|
976
|
+
|
977
|
+
# All our .h files need to read the config information in config.h. The
|
978
|
+
# autoheader config.h has too much info, including PACKAGENAME, that
|
979
|
+
# might conflict with other config.h's an application might #include.
|
980
|
+
# Thus, we create a "minimal" config.h, called sparseconfig.h, that
|
981
|
+
# includes only the #defines we really need, and that are unlikely to
|
982
|
+
# change from system to system. NOTE: The awk command is equivalent to
|
983
|
+
# fgrep -B2 -f- $(top_builddir)/src/config.h \
|
984
|
+
# fgrep -vx -e -- > _sparsehash_config
|
985
|
+
# For correctness, it depends on the fact config.h.include does not have
|
986
|
+
# any lines starting with #.
|
987
|
+
src/google/sparsehash/sparseconfig.h: $(top_builddir)/src/config.h \
|
988
|
+
$(top_srcdir)/src/config.h.include
|
989
|
+
[ -d $(@D) ] || mkdir -p $(@D)
|
990
|
+
echo "/*" > $(@D)/_sparsehash_config
|
991
|
+
echo " * NOTE: This file is for internal use only." >> $(@D)/_sparsehash_config
|
992
|
+
echo " * Do not use these #defines in your own program!" >> $(@D)/_sparsehash_config
|
993
|
+
echo " */" >> $(@D)/_sparsehash_config
|
994
|
+
$(AWK) '{prevline=currline; currline=$$0;} \
|
995
|
+
/^#/ {in_second_file = 1;} \
|
996
|
+
!in_second_file {if (currline !~ /^ *$$/) {inc[currline]=0}}; \
|
997
|
+
in_second_file { for (i in inc) { \
|
998
|
+
if (index(currline, i) != 0) { \
|
999
|
+
print "\n"prevline"\n"currline; \
|
1000
|
+
delete inc[i]; \
|
1001
|
+
} \
|
1002
|
+
} }' \
|
1003
|
+
$(top_srcdir)/src/config.h.include $(top_builddir)/src/config.h \
|
1004
|
+
>> $(@D)/_sparsehash_config
|
1005
|
+
mv -f $(@D)/_sparsehash_config $@
|
1006
|
+
|
1007
|
+
rpm: dist-gzip packages/rpm.sh packages/rpm/rpm.spec
|
1008
|
+
@cd packages && ./rpm.sh ${PACKAGE} ${VERSION}
|
1009
|
+
|
1010
|
+
deb: dist-gzip packages/deb.sh packages/deb/*
|
1011
|
+
@cd packages && ./deb.sh ${PACKAGE} ${VERSION}
|
1012
|
+
|
1013
|
+
# Windows wants write permission to .vcproj files and maybe even sln files.
|
1014
|
+
dist-hook:
|
1015
|
+
test -e "$(distdir)/vsprojects" \
|
1016
|
+
&& chmod -R u+w $(distdir)/*.sln $(distdir)/vsprojects/
|
1017
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
1018
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
1019
|
+
.NOEXPORT:
|