Lines Matching refs:srcroot
20 srcroot := @srcroot@
26 CPPFLAGS := @CPPFLAGS@ -I$(srcroot)include -I$(objroot)include
46 cfghdrs_in := $(addprefix $(srcroot),@cfghdrs_in@)
48 cfgoutputs_in := $(addprefix $(srcroot),@cfgoutputs_in@)
81 C_SRCS := $(srcroot)src/jemalloc.c \
82 $(srcroot)src/arena.c \
83 $(srcroot)src/atomic.c \
84 $(srcroot)src/base.c \
85 $(srcroot)src/bitmap.c \
86 $(srcroot)src/chunk.c \
87 $(srcroot)src/chunk_dss.c \
88 $(srcroot)src/chunk_mmap.c \
89 $(srcroot)src/ckh.c \
90 $(srcroot)src/ctl.c \
91 $(srcroot)src/extent.c \
92 $(srcroot)src/hash.c \
93 $(srcroot)src/huge.c \
94 $(srcroot)src/mb.c \
95 $(srcroot)src/mutex.c \
96 $(srcroot)src/nstime.c \
97 $(srcroot)src/pages.c \
98 $(srcroot)src/prng.c \
99 $(srcroot)src/prof.c \
100 $(srcroot)src/quarantine.c \
101 $(srcroot)src/rtree.c \
102 $(srcroot)src/stats.c \
103 $(srcroot)src/tcache.c \
104 $(srcroot)src/ticker.c \
105 $(srcroot)src/tsd.c \
106 $(srcroot)src/util.c
108 C_SRCS += $(srcroot)src/valgrind.c
111 C_SRCS += $(srcroot)src/zone.c
131 C_TESTLIB_SRCS := $(srcroot)test/src/btalloc.c $(srcroot)test/src/btalloc_0.c \
132 $(srcroot)test/src/btalloc_1.c $(srcroot)test/src/math.c \
133 $(srcroot)test/src/mtx.c $(srcroot)test/src/mq.c \
134 $(srcroot)test/src/SFMT.c $(srcroot)test/src/test.c \
135 $(srcroot)test/src/thd.c $(srcroot)test/src/timer.c
136 C_UTIL_INTEGRATION_SRCS := $(srcroot)src/nstime.c $(srcroot)src/util.c
137 TESTS_UNIT := $(srcroot)test/unit/atomic.c \
138 $(srcroot)test/unit/bitmap.c \
139 $(srcroot)test/unit/ckh.c \
140 $(srcroot)test/unit/decay.c \
141 $(srcroot)test/unit/hash.c \
142 $(srcroot)test/unit/junk.c \
143 $(srcroot)test/unit/junk_alloc.c \
144 $(srcroot)test/unit/junk_free.c \
145 $(srcroot)test/unit/lg_chunk.c \
146 $(srcroot)test/unit/mallctl.c \
147 $(srcroot)test/unit/math.c \
148 $(srcroot)test/unit/mq.c \
149 $(srcroot)test/unit/mtx.c \
150 $(srcroot)test/unit/prng.c \
151 $(srcroot)test/unit/prof_accum.c \
152 $(srcroot)test/unit/prof_active.c \
153 $(srcroot)test/unit/prof_gdump.c \
154 $(srcroot)test/unit/prof_idump.c \
155 $(srcroot)test/unit/prof_reset.c \
156 $(srcroot)test/unit/prof_thread_name.c \
157 $(srcroot)test/unit/ql.c \
158 $(srcroot)test/unit/qr.c \
159 $(srcroot)test/unit/quarantine.c \
160 $(srcroot)test/unit/rb.c \
161 $(srcroot)test/unit/rtree.c \
162 $(srcroot)test/unit/run_quantize.c \
163 $(srcroot)test/unit/SFMT.c \
164 $(srcroot)test/unit/size_classes.c \
165 $(srcroot)test/unit/smoothstep.c \
166 $(srcroot)test/unit/stats.c \
167 $(srcroot)test/unit/ticker.c \
168 $(srcroot)test/unit/nstime.c \
169 $(srcroot)test/unit/tsd.c \
170 $(srcroot)test/unit/util.c \
171 $(srcroot)test/unit/zero.c
172 TESTS_INTEGRATION := $(srcroot)test/integration/aligned_alloc.c \
173 $(srcroot)test/integration/allocated.c \
174 $(srcroot)test/integration/sdallocx.c \
175 $(srcroot)test/integration/mallocx.c \
176 $(srcroot)test/integration/MALLOCX_ARENA.c \
177 $(srcroot)test/integration/overflow.c \
178 $(srcroot)test/integration/posix_memalign.c \
179 $(srcroot)test/integration/rallocx.c \
180 $(srcroot)test/integration/thread_arena.c \
181 $(srcroot)test/integration/thread_tcache_enabled.c \
182 $(srcroot)test/integration/xallocx.c \
183 $(srcroot)test/integration/chunk.c
184 TESTS_STRESS := $(srcroot)test/stress/microbench.c
187 C_OBJS := $(C_SRCS:$(srcroot)%.c=$(objroot)%.$(O))
188 C_PIC_OBJS := $(C_SRCS:$(srcroot)%.c=$(objroot)%.pic.$(O))
189 C_JET_OBJS := $(C_SRCS:$(srcroot)%.c=$(objroot)%.jet.$(O))
190 C_TESTLIB_UNIT_OBJS := $(C_TESTLIB_SRCS:$(srcroot)%.c=$(objroot)%.unit.$(O))
191 C_TESTLIB_INTEGRATION_OBJS := $(C_TESTLIB_SRCS:$(srcroot)%.c=$(objroot)%.integration.$(O))
192 C_UTIL_INTEGRATION_OBJS := $(C_UTIL_INTEGRATION_SRCS:$(srcroot)%.c=$(objroot)%.integration.$(O))
193 C_TESTLIB_STRESS_OBJS := $(C_TESTLIB_SRCS:$(srcroot)%.c=$(objroot)%.stress.$(O))
196 TESTS_UNIT_OBJS := $(TESTS_UNIT:$(srcroot)%.c=$(objroot)%.$(O))
197 TESTS_INTEGRATION_OBJS := $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%.$(O))
198 TESTS_STRESS_OBJS := $(TESTS_STRESS:$(srcroot)%.c=$(objroot)%.$(O))
213 $(objroot)doc/%.html : $(objroot)doc/%.xml $(srcroot)doc/stylesheet.xsl $(objroot)doc/html.xsl
216 $(objroot)doc/%.3 : $(objroot)doc/%.xml $(srcroot)doc/stylesheet.xsl $(objroot)doc/manpages.xsl
234 $(C_OBJS): $(objroot)src/%.$(O): $(srcroot)src/%.c
235 $(C_PIC_OBJS): $(objroot)src/%.pic.$(O): $(srcroot)src/%.c
237 $(C_JET_OBJS): $(objroot)src/%.jet.$(O): $(srcroot)src/%.c
239 $(C_TESTLIB_UNIT_OBJS): $(objroot)test/src/%.unit.$(O): $(srcroot)test/src/%.c
241 $(C_TESTLIB_INTEGRATION_OBJS): $(objroot)test/src/%.integration.$(O): $(srcroot)test/src/%.c
243 $(C_UTIL_INTEGRATION_OBJS): $(objroot)src/%.integration.$(O): $(srcroot)src/%.c
244 $(C_TESTLIB_STRESS_OBJS): $(objroot)test/src/%.stress.$(O): $(srcroot)test/src/%.c
246 $(C_TESTLIB_OBJS): CPPFLAGS += -I$(srcroot)test/include -I$(objroot)test/include
250 $(TESTS_OBJS): $(objroot)test/%.$(O): $(srcroot)test/%.c
251 $(TESTS_OBJS): CPPFLAGS += -I$(srcroot)test/include -I$(objroot)test/include
258 HEADER_DIRS = $(srcroot)include/jemalloc/internal \
361 tests_unit: $(TESTS_UNIT:$(srcroot)%.c=$(objroot)%$(EXE))
362 tests_integration: $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%$(EXE))
363 tests_stress: $(TESTS_STRESS:$(srcroot)%.c=$(objroot)%$(EXE))
375 …$(MALLOC_CONF)="purge:ratio" $(SHELL) $(objroot)test/test.sh $(TESTS_UNIT:$(srcroot)%.c=$(objroot)…
376 …$(MALLOC_CONF)="purge:decay" $(SHELL) $(objroot)test/test.sh $(TESTS_UNIT:$(srcroot)%.c=$(objroot)…
379 …$(MALLOC_CONF)="prof:true" $(SHELL) $(objroot)test/test.sh $(TESTS_INTEGRATION:$(srcroot)%.c=$(obj…
380 …e,prof_active:false" $(SHELL) $(objroot)test/test.sh $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%)
383 …decay,decay_time:-1" $(SHELL) $(objroot)test/test.sh $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%)
384 …:decay,decay_time:0" $(SHELL) $(objroot)test/test.sh $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%)
385 …$(MALLOC_CONF)="purge:decay" $(SHELL) $(objroot)test/test.sh $(TESTS_INTEGRATION:$(srcroot)%.c=$(o…
387 $(SHELL) $(objroot)test/test.sh $(TESTS_INTEGRATION:$(srcroot)%.c=$(objroot)%)
389 $(SHELL) $(objroot)test/test.sh $(TESTS_STRESS:$(srcroot)%.c=$(objroot)%)
394 $(SHELL) $(srcroot)coverage.sh $(srcroot)src jet $(C_JET_OBJS)
395 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/src unit $(C_TESTLIB_UNIT_OBJS)
396 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/unit unit $(TESTS_UNIT_OBJS)
399 $(SHELL) $(srcroot)coverage.sh $(srcroot)src pic $(C_PIC_OBJS)
400 $(SHELL) $(srcroot)coverage.sh $(srcroot)src integration $(C_UTIL_INTEGRATION_OBJS)
401 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/src integration $(C_TESTLIB_INTEGRATION_OBJS)
402 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/integration integration $(TESTS_INTEGRATION_OBJS)
405 $(SHELL) $(srcroot)coverage.sh $(srcroot)src pic $(C_PIC_OBJS)
406 $(SHELL) $(srcroot)coverage.sh $(srcroot)src jet $(C_JET_OBJS)
407 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/src stress $(C_TESTLIB_STRESS_OBJS)
408 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/stress stress $(TESTS_STRESS_OBJS)
411 $(SHELL) $(srcroot)coverage.sh $(srcroot)src pic $(C_PIC_OBJS)
412 $(SHELL) $(srcroot)coverage.sh $(srcroot)src jet $(C_JET_OBJS)
413 $(SHELL) $(srcroot)coverage.sh $(srcroot)src integration $(C_UTIL_INTEGRATION_OBJS)
414 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/src unit $(C_TESTLIB_UNIT_OBJS)
415 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/src integration $(C_TESTLIB_INTEGRATION_OBJS)
416 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/src stress $(C_TESTLIB_STRESS_OBJS)
417 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/unit unit $(TESTS_UNIT_OBJS) $(TESTS_UNIT_AUX_OBJS)
418 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/integration integration $(TESTS_INTEGRATION_OBJS)
419 $(SHELL) $(srcroot)coverage.sh $(srcroot)test/stress integration $(TESTS_STRESS_OBJS)
468 $(srcroot)configure : $(srcroot)configure.ac
469 cd ./$(srcroot) && $(AUTOCONF)
471 $(objroot)config.status : $(srcroot)configure
474 $(srcroot)config.stamp.in : $(srcroot)configure.ac
475 echo stamp > $(srcroot)config.stamp.in
477 $(objroot)config.stamp : $(cfgoutputs_in) $(cfghdrs_in) $(srcroot)configure