source: git/xalloc/Makefile.am @ 05051f

spielwiese
Last change on this file since 05051f was 2b43ac, checked in by François Bissey <francois.bissey@…>, 11 years ago
Make debuging objects (_g) a configure option.
  • Property mode set to 100644
File size: 726 bytes
Line 
1ACLOCAL_AMFLAGS = -I ../m4
2
3if WANT_DEBUG
4  LIB_G=libomalloc_g.la
5else
6  LIB_G=
7endif
8
9libomalloc_LTLIBRARIES=libomalloc.la ${LIB_G}
10libomallocdir = $(libdir)/
11
12libomalloc_includedir=$(includedir)/omalloc
13
14libomalloc_include_HEADERS = omalloc.h
15
16SOURCES = dummy.c
17
18AM_CPPFLAGS = -I${srcdir}
19
20libomalloc_la_SOURCES  =$(SOURCES)
21libomalloc_g_la_SOURCES=$(SOURCES)
22
23libomalloc_la_CFLAGS            = -O3 ${PIPE}
24libomalloc_g_la_CFLAGS  = -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
25
26libomalloc_la_CXXFLAGS  = -O3 ${PIPE}
27libomalloc_g_la_CXXFLAGS= -g -Wextra -Wall -pedantic -Wno-long-long ${PIPE}
28
29libomalloc_la_CPPFLAGS  = ${AM_CPPFLAGS} -DHAVE_CONFIG_H -DNDEBUG -DOM_NDEBUG
30libomalloc_g_la_CPPFLAGS= ${AM_CPPFLAGS} -DHAVE_CONFIG_H
31
Note: See TracBrowser for help on using the repository browser.