summaryrefslogtreecommitdiff
path: root/Makefile.netware
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2008-02-27 01:43:12 (GMT)
committerGunter Knauf <gk@gknw.de>2008-02-27 01:43:12 (GMT)
commitf1a99137a29b9b0cea340bd73e51ea41c6baa856 (patch)
tree7805165ad5022c16c54a91b00f555cc4690ea7a9 /Makefile.netware
parente6dbd9b729c5b9ab3dfe37663bc58212eb7ccb55 (diff)
downloadc-ares-f1a99137a29b9b0cea340bd73e51ea41c6baa856.zip
c-ares-f1a99137a29b9b0cea340bd73e51ea41c6baa856.tar.gz
c-ares-f1a99137a29b9b0cea340bd73e51ea41c6baa856.tar.bz2
a couple of small fixes to the makefile:
fixed comments; fixed INSTDIR define, simplified rules; changed to use get_ver.awk in current dir rather than the curl one.
Diffstat (limited to 'Makefile.netware')
-rw-r--r--Makefile.netware20
1 files changed, 7 insertions, 13 deletions
diff --git a/Makefile.netware b/Makefile.netware
index 2ed40f7..e70d98c 100644
--- a/Makefile.netware
+++ b/Makefile.netware
@@ -14,7 +14,7 @@ NDKBASE = c:/novell
endif
ifndef INSTDIR
-INSTDIR = ../curl-$(LIBCURL_VERSION_STR)-bin-nw
+INSTDIR = ../ares-$(LIBCARES_VERSION_STR)-bin-nw
endif
# Edit the vars below to change NLM target settings.
@@ -63,14 +63,15 @@ else
CC = gcc
endif
# a native win32 awk can be downloaded from here:
-# http://www.gknw.net/development/prgtools/awk-20050424.zip
+# http://www.gknw.net/development/prgtools/awk-20070501.zip
AWK = awk
YACC = bison -y
CP = cp -afv
+MKDIR = mkdir
# RM = rm -f
# if you want to mark the target as MTSAFE you will need a tool for
# generating the xdc data for the linker; here's a minimal tool:
-# http://www.gknw.com/development/prgtools/mkxdc.zip
+# http://www.gknw.net/development/prgtools/mkxdc.zip
MPKXDC = mkxdc
# Global flags for all compilers
@@ -161,10 +162,6 @@ nlm: prebuild $(TARGETS)
prebuild: $(OBJDIR) $(OBJDIR)/version.inc config.h arpa/nameser.h
-dist: all
- -$(RM) $(OBJLIB) $(OBJDIR)/*.map $(OBJDIR)/*.ncv
- -$(RM) $(OBJDIR)/*.def $(OBJDIR)/*.xdc $(OBJDIR)/version.inc
-
install: $(INSTDIR) all
@$(CP) *.nlm $(INSTDIR)
@$(CP) ../CHANGES $(INSTDIR)
@@ -190,11 +187,8 @@ endif
@-$(RM) $@
@$(LD) $(LDFLAGS) $<
-$(INSTDIR):
- @mkdir $(INSTDIR)
-
-$(OBJDIR):
- @mkdir $(OBJDIR)
+$(OBJDIR) $(INSTDIR):
+ @$(MKDIR) $@
$(OBJDIR)/%.o: %.c
# @echo Compiling $<
@@ -202,7 +196,7 @@ $(OBJDIR)/%.o: %.c
$(OBJDIR)/version.inc: ares_version.h $(OBJDIR)
@echo Creating $@
- @$(AWK) -f ../packages/NetWare/get_ver.awk $< > $@
+ @$(AWK) -f get_ver.awk $< > $@
$(OBJDIR)/%.xdc: Makefile.netware
@echo Creating $@