diff --git a/netware/Makefile b/netware/Makefile
index fdc7ebbd515b4879580bc17ae42a152bf8c9416f..ec4e287b3824fb9020d612b699c4313d54887785 100644 (file)
--- a/netware/Makefile
+++ b/netware/Makefile
-# Gnu Makefile for NetWare target * 22-Feb-2007
+# Gnu Makefile for NetWare target
# for use with gcc/nlmconv or Metrowerks CodeWarrior compiler
# use with: make -f Makefile [help|all|clean|dev|devclean|dist|distclean]
+#
+# $id: $
+#
DESCR = Round Robin Database Tool $(RRD_VERSION_STR)
COPYR = Copyright (c) 1997-2007 by Tobias Oetiker
endif
# Edit the path below to point to your freetype sources or set environment var.
ifndef LIBFT2
-LIBFT2 = $(LIBBASE)/freetype-2.3.1
+LIBFT2 = $(LIBBASE)/freetype-2.3.4
endif
# Edit the path below to point to your libart sources or set environment var.
ifndef LIBART
# Here you can find a native Win32 binary of the original awk:
# http://www.gknw.net/development/prgtools/awk.zip
AWK = awk
-ZIP = zip -qzR9
+ZIP = zip -qzr9
MV = mv -fv
# must be equal to DEBUG or NDEBUG
LD = mwldnlm
LDFLAGS = -nostdlib $^ $(PRELUDE) $(LDLIBS) -o $@ -commandfile
AR = $(LD)
-ARFLAGS = -type library -w nocmdline $(OBJS) -o
+ARFLAGS = -nostdlib -type library -o
LIBEXT = lib
+#RANLIB =
CFLAGS += -gccinc -inline off -opt nointrinsics -proc 586
-CFLAGS += -relax_pointers # -r
+CFLAGS += -relax_pointers
#CFLAGS += -w on,nounused,nounusedexpr # -ansi strict
-CFLAGS += -w noerror,noiserror
ifeq ($(LIBARCH),LIBC)
PRELUDE = $(SDK_LIBC)/imports/libcpre.o
CFLAGS += -align 4
AR = ar
ARFLAGS = -cq
LIBEXT = a
+RANLIB = ranlib
CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
CFLAGS += -Wall -Wno-unused # -pedantic
ifeq ($(LIBARCH),LIBC)
$(OBJDIR)/rrd_getopt1.o \
$(OBJDIR)/art_rgba_svp.o \
$(OBJDIR)/hash_32.o \
- $(OBJDIR)/parsetime.o \
+ $(OBJDIR)/rrd_parsetime.o \
$(OBJDIR)/pngsize.o \
$(EOLIST)
@echo Creating $@
@-$(RM) $@
@$(AR) $(ARFLAGS) $@ $^
+ifdef RANLIB
+ @$(RANLIB) $@
+endif
$(OBJDIR)/%.xdc: Makefile
@echo Creating $@
@echo $(DL)#define HAVE_TIME_H 1$(DL) >> $@
@echo $(DL)#define HAVE_TZSET 1$(DL) >> $@
@echo $(DL)#define HAVE_UNAME 1$(DL) >> $@
- @echo $(DL)#define HAVE_UNISTD_H 1$(DL) >> $@
@echo $(DL)#define HAVE_VSNPRINTF 1$(DL) >> $@
@echo $(DL)#define STDC_HEADERS 1$(DL) >> $@
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@