s3:dbwrap_ctdb: add a function db_ctdb_ltdb_fetch()
[Samba/ekacnet.git] / lib / tevent / tevent.mk
blob694d082c4a9f2eeb5313b5085a8f1db4fc7fa544
1 TEVENT_SOBASE = libtevent.$(SHLIBEXT)
2 TEVENT_SONAME = $(TEVENT_SOBASE).0
3 TEVENT_SOLIB = $(TEVENT_SOBASE).$(PACKAGE_VERSION)
4 TEVENT_STLIB = libtevent.a
6 $(TEVENT_STLIB): $(TEVENT_OBJ)
7 ar -rv $(TEVENT_STLIB) $(TEVENT_OBJ)
9 $(TEVENT_SOBASE): $(TEVENT_SOLIB)
10 ln -fs $< $@
12 $(TEVENT_SONAME): $(TEVENT_SOLIB)
13 ln -fs $< $@
15 dirs::
16 @mkdir -p lib
18 installdirs::
19 mkdir -p $(DESTDIR)$(includedir)
20 mkdir -p $(DESTDIR)$(libdir)
21 mkdir -p $(DESTDIR)$(libdir)/pkgconfig
23 installheaders:: installdirs
24 cp $(srcdir)/tevent.h $(DESTDIR)$(includedir)
26 installlibs:: installdirs
27 cp tevent.pc $(DESTDIR)$(libdir)/pkgconfig
28 cp $(TEVENT_STLIB) $(TEVENT_SOLIB) $(DESTDIR)$(libdir)
30 install:: all installdirs installheaders installlibs $(PYTHON_INSTALL_TARGET)
32 abi_checks::
33 @echo ABI checks:
34 @./script/abi_checks.sh tevent tevent.h
36 test:: abi_checks
38 clean::
39 rm -f $(TEVENT_SOBASE) $(TEVENT_SONAME) $(TEVENT_SOLIB) $(TEVENT_STLIB)
40 rm -f tevent.pc
41 rm -f tevent.exports.sort tevent.exports.check tevent.exports.check.sort
42 rm -f tevent.signatures.sort tevent.signatures.check tevent.signatures.check.sort