Makefile.am revision 219820
1 2INCLUDES = -I$(srcdir)/../include 3 4lib_LTLIBRARIES = libosmcomp.la 5 6if DEBUG 7DBGFLAGS = -ggdb -D_DEBUG_ 8else 9DBGFLAGS = -g 10endif 11 12libosmcomp_la_CFLAGS = -Wall $(DBGFLAGS) -D_XOPEN_SOURCE=600 -D_BSD_SOURCE=1 13 14if HAVE_LD_VERSION_SCRIPT 15 libosmcomp_version_script = -Wl,--version-script=$(srcdir)/libosmcomp.map 16else 17 libosmcomp_version_script = 18endif 19 20complib_api_version=$(shell grep LIBVERSION= $(srcdir)/libosmcomp.ver | sed 's/LIBVERSION=//') 21 22libosmcomp_la_SOURCES = cl_complib.c cl_dispatcher.c \ 23 cl_event.c cl_event_wheel.c \ 24 cl_list.c cl_log.c cl_map.c \ 25 cl_pool.c cl_ptr_vector.c \ 26 cl_spinlock.c cl_statustext.c \ 27 cl_thread.c cl_threadpool.c \ 28 cl_timer.c cl_vector.c \ 29 ib_statustext.c \ 30 cl_nodenamemap.c 31 32libosmcomp_la_LDFLAGS = -version-info $(complib_api_version) \ 33 -export-dynamic $(libosmcomp_version_script) 34libosmcomp_la_DEPENDENCIES = $(srcdir)/libosmcomp.map 35 36libosmcompincludedir = $(includedir)/infiniband/complib 37 38libosmcompinclude_HEADERS = $(srcdir)/../include/complib/cl_atomic.h \ 39 $(srcdir)/../include/complib/cl_atomic_osd.h \ 40 $(srcdir)/../include/complib/cl_byteswap.h \ 41 $(srcdir)/../include/complib/cl_byteswap_osd.h \ 42 $(srcdir)/../include/complib/cl_comppool.h \ 43 $(srcdir)/../include/complib/cl_debug.h \ 44 $(srcdir)/../include/complib/cl_debug_osd.h \ 45 $(srcdir)/../include/complib/cl_dispatcher.h \ 46 $(srcdir)/../include/complib/cl_event.h \ 47 $(srcdir)/../include/complib/cl_event_wheel.h \ 48 $(srcdir)/../include/complib/cl_event_osd.h \ 49 $(srcdir)/../include/complib/cl_fleximap.h \ 50 $(srcdir)/../include/complib/cl_list.h \ 51 $(srcdir)/../include/complib/cl_log.h \ 52 $(srcdir)/../include/complib/cl_map.h \ 53 $(srcdir)/../include/complib/cl_math.h \ 54 $(srcdir)/../include/complib/cl_nodenamemap.h \ 55 $(srcdir)/../include/complib/cl_packoff.h \ 56 $(srcdir)/../include/complib/cl_packon.h \ 57 $(srcdir)/../include/complib/cl_passivelock.h \ 58 $(srcdir)/../include/complib/cl_pool.h \ 59 $(srcdir)/../include/complib/cl_ptr_vector.h \ 60 $(srcdir)/../include/complib/cl_qcomppool.h \ 61 $(srcdir)/../include/complib/cl_qlist.h \ 62 $(srcdir)/../include/complib/cl_qmap.h \ 63 $(srcdir)/../include/complib/cl_qpool.h \ 64 $(srcdir)/../include/complib/cl_spinlock.h \ 65 $(srcdir)/../include/complib/cl_spinlock_osd.h \ 66 $(srcdir)/../include/complib/cl_thread.h \ 67 $(srcdir)/../include/complib/cl_thread_osd.h \ 68 $(srcdir)/../include/complib/cl_threadpool.h \ 69 $(srcdir)/../include/complib/cl_timer.h \ 70 $(srcdir)/../include/complib/cl_timer_osd.h \ 71 $(srcdir)/../include/complib/cl_types.h \ 72 $(srcdir)/../include/complib/cl_types_osd.h \ 73 $(srcdir)/../include/complib/cl_threadpool.h \ 74 $(srcdir)/../include/complib/cl_timer.h \ 75 $(srcdir)/../include/complib/cl_timer_osd.h \ 76 $(srcdir)/../include/complib/cl_types.h \ 77 $(srcdir)/../include/complib/cl_types_osd.h \ 78 $(srcdir)/../include/complib/cl_vector.h 79 80# headers are distributed as part of the include dir 81EXTRA_DIST = $(srcdir)/libosmcomp.map $(srcdir)/libosmcomp.ver 82