Browse Source

[3305] Do not install libraries used for DHCP tests

Stephen Morris 11 years ago
parent
commit
8730026183

+ 2 - 1
src/bin/dhcp4/tests/Makefile.am

@@ -58,7 +58,8 @@ if HAVE_GTEST
 # to unexpected errors. For this reason, the --enable-static-link option is
 # to unexpected errors. For this reason, the --enable-static-link option is
 # ignored for unit tests built here.
 # ignored for unit tests built here.
 
 
-lib_LTLIBRARIES = libco1.la libco2.la
+nodistdir=$(abs_top_builddir)/src/bin/dhcp4/tests
+nodist_LTLIBRARIES = libco1.la libco2.la
 
 
 libco1_la_SOURCES  = callout_library_1.cc callout_library_common.h
 libco1_la_SOURCES  = callout_library_1.cc callout_library_common.h
 libco1_la_CXXFLAGS = $(AM_CXXFLAGS)
 libco1_la_CXXFLAGS = $(AM_CXXFLAGS)

+ 2 - 1
src/bin/dhcp6/tests/Makefile.am

@@ -54,7 +54,8 @@ if HAVE_GTEST
 # to unexpected errors. For this reason, the --enable-static-link option is
 # to unexpected errors. For this reason, the --enable-static-link option is
 # ignored for unit tests built here.
 # ignored for unit tests built here.
 
 
-lib_LTLIBRARIES = libco1.la libco2.la
+nodistdir=$(abs_top_builddir)/src/bin/dhcp6/tests
+nodist_LTLIBRARIES = libco1.la libco2.la
 
 
 libco1_la_SOURCES  = callout_library_1.cc callout_library_common.h
 libco1_la_SOURCES  = callout_library_1.cc callout_library_common.h
 libco1_la_CXXFLAGS = $(AM_CXXFLAGS)
 libco1_la_CXXFLAGS = $(AM_CXXFLAGS)

+ 2 - 1
src/lib/dhcpsrv/tests/Makefile.am

@@ -33,7 +33,8 @@ if HAVE_GTEST
 # to unexpected errors. For this reason, the --enable-static-link option is
 # to unexpected errors. For this reason, the --enable-static-link option is
 # ignored for unit tests built here.
 # ignored for unit tests built here.
 
 
-lib_LTLIBRARIES = libco1.la libco2.la
+nodistdir=$(abs_top_builddir)/src/lib/dhcpsrv/tests
+nodist_LTLIBRARIES = libco1.la libco2.la
 
 
 libco1_la_SOURCES  = callout_library.cc
 libco1_la_SOURCES  = callout_library.cc
 libco1_la_CXXFLAGS = $(AM_CXXFLAGS)
 libco1_la_CXXFLAGS = $(AM_CXXFLAGS)