summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2018-05-24 11:01:38 +0300
committerIvan Maidanski <ivmai@mail.ru>2018-05-24 11:01:38 +0300
commiteee4e1ac6c5a8d319e1ccf1d2ed33a783e835a39 (patch)
tree5a22cc836c73dfae6401b9924f84b7eee405b787 /Makefile.am
parent8085d9b2169d22822b965826c5120af1a8f53294 (diff)
downloadbdwgc-eee4e1ac6c5a8d319e1ccf1d2ed33a783e835a39.tar.gz
Do not install gc_allocator.h, gc_disclaim.h unless the features enabled
* Makefile.am [ENABLE_DISCLAIM] (pkginclude_HEADERS): Add gc_disclaim.h item. * Makefile.am [CPLUSPLUS] (pkginclude_HEADERS): Add gc_allocator.h item. * include/include.am (pkginclude_HEADERS): Remove gc_allocator.h and gc_disclaim.h items.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 0d60b1b6..31dacad8 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -105,6 +105,7 @@ endif
if ENABLE_DISCLAIM
libgc_la_SOURCES += fnlz_mlc.c
+pkginclude_HEADERS += include/gc_disclaim.h
endif
## End of !SINGLE_GC_OBJ
@@ -132,7 +133,7 @@ if CPLUSPLUS
# C++ Interface
# -------------
lib_LTLIBRARIES += libgccpp.la
-pkginclude_HEADERS += include/gc_cpp.h
+pkginclude_HEADERS += include/gc_allocator.h include/gc_cpp.h
include_HEADERS += include/extra/gc_cpp.h
libgccpp_la_SOURCES = gc_cpp.cc
libgccpp_la_LIBADD = ./libgc.la