From c3a3bec97c1e85e333c4d6f958ee50d09e6a9429 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 26 Mar 2010 15:23:54 -0700 Subject: tet: Build TET API library as private shared module Making libapi shared saves quite a bit of space since it's linked into every test program. However, parts of the API are intended to be linked statically into the program, so libapi and libtcm have been split into static and shared (_s) portions. In order to satisy undefined extern variables with shared libraries, tet_pname and tet_thistest have been added to tcc and exported. Hopefully, more code can be moved into the shared _s portion with just small stubs linked statically into the tests. Signed-off-by: Dan Nicholson --- xts5/Xlib11/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'xts5/Xlib11') diff --git a/xts5/Xlib11/Makefile.am b/xts5/Xlib11/Makefile.am index 68fa1292..b0175704 100644 --- a/xts5/Xlib11/Makefile.am +++ b/xts5/Xlib11/Makefile.am @@ -10,6 +10,7 @@ LDADD = $(top_builddir)/src/tet3/tcm/libtcmmain.la \ $(top_builddir)/xts5/src/lib/libxtest.la \ $(top_builddir)/xts5/fonts/libfont.la \ $(top_builddir)/src/tet3/apilib/libapi.la \ + $(top_builddir)/src/tet3/apilib/libapi_s.la \ $(XTS_LIBS) testprogdir = $(libexecdir)/$(subdir) -- cgit v1.2.3