source: git/omalloc/Makefile.am @ 9634a6

spielwiese
Last change on this file since 9634a6 was 9634a6, checked in by Mohamed Barakat <mohamed.barakat@…>, 13 years ago
started migration to automake in top level and omalloc
  • Property mode set to 100644
File size: 1.6 KB
Line 
1lib_LIBRARIES=libomalloc.a libomalloc_debug.a
2
3noinst_HEADERS=\
4mylimits.h             omlimits.h \
5om_Alloc.h             omList.h               omDerivedConfig.h \
6omAllocDecl.h          omConfig.h             omMemOps.h        \
7omDebug.h              omOpts.h               omInlineDecl.h    \
8omAllocPrivate.h       omError.h              omPage.h          \
9omAllocSystem.h        omFindExec.h           omStats.h         \
10omBin.h                omDefaultConfig.h      omStructs.h       \
11omBinPage.h            omInline.h             omGetBackTrace.h  \
12omReturn.h             omRet2Info.h           omAllocFunc.h     \
13omTables.h
14
15SOURCES=\
16omBinPage.c       omList.c         omAllocEmulate.c omDebug.c        \
17om_Alloc.c        omDebugCheck.c   omOpts.c         omGetBackTrace.c \
18omAllocSystem.c   omError.c        omStats.c        omRet2Info.c     \
19omBin.c           omFindExec.c     omDebugTrack.c                    \
20omalloc_provide.c omAllocFunc.c
21
22libomalloc_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
23libomalloc_debug_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
24
25nodist_libomalloc_a_SOURCES = omConfig.h omlimits.h mylimits.h omTables.h omalloc.h omTables.inc
26nodist_libomalloc_debug_a_SOURCES = omConfig.h omlimits.h omTables.h omalloc.h omTables.inc
27
28libomalloc_a_CPPFLAGS= -DOM_NDEBUG
29
30omalloc.h: $(noinst_HEADERS) omTables.h
31        ./makeheader om_Alloc.h $@
32
33omTables.inc: omTables omalloc.h
34        ./omTables > omTables.xx && mv omTables.xx  $@
35
36omTables.h: omTables
37        ./omTables 1 >omTables.yy && mv omTables.yy $@
38
39noinst_PROGRAMS = omTables
40omTables_SOURCES = omAllocPrivate.h omConfig.h omTables.c omlimits.h mylimits.h
41omTables_CPPFLAGS = -DOM_GENERATE_INC
42
Note: See TracBrowser for help on using the repository browser.