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