Makefile: customization for supporting HP-UX
authorRobert Schiele <rschiele@gmail.com>
Thu, 24 Jan 2008 18:35:20 +0000 (19:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 25 Jan 2008 05:58:53 +0000 (21:58 -0800)
Signed-off-by: Robert Schiele <rschiele@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index c9e54b15f79d89468e160e86aeed3d5f5f3a87bb..dd12b6a123a0ce109beeeedfb41f10d08f9a87f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -505,6 +505,17 @@ ifeq ($(uname_S),IRIX64)
        # for now, build 32-bit version
        BASIC_LDFLAGS += -L/usr/lib32
 endif
+ifeq ($(uname_S),HP-UX)
+       NO_IPV6=YesPlease
+       NO_SETENV=YesPlease
+       NO_STRCASESTR=YesPlease
+       NO_MEMMEM = YesPlease
+       NO_STRLCPY = YesPlease
+       NO_MKDTEMP = YesPlease
+       NO_UNSETENV = YesPlease
+       NO_HSTRERROR = YesPlease
+       NO_SYS_SELECT_H = YesPlease
+endif
 ifneq (,$(findstring arm,$(uname_M)))
        ARM_SHA1 = YesPlease
 endif