1 pkglib_LTLIBRARIES = libopagent.la 2 3 # install opagent.h to include directory 4 include_HEADERS = opagent.h 5 6 libopagent_la_SOURCES = opagent.c \ 7 jitdump.h \ 8 opagent.h 9 10 EXTRA_DIST = opagent_symbols.ver 11 12 13 libopagent_la_CFLAGS = -fPIC -I ${top_srcdir}/libop -I ${top_srcdir}/libutil 14 libopagent_la_LIBADD = $(BFD_LIBS) 15 16 # Do not increment the major version for this library except to 17 # intentionally break backward ABI compatability. Use the 18 # symbol versioning technique (via the version script) to add new or 19 # change existing functions; then just increment the minor version. 20 # See http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_25.html 21 # for details about the --version-script option. 22 libopagent_la_LDFLAGS = -version-info 1:0:0 \ 23 -Wl,--version-script=${top_srcdir}/libopagent/opagent_symbols.ver 24 25 26