diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2010-03-26 15:23:54 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2010-05-27 06:07:59 -0700 |
commit | c3a3bec97c1e85e333c4d6f958ee50d09e6a9429 (patch) | |
tree | 6950966f2356c46164688c9065ec8b589f7b5103 /xts5/Xlib12 | |
parent | e7d90b04e507f4f1b1a2b6fc81e02a7b208d0090 (diff) |
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 <dbn.lists@gmail.com>
Diffstat (limited to 'xts5/Xlib12')
-rw-r--r-- | xts5/Xlib12/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xts5/Xlib12/Makefile.am b/xts5/Xlib12/Makefile.am index 36728e2b..c23b01cd 100644 --- a/xts5/Xlib12/Makefile.am +++ b/xts5/Xlib12/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) @@ -52,5 +53,6 @@ XDisplayName_Test1_LDADD = $(top_builddir)/src/tet3/tcm/libtcmchild.la \ $(top_builddir)/xts5/src/xim/libximtest.la \ $(top_builddir)/xts5/src/lib/libxtest.la \ $(top_builddir)/xts5/fonts/libfont.la \ + $(top_builddir)/src/tet3/apilib/libapi_s.la \ $(top_builddir)/src/tet3/apilib/libapi.la \ $(XTS_LIBS) |