1219820Sjeff 2219820SjeffINCLUDES = -I$(srcdir)/../include \ 3219820Sjeff -I$(includedir)/infiniband 4219820Sjeff 5219820Sjefflib_LTLIBRARIES = libosmeventplugin.la 6219820Sjeff 7219820Sjeffif DEBUG 8219820SjeffDBGFLAGS = -ggdb -D_DEBUG_ 9219820Sjeffelse 10219820SjeffDBGFLAGS = -g 11219820Sjeffendif 12219820Sjeff 13219820Sjefflibosmeventplugin_la_CFLAGS = -Wall $(DBGFLAGS) -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 14219820Sjeff 15219820Sjeffif HAVE_LD_VERSION_SCRIPT 16219820Sjeff libosmeventplugin_version_script = -Wl,--version-script=$(srcdir)/libosmeventplugin.map 17219820Sjeffelse 18219820Sjeff libosmeventplugin_version_script = 19219820Sjeffendif 20219820Sjeff 21219820Sjeffosmeventplugin_api_version=$(shell grep LIBVERSION= $(srcdir)/libosmeventplugin.ver | sed 's/LIBVERSION=//') 22219820Sjeff 23219820Sjefflibosmeventplugin_la_SOURCES = src/osmeventplugin.c 24219820Sjefflibosmeventplugin_la_LDFLAGS = -version-info $(osmeventplugin_api_version) \ 25219820Sjeff -export-dynamic $(libosmeventplugin_version_script) 26219820Sjefflibosmeventplugin_la_LIBADD = -L../complib $(OSMV_LDADD) -losmcomp 27219820Sjefflibosmeventplugin_la_DEPENDENCIES = $(srcdir)/libosmeventplugin.map 28219820Sjeff 29219820Sjefflibosmeventpluginincludedir = $(includedir)/infiniband/complib 30219820Sjeff 31219820Sjefflibosmeventplugininclude_HEADERS = 32219820Sjeff 33219820Sjeff# headers are distributed as part of the include dir 34219820SjeffEXTRA_DIST = $(srcdir)/libosmeventplugin.map $(srcdir)/libosmeventplugin.ver 35