summaryrefslogtreecommitdiff
path: root/Makefile.netware
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-04-16 20:54:56 (GMT)
committerGunter Knauf <gk@gknw.de>2007-04-16 20:54:56 (GMT)
commit5e98ddf313b528d9d4f3c8af0de0e86c654fa404 (patch)
tree1ebf8e7f0ffb2e53ac196cb4480fdf8ed4aafb66 /Makefile.netware
parent0fff58cc5f95611957c8ac271e651500021b40f7 (diff)
downloadc-ares-5e98ddf313b528d9d4f3c8af0de0e86c654fa404.zip
c-ares-5e98ddf313b528d9d4f3c8af0de0e86c654fa404.tar.gz
c-ares-5e98ddf313b528d9d4f3c8af0de0e86c654fa404.tar.bz2
added ranlib when library is created with ar.
Diffstat (limited to 'Makefile.netware')
-rw-r--r--Makefile.netware5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.netware b/Makefile.netware
index ccf8d01..fc7e390 100644
--- a/Makefile.netware
+++ b/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 $@