* Makefile.am (SUBDIRS): Add windows dir.

* configure.ac: If $target is a windows system, build whats in windows sub dir.
* windows/Makefile.am: New file.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@239 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Theodore A. Roth
2003-02-26 00:14:54 +00:00
parent e1fec80b10
commit ecd623836b
3 changed files with 76 additions and 1 deletions

View File

@@ -103,5 +103,17 @@ AC_MSG_CHECKING([for serial device])
AC_MSG_RESULT([$DEFAULT_SER_PORT])
AC_SUBST(DEFAULT_SER_PORT, $DEFAULT_SER_PORT)
AC_CONFIG_FILES([Makefile avrdude.conf])
# See if we need to drop into the windows subdir.
case $target in
*-*-mingw32* | *-*-cygwin* | *-*-windows*)
WINDOWS_DIRS="windows"
;;
esac
AC_SUBST(WINDOWS_DIRS,$WINDOWS_DIRS)
AC_CONFIG_FILES([
windows/Makefile
Makefile
avrdude.conf
])
AC_OUTPUT