From 2ab1caf27b859d7f61865231fbfce7021be318c8 Mon Sep 17 00:00:00 2001 From: albert <> Date: Thu, 24 Oct 2002 07:49:16 +0000 Subject: [PATCH] set SHARED=0 to build w/o libproc.so --- proc/module.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proc/module.mk b/proc/module.mk index db97e293..b9b12df9 100644 --- a/proc/module.mk +++ b/proc/module.mk @@ -20,6 +20,7 @@ INSTALL += $(lib)/$(SONAME) $(LIBOBJ) : CFLAGS += -fpic LIBPROC := proc/$(SONAME) else +ALL += proc/lib$(NAME).a LIBPROC := proc/lib$(NAME).a endif @@ -33,8 +34,8 @@ TARFILES += $(LIBSRC) $(LIBHDR) $(addprefix proc/,$(LIB_X)) CLEAN += proc/.depend proc/lib*.so* proc/lib*.a $(LIBOBJ) DIRS += proc/ -#proc/lib$(NAME).a: $(LIBOBJ) -# $(AR) rcs $@ $^ +proc/lib$(NAME).a: $(LIBOBJ) + $(AR) rcs $@ $^ proc/$(SONAME): $(LIBOBJ) $(CC) -shared -Wl,-soname,$(SONAME) -o $@ $^ -lc