summaryrefslogtreecommitdiff
path: root/lib/tevent/tevent.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-23 19:39:52 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-12-23 19:44:11 +0100
commit22703bf3ffc3692a719d6bd593d3705697045bea (patch)
treef342cd7d87ea3228fbf17bf7cdca24ab3f122a2d /lib/tevent/tevent.mk
parent7e1f0e272ca2db577a929a2bbef651cf5759535e (diff)
downloadsamba-22703bf3ffc3692a719d6bd593d3705697045bea.tar.gz
samba-22703bf3ffc3692a719d6bd593d3705697045bea.tar.bz2
samba-22703bf3ffc3692a719d6bd593d3705697045bea.zip
standalone: Use more variables, preparing to include these files from main
Samba 4 makefile.
Diffstat (limited to 'lib/tevent/tevent.mk')
-rw-r--r--lib/tevent/tevent.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/tevent/tevent.mk b/lib/tevent/tevent.mk
index 8b4c6ed27e..2e4d5a96af 100644
--- a/lib/tevent/tevent.mk
+++ b/lib/tevent/tevent.mk
@@ -1,8 +1,9 @@
TEVENT_SONAME = libtevent.$(SHLIBEXT).0
TEVENT_SOLIB = libtevent.$(SHLIBEXT).$(PACKAGE_VERSION)
+TEVENT_STLIB = libtevent.a
-libtevent.a: $(TEVENT_OBJ)
- ar -rv libtevent.a $(TEVENT_OBJ)
+$(TEVENT_STLIB): $(TEVENT_OBJ)
+ ar -rv $(TEVENT_STLIB) $(TEVENT_OBJ)
libtevent.$(SHLIBEXT): $(TEVENT_SOLIB)
ln -fs $< $@
@@ -23,14 +24,14 @@ installheaders:: installdirs
installlibs:: installdirs
cp tevent.pc $(DESTDIR)$(libdir)/pkgconfig
- cp libtevent.a $(TEVENT_SOLIB) $(DESTDIR)$(libdir)
+ cp $(TEVENT_STLIB) $(TEVENT_SOLIB) $(DESTDIR)$(libdir)
install:: all installdirs installheaders installlibs $(PYTHON_INSTALL_TARGET)
clean::
- rm -f $(TEVENT_SONAME) $(TEVENT_SOLIB) libtevent.a libtevent.$(SHLIBEXT)
+ rm -f $(TEVENT_SONAME) $(TEVENT_SOLIB) $(TEVENT_STLIB) libtevent.$(SHLIBEXT)
rm -f tevent.pc
- rm -f _libtevent.$(SHLIBEXT)
+ rm -f tevent.$(SHLIBEXT)
#python stuff