diff -up doxygen-1.6.3/Makefile.in.orig doxygen-1.6.3/Makefile.in
--- doxygen-1.6.3/Makefile.in.orig	2010-03-18 22:18:10.189005824 -0600
+++ doxygen-1.6.3/Makefile.in	2010-03-18 22:18:16.079953920 -0600
@@ -2,7 +2,7 @@
 #	cd qtools ; $(MAKE)
 #	cd src ; $(MAKE)
 
-DESTDIR = 
+#DESTDIR = 
 
 clean: FORCE
 	cd examples ; $(MAKE) clean
diff -up doxygen-1.6.3/PLATFORMS.orig doxygen-1.6.3/PLATFORMS
--- doxygen-1.6.3/PLATFORMS.orig	2007-11-24 09:12:35.009437184 -0700
+++ doxygen-1.6.3/PLATFORMS	2010-03-18 22:17:57.002097152 -0600
@@ -4,6 +4,7 @@ beos-g++
 dgux-g++
 freebsd-g++
 gnu-g++
+haiku-g++
 hpux-acc
 hpux-cc
 hpux-g++
diff -up doxygen-1.6.3/configure.orig doxygen-1.6.3/configure
--- doxygen-1.6.3/configure.orig	2010-02-20 15:19:31.059244544 -0700
+++ doxygen-1.6.3/configure	2010-03-18 22:17:57.024903680 -0600
@@ -180,6 +180,9 @@ if test -z "$f_platform"; then
         f_insttool=/usr/bin/install
       fi
       ;;
+    Haiku:*)
+      f_platform=haiku-g++
+      ;;
     HP-UX:*)
       f_platform=hpux-g++
       if test "$f_insttool" = NO; then
diff -up doxygen-1.6.3/qtools/qglobal.h.orig doxygen-1.6.3/qtools/qglobal.h
--- doxygen-1.6.3/qtools/qglobal.h.orig	2009-10-25 09:44:29.014680064 -0600
+++ doxygen-1.6.3/qtools/qglobal.h	2010-03-18 22:17:57.054001664 -0600
@@ -150,6 +150,8 @@
 #define _OS_CYGWIN_
 #elif defined(__BEOS__)
 #define _OS_BEOS_
+#elif defined(__HAIKU__)
+#define _OS_HAIKU_
 #elif defined(__MINT__)
 #define _OS_MINT_
 #else
diff -up doxygen-1.6.3/src/doxygen.pro.in.orig doxygen-1.6.3/src/doxygen.pro.in
--- doxygen-1.6.3/src/doxygen.pro.in.orig	2010-01-01 04:53:11.034078720 -0700
+++ doxygen-1.6.3/src/doxygen.pro.in	2010-03-18 22:17:57.078381056 -0600
@@ -19,6 +19,7 @@ CONFIG       =	console warn_on $extraopt
 HEADERS      =	doxygen.h 
 SOURCES      =	main.cpp 
 unix:LIBS                  += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 
+haiku-g++:LIBS             += -L/boot/common/lib -liconv
 win32:INCLUDEPATH          += .
 win32-mingw:LIBS           += -L../lib -ldoxygen -ldoxycfg -lqtools -lmd5 
 win32-msvc:LIBS            += qtools.lib md5.lib doxygen.lib doxycfg.lib shell32.lib iconv.lib
diff -up doxygen-1.6.3/tmake/lib/haiku-g++/app.t.orig doxygen-1.6.3/tmake/lib/haiku-g++/app.t
--- doxygen-1.6.3/tmake/lib/haiku-g++/app.t.orig	2010-03-18 22:17:57.103284736 -0600
+++ doxygen-1.6.3/tmake/lib/haiku-g++/app.t	2010-03-18 22:17:57.105119744 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/app.t");
diff -up doxygen-1.6.3/tmake/lib/haiku-g++/lib.t.orig doxygen-1.6.3/tmake/lib/haiku-g++/lib.t
--- doxygen-1.6.3/tmake/lib/haiku-g++/lib.t.orig	2010-03-18 22:17:57.126615552 -0600
+++ doxygen-1.6.3/tmake/lib/haiku-g++/lib.t	2010-03-18 22:17:57.128188416 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/lib.t");
diff -up doxygen-1.6.3/tmake/lib/haiku-g++/subdirs.t.orig doxygen-1.6.3/tmake/lib/haiku-g++/subdirs.t
--- doxygen-1.6.3/tmake/lib/haiku-g++/subdirs.t.orig	2010-03-18 22:17:57.152043520 -0600
+++ doxygen-1.6.3/tmake/lib/haiku-g++/subdirs.t	2010-03-18 22:17:57.153354240 -0600
@@ -0,0 +1,2 @@
+#! Use the common Unix template
+#$ IncludeTemplate("../unix/subdirs.t");
diff -up doxygen-1.6.3/tmake/lib/haiku-g++/tmake.conf.orig doxygen-1.6.3/tmake/lib/haiku-g++/tmake.conf
--- doxygen-1.6.3/tmake/lib/haiku-g++/tmake.conf.orig	2010-03-18 22:17:57.175112192 -0600
+++ doxygen-1.6.3/tmake/lib/haiku-g++/tmake.conf	2010-03-18 22:17:57.176685056 -0600
@@ -0,0 +1,51 @@
+#
+# 
+#
+# tmake configuration for haiku-g++
+#
+
+TEMPLATE		= app
+CONFIG			= qt warn_on release
+
+TMAKE_CC		= gcc
+TMAKE_CFLAGS		=
+TMAKE_CFLAGS_WARN_ON	= -Wall -W
+TMAKE_CFLAGS_WARN_OFF	=
+TMAKE_CFLAGS_RELEASE	=
+TMAKE_CFLAGS_DEBUG	= -g
+TMAKE_CFLAGS_SHLIB	= -fPIC
+TMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses
+
+TMAKE_CXX		= g++
+TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
+TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
+TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
+TMAKE_CXXFLAGS_RELEASE	= $$TMAKE_CFLAGS_RELEASE
+TMAKE_CXXFLAGS_DEBUG	= $$TMAKE_CFLAGS_DEBUG
+TMAKE_CXXFLAGS_SHLIB	= $$TMAKE_CFLAGS_SHLIB
+TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YACC
+
+TMAKE_INCDIR		=
+TMAKE_LIBDIR		=
+TMAKE_INCDIR_QT		= $(QTDIR)/include
+TMAKE_LIBDIR_QT		= $(QTDIR)/lib
+
+TMAKE_LINK		= g++
+TMAKE_LINK_SHLIB	= g++
+TMAKE_LFLAGS		= -Wl,-rpath=/lib:$(QTDIR)/lib
+TMAKE_LFLAGS_RELEASE	=
+TMAKE_LFLAGS_DEBUG	=
+TMAKE_LFLAGS_SHLIB	= -shared
+TMAKE_LFLAGS_SONAME	= -Wl,-soname,
+
+TMAKE_LIBS		=
+TMAKE_LIBS_QT		= -lqt
+TMAKE_LIBS_QT_MT	= -lqt-mt
+
+TMAKE_MOC		= moc
+
+TMAKE_AR		= ar cqs
+TMAKE_RANLIB		=
+
+TMAKE_TAR		= tar -cf
+TMAKE_GZIP		= gzip -9f
