Last change
on this file since 1075 was 414, checked in by Herwig Bauernfeind, 15 years ago |
Samba 3.5.0: Initial import
|
File size:
1.3 KB
|
Line | |
---|
1 | TEVENT_SOBASE = libtevent.$(SHLIBEXT)
|
---|
2 | TEVENT_SONAME = $(TEVENT_SOBASE).0
|
---|
3 | TEVENT_SOLIB = $(TEVENT_SOBASE).$(PACKAGE_VERSION)
|
---|
4 | TEVENT_STLIB = libtevent.a
|
---|
5 |
|
---|
6 | $(TEVENT_STLIB): $(TEVENT_OBJ)
|
---|
7 | ar -rv $(TEVENT_STLIB) $(TEVENT_OBJ)
|
---|
8 |
|
---|
9 | $(TEVENT_SOBASE): $(TEVENT_SOLIB)
|
---|
10 | ln -fs $< $@
|
---|
11 |
|
---|
12 | $(TEVENT_SONAME): $(TEVENT_SOLIB)
|
---|
13 | ln -fs $< $@
|
---|
14 |
|
---|
15 | dirs::
|
---|
16 | @mkdir -p lib
|
---|
17 |
|
---|
18 | installdirs::
|
---|
19 | mkdir -p $(DESTDIR)$(includedir)
|
---|
20 | mkdir -p $(DESTDIR)$(libdir)
|
---|
21 | mkdir -p $(DESTDIR)$(libdir)/pkgconfig
|
---|
22 |
|
---|
23 | installheaders:: installdirs
|
---|
24 | cp $(srcdir)/tevent.h $(DESTDIR)$(includedir)
|
---|
25 |
|
---|
26 | installlibs:: installdirs
|
---|
27 | cp tevent.pc $(DESTDIR)$(libdir)/pkgconfig
|
---|
28 | cp $(TEVENT_STLIB) $(TEVENT_SOLIB) $(DESTDIR)$(libdir)
|
---|
29 | rm -f $(DESTDIR)$(libdir)/$(TEVENT_SONAME)
|
---|
30 | ln -s $(TEVENT_SOLIB) $(DESTDIR)$(libdir)/$(TEVENT_SONAME)
|
---|
31 | rm -f $(DESTDIR)$(libdir)/$(TEVENT_SOBASE)
|
---|
32 | ln -s $(TEVENT_SOLIB) $(DESTDIR)$(libdir)/$(TEVENT_SOBASE)
|
---|
33 |
|
---|
34 | install:: all installdirs installheaders installlibs $(PYTHON_INSTALL_TARGET)
|
---|
35 |
|
---|
36 | abi_checks::
|
---|
37 | @echo ABI checks:
|
---|
38 | @./script/abi_checks.sh tevent tevent.h
|
---|
39 |
|
---|
40 | test:: abi_checks
|
---|
41 |
|
---|
42 | clean::
|
---|
43 | rm -f $(TEVENT_SOBASE) $(TEVENT_SONAME) $(TEVENT_SOLIB) $(TEVENT_STLIB)
|
---|
44 | rm -f tevent.pc
|
---|
45 | rm -f tevent.exports.sort tevent.exports.check tevent.exports.check.sort
|
---|
46 | rm -f tevent.signatures.sort tevent.signatures.check tevent.signatures.check.sort
|
---|
Note:
See
TracBrowser
for help on using the repository browser.