1 | lib_LIBRARIES=libomalloc.a libomalloc_debug.a |
---|
2 | |
---|
3 | libomalloc_a_includedir=$(includedir)/omalloc |
---|
4 | |
---|
5 | libomalloc_a_include_HEADERS=\ |
---|
6 | omalloc.h omConfig.h omDerivedConfig.h \ |
---|
7 | omError.h omStructs.h omAllocDecl.h \ |
---|
8 | omInlineDecl.h omBin.h omMemOps.h \ |
---|
9 | omList.h omFindExec.h omGetBackTrace.h \ |
---|
10 | omRet2Info.h omStats.h omOpts.h \ |
---|
11 | omBinPage.h omAllocSystem.h omTables.h \ |
---|
12 | omAllocPrivate.h omDebug.h omInline.h \ |
---|
13 | omAllocFunc.h |
---|
14 | |
---|
15 | |
---|
16 | |
---|
17 | noinst_HEADERS=\ |
---|
18 | mylimits.h omlimits.h omPage.h \ |
---|
19 | omDefaultConfig.h omReturn.h |
---|
20 | |
---|
21 | SOURCES=\ |
---|
22 | omBinPage.c omList.c omAllocEmulate.c omDebug.c \ |
---|
23 | om_Alloc.c omDebugCheck.c omOpts.c omGetBackTrace.c \ |
---|
24 | omAllocSystem.c omError.c omStats.c omRet2Info.c \ |
---|
25 | omBin.c omFindExec.c omDebugTrack.c \ |
---|
26 | omalloc_provide.c omAllocFunc.c |
---|
27 | |
---|
28 | INCLUDES=-I${top_srcdir}/.. -I${top_builddir}/.. |
---|
29 | |
---|
30 | libomalloc_a_SOURCES=$(SOURCES) $(noinst_HEADERS) |
---|
31 | libomalloc_debug_a_SOURCES=$(SOURCES) $(noinst_HEADERS) |
---|
32 | |
---|
33 | nodist_libomalloc_a_SOURCES = omConfig.h omlimits.h mylimits.h omTables.h omalloc.h omTables.inc |
---|
34 | nodist_libomalloc_debug_a_SOURCES = omConfig.h omlimits.h omTables.h omalloc.h omTables.inc |
---|
35 | |
---|
36 | libomalloc_a_CPPFLAGS= -DOM_NDEBUG |
---|
37 | |
---|
38 | BUILT_SOURCES = omTables.inc omTables.h |
---|
39 | |
---|
40 | omTables.inc: omTables omalloc.h |
---|
41 | ./omTables > omTables.xx && mv omTables.xx $@ |
---|
42 | |
---|
43 | omTables.h: omTables |
---|
44 | ./omTables 1 >omTables.yy && mv omTables.yy $@ |
---|
45 | |
---|
46 | noinst_PROGRAMS = omTables |
---|
47 | omTables_SOURCES = omAllocPrivate.h omConfig.h omTables.c omlimits.h mylimits.h |
---|
48 | omTables_CPPFLAGS = -DOM_GENERATE_INC |
---|
49 | |
---|