1 Index: libnl-1.0-pre7/lib/Makefile
2 ===================================================================
3 --- libnl-1.0-pre7.orig/lib/Makefile 2007-11-16 03:19:22.404997365 +0100
4 +++ libnl-1.0-pre7/lib/Makefile 2007-11-16 03:22:22.903283376 +0100
6 OUT_SLIB := $(PACKAGE_NAME).so.$(PACKAGE_VERSION)
7 LN_SLIB := $(PACKAGE_NAME).so
8 LN1_SLIB := $(LN_SLIB).1
9 +OUT_ALIB := $(PACKAGE_NAME).a
16 @echo " MAKE $(OUT_SLIB)"; \
18 + $(MAKE) $(OUT_SLIB) $(OUT_ALIB)
20 $(OUT_SLIB): ../Makefile.opts $(OBJ)
21 @echo " LD $(OUT_SLIB)"; \
23 @echo " LN $(LN1_SLIB) $(LN_SLIB)"; \
24 rm -f $(LN_SLIB) ; $(LN) -s $(LN1_SLIB) $(LN_SLIB)
26 +$(OUT_ALIB): ../Makefile.opts $(OBJ)
28 + $(AR) rcu $@ $(OBJ); \
33 $(RM) -f $(OBJ) $(OUT_SLIB) $(LN_SLIB) $(LN1_SLIB); \
34 - $(RM) -f $(DEPS) $(OUT_SLIB) $(LN_SLIB) $(LN1_SLIB)
35 + $(RM) -f $(DEPS) $(OUT_ALIB) $(LN_SLIB) $(LN1_SLIB)
38 @echo " DISTCLEAN lib"; \
41 mkdir -p $(DESTDIR)$(libdir)/
42 install -m 0644 $(OUT_SLIB) $(DESTDIR)$(libdir)
43 + install -m 0644 $(OUT_ALIB) $(DESTDIR)$(libdir)
44 rm -f $(DESTDIR)$(libdir)/$(LN1_SLIB)
45 $(LN) -s $(OUT_SLIB) $(DESTDIR)$(libdir)/$(LN1_SLIB)
46 rm -f $(DESTDIR)$(libdir)/$(LN_SLIB)