Makefile.am revision 219820
1AM_CFLAGS = -g -Wall -D_GNU_SOURCE 2 3mthca_version_script = @MTHCA_VERSION_SCRIPT@ 4 5MTHCA_SOURCES = src/ah.c src/buf.c src/cq.c src/memfree.c src/mthca.c \ 6 src/qp.c src/srq.c src/verbs.c 7 8if HAVE_IBV_DEVICE_LIBRARY_EXTENSION 9 lib_LTLIBRARIES = src/libmthca.la 10 src_libmthca_la_SOURCES = $(MTHCA_SOURCES) 11 src_libmthca_la_LDFLAGS = -avoid-version -release @IBV_DEVICE_LIBRARY_EXTENSION@ \ 12 $(mthca_version_script) 13 mthcaconfdir = $(sysconfdir)/libibverbs.d 14 mthcaconf_DATA = mthca.driver 15else 16 mthcalibdir = $(libdir)/infiniband 17 mthcalib_LTLIBRARIES = src/mthca.la 18 src_mthca_la_SOURCES = $(MTHCA_SOURCES) 19 src_mthca_la_LDFLAGS = -avoid-version -module $(mthca_version_script) 20endif 21 22DEBIAN = debian/changelog debian/compat debian/control debian/copyright \ 23 debian/libmthca1.install debian/libmthca-dev.install debian/rules 24 25EXTRA_DIST = src/doorbell.h src/mthca.h src/mthca-abi.h src/wqe.h \ 26 src/mthca.map libmthca.spec.in mthca.driver 27 28dist-hook: libmthca.spec 29 cp libmthca.spec $(distdir) 30