source: git/omalloc/Makefile.am @ 148d3c

fieker-DuValspielwiese
Last change on this file since 148d3c was 148d3c, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
FIX: fixing the build system (install needed headers on needed places) FIX: libpolys-config is correct now (installed, echo -n-fixed) ADD: trying to use FACTORY_{libs, cflags} as for gmp/ntl CHG: switched from omalloc_debug to omalloc_g ADD: symlink for gftables in libpolys/tests
  • Property mode set to 100644
File size: 1.5 KB
Line 
1lib_LIBRARIES=libomalloc.a libomalloc_g.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           omlimits.h              mylimits.h
14
15
16
17noinst_HEADERS= omPage.h omDefaultConfig.h omReturn.h
18
19SOURCES=\
20omBinPage.c       omList.c         omAllocEmulate.c omDebug.c        \
21om_Alloc.c        omDebugCheck.c   omOpts.c         omGetBackTrace.c \
22omAllocSystem.c   omError.c        omStats.c        omRet2Info.c     \
23omBin.c           omFindExec.c     omDebugTrack.c                    \
24omalloc_provide.c omAllocFunc.c
25
26INCLUDES=-I${top_srcdir}/.. -I${top_builddir}/..
27
28libomalloc_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
29libomalloc_g_a_SOURCES=$(SOURCES) $(noinst_HEADERS)
30
31nodist_libomalloc_a_SOURCES = omConfig.h omlimits.h mylimits.h omTables.h omalloc.h omTables.inc
32nodist_libomalloc_g_a_SOURCES = omConfig.h omlimits.h omTables.h omalloc.h omTables.inc
33
34libomalloc_a_CPPFLAGS= -DOM_NDEBUG
35
36BUILT_SOURCES = omTables.inc omTables.h
37
38omTables.inc: omTables omalloc.h
39        ./omTables > omTables.xx && mv omTables.xx  $@
40
41omTables.h: omTables
42        ./omTables 1 >omTables.yy && mv omTables.yy $@
43
44noinst_PROGRAMS = omTables
45omTables_SOURCES = omAllocPrivate.h omConfig.h omTables.c omlimits.h mylimits.h
46omTables_CPPFLAGS = -DOM_GENERATE_INC
47
Note: See TracBrowser for help on using the repository browser.