7d20bf8425
* sync patches
24 lines
608 B
Plaintext
24 lines
608 B
Plaintext
$OpenBSD: patch-libcruft_Makefile_in,v 1.2 2004/06/07 14:43:39 naddy Exp $
|
|
--- libcruft/Makefile.in.orig 1998-11-12 00:27:35.000000000 +0100
|
|
+++ libcruft/Makefile.in 2004-06-05 21:08:03.000000000 +0200
|
|
@@ -37,7 +37,7 @@ ifeq ($(SHARED_LIBS), true)
|
|
BINDISTLIBS = libcruft/libcruft.$(SHLEXT)
|
|
endif
|
|
|
|
-all: $(SUBDIRS) shared-lib
|
|
+all: $(SUBDIRS) libcruft.$(LIBEXT) shared-lib
|
|
.PHONY: all
|
|
|
|
$(SUBDIRS):
|
|
@@ -77,6 +77,10 @@ endif
|
|
libcruft.$(SHLEXT): $(CRUFT_PICOBJ)
|
|
$(SH_LD) $(SH_LDFLAGS) -o $@ $^
|
|
|
|
+libcruft.$(LIBEXT): $(CRUFT_OBJ)
|
|
+ $(AR) $(ARFLAGS) $@ $^
|
|
+ $(RANLIB) $@
|
|
+
|
|
$(CRUFT_OBJ):
|
|
|
|
check: all
|