Makefile.am revision 219820
1219820Sjeff 2219820SjeffINCLUDES = -I$(srcdir)/../include 3219820Sjeff 4219820Sjefflib_LTLIBRARIES = libosmcomp.la 5219820Sjeff 6219820Sjeffif DEBUG 7219820SjeffDBGFLAGS = -ggdb -D_DEBUG_ 8219820Sjeffelse 9219820SjeffDBGFLAGS = -g 10219820Sjeffendif 11219820Sjeff 12219820Sjefflibosmcomp_la_CFLAGS = -Wall $(DBGFLAGS) -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 13219820Sjeff 14219820Sjeffif HAVE_LD_VERSION_SCRIPT 15219820Sjeff libosmcomp_version_script = -Wl,--version-script=$(srcdir)/libosmcomp.map 16219820Sjeffelse 17219820Sjeff libosmcomp_version_script = 18219820Sjeffendif 19219820Sjeff 20219820Sjeffcomplib_api_version=$(shell grep LIBVERSION= $(srcdir)/libosmcomp.ver | sed 's/LIBVERSION=//') 21219820Sjeff 22219820Sjefflibosmcomp_la_SOURCES = cl_complib.c cl_dispatcher.c \ 23219820Sjeff cl_event.c cl_event_wheel.c \ 24219820Sjeff cl_list.c cl_log.c cl_map.c \ 25219820Sjeff cl_pool.c cl_ptr_vector.c \ 26219820Sjeff cl_spinlock.c cl_statustext.c \ 27219820Sjeff cl_thread.c cl_threadpool.c \ 28219820Sjeff cl_timer.c cl_vector.c \ 29219820Sjeff ib_statustext.c \ 30219820Sjeff cl_nodenamemap.c 31219820Sjeff 32219820Sjefflibosmcomp_la_LDFLAGS = -version-info $(complib_api_version) \ 33219820Sjeff -export-dynamic $(libosmcomp_version_script) 34219820Sjefflibosmcomp_la_DEPENDENCIES = $(srcdir)/libosmcomp.map 35219820Sjeff 36219820Sjefflibosmcompincludedir = $(includedir)/infiniband/complib 37219820Sjeff 38219820Sjefflibosmcompinclude_HEADERS = $(srcdir)/../include/complib/cl_atomic.h \ 39219820Sjeff $(srcdir)/../include/complib/cl_atomic_osd.h \ 40219820Sjeff $(srcdir)/../include/complib/cl_byteswap.h \ 41219820Sjeff $(srcdir)/../include/complib/cl_byteswap_osd.h \ 42219820Sjeff $(srcdir)/../include/complib/cl_comppool.h \ 43219820Sjeff $(srcdir)/../include/complib/cl_debug.h \ 44219820Sjeff $(srcdir)/../include/complib/cl_debug_osd.h \ 45219820Sjeff $(srcdir)/../include/complib/cl_dispatcher.h \ 46219820Sjeff $(srcdir)/../include/complib/cl_event.h \ 47219820Sjeff $(srcdir)/../include/complib/cl_event_wheel.h \ 48219820Sjeff $(srcdir)/../include/complib/cl_event_osd.h \ 49219820Sjeff $(srcdir)/../include/complib/cl_fleximap.h \ 50219820Sjeff $(srcdir)/../include/complib/cl_list.h \ 51219820Sjeff $(srcdir)/../include/complib/cl_log.h \ 52219820Sjeff $(srcdir)/../include/complib/cl_map.h \ 53219820Sjeff $(srcdir)/../include/complib/cl_math.h \ 54219820Sjeff $(srcdir)/../include/complib/cl_nodenamemap.h \ 55219820Sjeff $(srcdir)/../include/complib/cl_packoff.h \ 56219820Sjeff $(srcdir)/../include/complib/cl_packon.h \ 57219820Sjeff $(srcdir)/../include/complib/cl_passivelock.h \ 58219820Sjeff $(srcdir)/../include/complib/cl_pool.h \ 59219820Sjeff $(srcdir)/../include/complib/cl_ptr_vector.h \ 60219820Sjeff $(srcdir)/../include/complib/cl_qcomppool.h \ 61219820Sjeff $(srcdir)/../include/complib/cl_qlist.h \ 62219820Sjeff $(srcdir)/../include/complib/cl_qmap.h \ 63219820Sjeff $(srcdir)/../include/complib/cl_qpool.h \ 64219820Sjeff $(srcdir)/../include/complib/cl_spinlock.h \ 65219820Sjeff $(srcdir)/../include/complib/cl_spinlock_osd.h \ 66219820Sjeff $(srcdir)/../include/complib/cl_thread.h \ 67219820Sjeff $(srcdir)/../include/complib/cl_thread_osd.h \ 68219820Sjeff $(srcdir)/../include/complib/cl_threadpool.h \ 69219820Sjeff $(srcdir)/../include/complib/cl_timer.h \ 70219820Sjeff $(srcdir)/../include/complib/cl_timer_osd.h \ 71219820Sjeff $(srcdir)/../include/complib/cl_types.h \ 72219820Sjeff $(srcdir)/../include/complib/cl_types_osd.h \ 73219820Sjeff $(srcdir)/../include/complib/cl_threadpool.h \ 74219820Sjeff $(srcdir)/../include/complib/cl_timer.h \ 75219820Sjeff $(srcdir)/../include/complib/cl_timer_osd.h \ 76219820Sjeff $(srcdir)/../include/complib/cl_types.h \ 77219820Sjeff $(srcdir)/../include/complib/cl_types_osd.h \ 78219820Sjeff $(srcdir)/../include/complib/cl_vector.h 79219820Sjeff 80219820Sjeff# headers are distributed as part of the include dir 81219820SjeffEXTRA_DIST = $(srcdir)/libosmcomp.map $(srcdir)/libosmcomp.ver 82