Lines Matching refs:obj
5 all: obj/libre2.a obj/so/libre2.so
86 obj/util/arena.o\
87 obj/util/hash.o\
88 obj/util/rune.o\
89 obj/util/stringpiece.o\
90 obj/util/stringprintf.o\
91 obj/util/strutil.o\
92 obj/util/valgrind.o\
93 obj/re2/bitstate.o\
94 obj/re2/compile.o\
95 obj/re2/dfa.o\
96 obj/re2/filtered_re2.o\
97 obj/re2/mimics_pcre.o\
98 obj/re2/nfa.o\
99 obj/re2/onepass.o\
100 obj/re2/parse.o\
101 obj/re2/perl_groups.o\
102 obj/re2/prefilter.o\
103 obj/re2/prefilter_tree.o\
104 obj/re2/prog.o\
105 obj/re2/re2.o\
106 obj/re2/regexp.o\
107 obj/re2/set.o\
108 obj/re2/simplify.o\
109 obj/re2/tostring.o\
110 obj/re2/unicode_casefold.o\
111 obj/re2/unicode_groups.o\
114 obj/util/pcre.o\
115 obj/util/random.o\
116 obj/util/thread.o\
117 obj/re2/testing/backtrack.o\
118 obj/re2/testing/dump.o\
119 obj/re2/testing/exhaustive_tester.o\
120 obj/re2/testing/null_walker.o\
121 obj/re2/testing/regexp_generator.o\
122 obj/re2/testing/string_generator.o\
123 obj/re2/testing/tester.o\
126 obj/test/charclass_test\
127 obj/test/compile_test\
128 obj/test/filtered_re2_test\
129 obj/test/mimics_pcre_test\
130 obj/test/parse_test\
131 obj/test/possible_match_test\
132 obj/test/re2_test\
133 obj/test/re2_arg_test\
134 obj/test/regexp_test\
135 obj/test/required_prefix_test\
136 obj/test/search_test\
137 obj/test/set_test\
138 obj/test/simplify_test\
139 obj/test/string_generator_test\
142 obj/test/dfa_test\
143 obj/test/exhaustive1_test\
144 obj/test/exhaustive2_test\
145 obj/test/exhaustive3_test\
146 obj/test/exhaustive_test\
147 obj/test/random_test\
149 SOFILES=$(patsubst obj/%,obj/so/%,$(OFILES))
150 STESTOFILES=$(patsubst obj/%,obj/so/%,$(TESTOFILES))
151 STESTS=$(patsubst obj/%,obj/so/%,$(TESTS))
152 SBIGTESTS=$(patsubst obj/%,obj/so/%,$(BIGTESTS))
154 DOFILES=$(patsubst obj/%,obj/dbg/%,$(OFILES))
155 DTESTOFILES=$(patsubst obj/%,obj/dbg/%,$(TESTOFILES))
156 DTESTS=$(patsubst obj/%,obj/dbg/%,$(TESTS))
157 DBIGTESTS=$(patsubst obj/%,obj/dbg/%,$(BIGTESTS))
159 obj/%.o: %.cc $(HFILES)
163 obj/dbg/%.o: %.cc $(HFILES)
167 obj/so/%.o: %.cc $(HFILES)
171 obj/libre2.a: $(OFILES)
172 @mkdir -p obj
173 $(AR) $(ARFLAGS) obj/libre2.a $(OFILES)
175 obj/dbg/libre2.a: $(DOFILES)
176 @mkdir -p obj/dbg
177 $(AR) $(ARFLAGS) obj/dbg/libre2.a $(DOFILES)
179 obj/so/libre2.so: $(SOFILES)
180 @mkdir -p obj/so
184 obj/test/%: obj/libre2.a obj/re2/testing/%.o $(TESTOFILES) obj/util/test.o
185 @mkdir -p obj/test
186 $(CXX) -o $@ obj/re2/testing/$*.o $(TESTOFILES) obj/util/test.o obj/libre2.a $(LDFLAGS) $(LDPCRE)
188 obj/dbg/test/%: obj/dbg/libre2.a obj/dbg/re2/testing/%.o $(DTESTOFILES) obj/dbg/util/test.o
189 @mkdir -p obj/dbg/test
190 …$(CXX) -o $@ obj/dbg/re2/testing/$*.o $(DTESTOFILES) obj/dbg/util/test.o obj/dbg/libre2.a $(LDFLAG…
192 obj/so/test/%: obj/so/libre2.so obj/libre2.a obj/so/re2/testing/%.o $(STESTOFILES) obj/so/util/test…
193 @mkdir -p obj/so/test
194 …$(CXX) -o $@ obj/so/re2/testing/$*.o $(STESTOFILES) obj/so/util/test.o -Lobj/so -lre2 obj/libre2.a…
196 obj/test/regexp_benchmark: obj/libre2.a obj/re2/testing/regexp_benchmark.o $(TESTOFILES) obj/util/b…
197 @mkdir -p obj/test
198 …$(CXX) -o $@ obj/re2/testing/regexp_benchmark.o $(TESTOFILES) obj/util/benchmark.o obj/libre2.a $(…
212 rm -rf obj
235 @LD_LIBRARY_PATH=obj/so:$(LD_LIBRARY_PATH) ./runtests $(STESTS)
244 @LD_LIBRARY_PATH=obj/so:$(LD_LIBRARY_PATH) ./runtests $(STESTS) $(SBIGTESTS)
246 benchmark: obj/test/regexp_benchmark
248 install: obj/libre2.a obj/so/libre2.so
251 $(INSTALL) obj/libre2.a $(DESTDIR)$(libdir)/libre2.a
252 $(INSTALL) obj/so/libre2.so $(DESTDIR)$(libdir)/libre2.so.$(SONAME).0.0
257 @mkdir -p obj
258 cp testinstall.cc obj
259 …(cd obj && $(CXX) -I$(DESTDIR)$(includedir) -L$(DESTDIR)$(libdir) testinstall.cc -lre2 -pthread -o…
260 LD_LIBRARY_PATH=$(DESTDIR)$(libdir) obj/testinstall
262 benchlog: obj/test/regexp_benchmark
264 (uname -a; $(CXX) --version; hg identify; file obj/test/regexp_benchmark) | sed 's/^/# /'; \
266 ./obj/test/regexp_benchmark 'PCRE|RE2') | tee -a benchlog.$$(hostname | sed 's/\..*//')
271 .PRECIOUS: obj/%.o obj/dbg/%.o obj/so/%.o obj/libre2.a \
272 obj/dbg/libre2.a obj/so/libre2.a \
273 obj/test/% obj/so/test/% obj/dbg/test/%
277 make CXXFLAGS="$(CXXFLAGS) -DLOGGING=1" obj/test/exhaustive{,1,2,3}_test
280 obj/test/exhaustive_test |grep -v '^PASS$$' >>re2-exhaustive.txt
281 obj/test/exhaustive1_test |grep -v '^PASS$$' >>re2-exhaustive.txt
282 obj/test/exhaustive2_test |grep -v '^PASS$$' >>re2-exhaustive.txt
283 obj/test/exhaustive3_test |grep -v '^PASS$$' >>re2-exhaustive.txt
285 make CXXFLAGS="$(CXXFLAGS) -DLOGGING=1" obj/test/search_test
288 obj/test/search_test |grep -v '^PASS$$' >>re2-search.txt