source: git/omalloc/Makefile.am @ d462535

spielwiese
Last change on this file since d462535 was d462535, checked in by Bradford Hovinen <hovinen@…>, 13 years ago
Change order of libraries when building libpolys/coeffs/test to avoid undefined symbol errors Add omTables.h to BUILT_SOURCES in omalloc
  • Property mode set to 100644
File size: 1.5 KB
Line 
1lib_LIBRARIES=libomalloc.a libomalloc_debug.a
2
3libomalloc_a_includedir=$(includedir)/omalloc
4
5libomalloc_a_include_HEADERS=\
6omalloc.h               omConfig.h              omDerivedConfig.h       \
7omError.h               omStructs.h             omAllocDecl.h           \
8omInlineDecl.h          omBin.h                 omMemOps.h              \
9omList.h                omFindExec.h            omGetBackTrace.h        \
10omRet2Info.h            omStats.h               omOpts.h                \
11omBinPage.h             omAllocSystem.h         omTables.h              \
12omAllocPrivate.h        omDebug.h               omInline.h              \
13omAllocFunc.h
14
15
16
17noinst_HEADERS=\
18mylimits.h              omlimits.h              omPage.h                \
19omDefaultConfig.h       omReturn.h
20
21SOURCES=\
22omBinPage.c       omList.c         omAllocEmulate.c omDebug.c        \
23om_Alloc.c        omDebugCheck.c   omOpts.c         omGetBackTrace.c \
24omAllocSystem.c   omError.c        omStats.c        omRet2Info.c     \
25omBin.c           omFindExec.c     omDebugTrack.c                    \
26omalloc_provide.c omAllocFunc.c
27
28INCLUDES=-I${top_srcdir}/.. -I${top_builddir}/..
29
30libomalloc_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
31libomalloc_debug_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
32
33nodist_libomalloc_a_SOURCES = omConfig.h omlimits.h mylimits.h omTables.h omalloc.h omTables.inc
34nodist_libomalloc_debug_a_SOURCES = omConfig.h omlimits.h omTables.h omalloc.h omTables.inc
35
36libomalloc_a_CPPFLAGS= -DOM_NDEBUG
37
38BUILT_SOURCES = omTables.inc omTables.h
39
40omTables.inc: omTables omalloc.h
41        ./omTables > omTables.xx && mv omTables.xx  $@
42
43omTables.h: omTables
44        ./omTables 1 >omTables.yy && mv omTables.yy $@
45
46noinst_PROGRAMS = omTables
47omTables_SOURCES = omAllocPrivate.h omConfig.h omTables.c omlimits.h mylimits.h
48omTables_CPPFLAGS = -DOM_GENERATE_INC
49
Note: See TracBrowser for help on using the repository browser.