SUBDIRS = data doc src
-EXTRA_DIST = autogen.sh extra
+EXTRA_DIST = autogen.sh
.PHONY: run debug docs portable installer
endif
+if NETBSD
+
+package: all
+ $(SH) arch/netbsd/makepackage.sh
+
+endif
+
docs:
$(DOXYGEN)
case "${host}" in
*mingw32*)
- MINGW32=yes
WIN32=yes
- AC_PATH_PROGS([WINDRES], [windres $host_alias-windres $host_os-windres])
+ AC_PATH_PROGS([MAKENSIS], [makensis])
+ AC_PATH_PROGS([WINDRES],
+ [windres $host_alias-windres $host_os-windres])
if test "x$WINDRES" = x
then
AC_MSG_ERROR([windres could not be found])
fi
- AC_PATH_PROGS([MAKENSIS], [makensis])
- ;;
- *cygwin*)
- CYGWIN=yes
- WIN32=yes
;;
*-apple-darwin*)
MACOSX=yes
- LIBS="$LIBS -Wl,-framework"
+ ;;
+ *netbsd*)
+ NETBSD=yes
+ AC_PATH_PROGS([PKGLINT], [pkglint])
;;
esac
-AM_CONDITIONAL([WIN32], test "$WIN32" = "yes")
+AM_CONDITIONAL([WIN32], test "$WIN32" = "yes")
+AM_CONDITIONAL([NETBSD], test "$NETBSD" = "yes")
#