From f30ae93a1fbeb10947e749b1560e6b793d894666 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Mon, 16 Apr 2007 20:54:56 +0000 Subject: added ranlib when library is created with ar. --- ares/Makefile.netware | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ares/Makefile.netware') diff --git a/ares/Makefile.netware b/ares/Makefile.netware index ccf8d01a2..fc7e390e5 100644 --- a/ares/Makefile.netware +++ b/ares/Makefile.netware @@ -74,6 +74,7 @@ LDFLAGS = -nostdlib $(PRELUDE) $(OBJEXE) $(<:.def=.o) -o $@ -commandfile AR = mwldnlm ARFLAGS = -type library -w nocmdline $(OBJDIR)/*.o -o LIBEXT = lib +#RANLIB = CFLAGS += -msgstyle gcc -gccinc -inline off -opt nointrinsics -proc 586 CFLAGS += -relax_pointers #CFLAGS += -w on @@ -91,6 +92,7 @@ LDFLAGS = -T AR = ar ARFLAGS = -cq LIBEXT = a +RANLIB = ranlib CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing CFLAGS += -Wall -Wno-format -Wno-uninitialized # -pedantic ifeq ($(LIBARCH),LIBC) @@ -163,6 +165,9 @@ clean: @echo Creating $@ @-$(RM) $@ @$(AR) $(ARFLAGS) $@ $^ +ifdef RANLIB + @$(RANLIB) $@ +endif %.nlm: $(OBJDIR)/%.def $(OBJDIR)/%.o $(OBJDIR)/%.xdc $(OBJEXE) @echo Linking $@ -- cgit v1.2.3