-# Gnu Makefile for NetWare target * 09-Sep-2006
+# Gnu Makefile for NetWare target * 08-Feb-2007
# for use with gcc/nlmconv or Metrowerks CodeWarrior compiler
# use with: make -f Makefile [help|all|clean|dev|devclean|dist|distclean]
DESCR = Round Robin Database Tool $(RRD_VERSION_STR)
-COPYR = Copyright (c) 1997-2006 by Tobias Oetiker
+COPYR = Copyright (c) 1997-2007 by Tobias Oetiker
WWWURL = http://www.rrdtool.org/
MTSAFE = YES
#SCREEN = $(DESCR)
# All library code is statically linked to avoid problems with other lib NLMs.
# Edit the path below to point to your libpng sources or set environment var.
ifndef LIBPNG
-LIBPNG = $(LIBBASE)/libpng-1.2.12
+LIBPNG = $(LIBBASE)/libpng-1.2.16
endif
# Edit the path below to point to your freetype sources or set environment var.
ifndef LIBFT2
-LIBFT2 = $(LIBBASE)/freetype-2.2.1
+LIBFT2 = $(LIBBASE)/freetype-2.3.1
endif
# Edit the path below to point to your libart sources or set environment var.
ifndef LIBART
AR = ar
ARFLAGS = -cq
LIBEXT = a
-CFLAGS += -fno-builtin -fpack-struct -fpcc-struct-return -fno-strict-aliasing
-CFLAGS += -Wall -Wno-unused -Wno-return-type # -pedantic
+CFLAGS += -fno-builtin -fpcc-struct-return -fno-strict-aliasing
+CFLAGS += -Wall -Wno-unused # -pedantic
ifeq ($(LIBARCH),LIBC)
PRELUDE = $(SDK_LIBC)/imports/libcpre.gcc.o
else
ifeq ($(MTSAFE),NO)
XDCOPT = -u
endif
-ifndef COPYR
- COPYR = Copyright (c) 2006 The Open Source Community.
-endif
ifndef DESCR
DESCR = $(notdir $(@:.def=)) Command Extension
endif
rrdcgi: $(OBJDIR) $(PROOT)/rrd_config.h $(OBJDIR)/rrdcgi.$(CGIEXT)
librrd: $(OBJDIR) $(PROOT)/rrd_config.h $(OBJDIR)/librrd.$(LIBEXT)
+FORCE: ;
+
dist: all $(DISTDIR) $(DISTDIR)/readme.txt
-# @-$(CP) $(OBJDIR)/librrd.$(LIBEXT) $(DISTDIR)
@-$(CP) $(OBJDIR)/rrdcgi.$(CGIEXT) $(DISTDIR)
@-$(CP) $(OBJDIR)/rrdtool.nlm $(DISTDIR)
@-$(CP) $(PROOT)/src/*.ttf $(DISTDIR)
@echo $(DL)output $(notdir $(@:.def=.nlm))$(DL) >> $@
endif
-$(PROOT)/rrd_config.h: Makefile
+$(PROOT)/rrd_config.h: FORCE Makefile $(OBJDIR)/version.inc
@echo Creating $@
@echo $(DL)/* $(notdir $@) for NetWare target.$(DL) > $@
@echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@