mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
30b2014a01
move publicly needed structures and functions in the public header. Stop installing internal headers. Update the signature and exports files with the new exposed function.
35 lines
843 B
Makefile
35 lines
843 B
Makefile
TEVENT_SOBASE = libtevent.$(SHLIBEXT)
|
|
TEVENT_SONAME = $(TEVENT_SOBASE).0
|
|
TEVENT_SOLIB = $(TEVENT_SOBASE).$(PACKAGE_VERSION)
|
|
TEVENT_STLIB = libtevent.a
|
|
|
|
$(TEVENT_STLIB): $(TEVENT_OBJ)
|
|
ar -rv $(TEVENT_STLIB) $(TEVENT_OBJ)
|
|
|
|
$(TEVENT_SOBASE): $(TEVENT_SOLIB)
|
|
ln -fs $< $@
|
|
|
|
$(TEVENT_SONAME): $(TEVENT_SOLIB)
|
|
ln -fs $< $@
|
|
|
|
dirs::
|
|
@mkdir -p lib
|
|
|
|
installdirs::
|
|
mkdir -p $(DESTDIR)$(includedir)
|
|
mkdir -p $(DESTDIR)$(libdir)
|
|
mkdir -p $(DESTDIR)$(libdir)/pkgconfig
|
|
|
|
installheaders:: installdirs
|
|
cp $(srcdir)/tevent.h $(DESTDIR)$(includedir)
|
|
|
|
installlibs:: installdirs
|
|
cp tevent.pc $(DESTDIR)$(libdir)/pkgconfig
|
|
cp $(TEVENT_STLIB) $(TEVENT_SOLIB) $(DESTDIR)$(libdir)
|
|
|
|
install:: all installdirs installheaders installlibs $(PYTHON_INSTALL_TARGET)
|
|
|
|
clean::
|
|
rm -f $(TEVENT_SOBASE) $(TEVENT_SONAME) $(TEVENT_SOLIB) $(TEVENT_STLIB)
|
|
rm -f tevent.pc
|