CVS: gdbproxy/gdbproxy Makefile.am,1.3,1.4 Makefile.in,1.6,1.7 config.h.in,1.3,1.4 configure,1.7,1.8 configure.in,1.5,1.6
Steve Underwood <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/gdbproxy/gdbproxy
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24299/gdbproxy/gdbproxy
Modified Files:
Makefile.am Makefile.in config.h.in configure configure.in
Log Message:
A little more tiding of the build setup
Index: Makefile.am
===================================================================
RCS file: /cvsroot/mspgcc/gdbproxy/gdbproxy/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- Makefile.am 12 Jan 2003 13:28:41 -0000 1.3
+++ Makefile.am 21 Aug 2005 15:49:56 -0000 1.4
@@ -35,7 +35,17 @@
bin_PROGRAMS = gdbproxy
-gdbproxy_SOURCES = copying.c init.c remote.c gdbproxy.c rpmisc.c serial.c target_skeleton.c gdbproxy.h rpmisc.h serial.h
+gdbproxy_SOURCES = \
+ copying.c \
+ init.c \
+ remote.c \
+ gdbproxy.c \
+ rpmisc.c \
+ serial.c \
+ target_skeleton.c \
+ gdbproxy.h \
+ rpmisc.h \
+ serial.h
EXTRA_gdbproxy_SOURCES = getopt.h
Index: Makefile.in
===================================================================
RCS file: /cvsroot/mspgcc/gdbproxy/gdbproxy/Makefile.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -w -d -r1.6 -r1.7
--- Makefile.in 21 Aug 2005 14:34:24 -0000 1.6
+++ Makefile.in 21 Aug 2005 15:49:57 -0000 1.7
@@ -219,7 +219,18 @@
target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = gnu
-gdbproxy_SOURCES = copying.c init.c remote.c gdbproxy.c rpmisc.c serial.c target_skeleton.c gdbproxy.h rpmisc.h serial.h
+gdbproxy_SOURCES = \
+ copying.c \
+ init.c \
+ remote.c \
+ gdbproxy.c \
+ rpmisc.c \
+ serial.c \
+ target_skeleton.c \
+ gdbproxy.h \
+ rpmisc.h \
+ serial.h
+
EXTRA_gdbproxy_SOURCES = getopt.h
gdbproxy_LDADD = @LIBOBJS@
gdbproxy_DEPENDENCIES = @LIBOBJS@
Index: config.h.in
===================================================================
RCS file: /cvsroot/mspgcc/gdbproxy/gdbproxy/config.h.in,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- config.h.in 21 Aug 2005 14:34:25 -0000 1.3
+++ config.h.in 21 Aug 2005 15:49:57 -0000 1.4
@@ -67,7 +67,10 @@
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the file `AC_File'. */
-#undef HAVE_TARGET_P_C
+#undef HAVE_TARGET_MSP430_C
+
+/* Define to 1 if you have the file `AC_File'. */
+#undef HAVE_TARGET_SKELETON_C
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
Index: configure
===================================================================
RCS file: /cvsroot/mspgcc/gdbproxy/gdbproxy/configure,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- configure 21 Aug 2005 14:34:25 -0000 1.7
+++ configure 21 Aug 2005 15:49:57 -0000 1.8
@@ -4538,33 +4538,6 @@
done
-echo "$as_me:$LINENO: checking for target_*.c" >&5
-echo $ECHO_N "checking for target_*.c... $ECHO_C" >&6
-if test "${ac_cv_file_target_p_c+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
- test "$cross_compiling" = yes &&
- { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
-echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
- { (exit 1); exit 1; }; }
-if test -r "target_*.c"; then
- ac_cv_file_target_p_c=yes
-else
- ac_cv_file_target_p_c=no
-fi
-fi
-echo "$as_me:$LINENO: result: $ac_cv_file_target_p_c" >&5
-echo "${ECHO_T}$ac_cv_file_target_p_c" >&6
-if test $ac_cv_file_target_p_c = yes; then
-
-cat >>confdefs.h <<_ACEOF
-#define HAVE_TARGET_P_C 1
-_ACEOF
-
-
-fi
-
-
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline"
else
@@ -5682,6 +5655,59 @@
LIBS="$LIBS -lws2_32"
fi
+echo "$as_me:$LINENO: checking for target_skeleton.c" >&5
+echo $ECHO_N "checking for target_skeleton.c... $ECHO_C" >&6
+if test "${ac_cv_file_target_skeleton_c+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ test "$cross_compiling" = yes &&
+ { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
+echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
+ { (exit 1); exit 1; }; }
+if test -r "target_skeleton.c"; then
+ ac_cv_file_target_skeleton_c=yes
+else
+ ac_cv_file_target_skeleton_c=no
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_file_target_skeleton_c" >&5
+echo "${ECHO_T}$ac_cv_file_target_skeleton_c" >&6
+if test $ac_cv_file_target_skeleton_c = yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_TARGET_SKELETON_C 1
+_ACEOF
+
+
+fi
+
+echo "$as_me:$LINENO: checking for target_msp430.c" >&5
+echo $ECHO_N "checking for target_msp430.c... $ECHO_C" >&6
+if test "${ac_cv_file_target_msp430_c+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ test "$cross_compiling" = yes &&
+ { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
+echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
+ { (exit 1); exit 1; }; }
+if test -r "target_msp430.c"; then
+ ac_cv_file_target_msp430_c=yes
+else
+ ac_cv_file_target_msp430_c=no
+fi
+fi
+echo "$as_me:$LINENO: result: $ac_cv_file_target_msp430_c" >&5
+echo "${ECHO_T}$ac_cv_file_target_msp430_c" >&6
+if test $ac_cv_file_target_msp430_c = yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_TARGET_MSP430_C 1
+_ACEOF
+
+
+fi
+
+
ac_config_files="$ac_config_files Makefile"
Index: configure.in
===================================================================
RCS file: /cvsroot/mspgcc/gdbproxy/gdbproxy/configure.in,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -w -d -r1.5 -r1.6
--- configure.in 21 Aug 2005 06:51:56 -0000 1.5
+++ configure.in 21 Aug 2005 15:49:57 -0000 1.6
@@ -30,8 +30,6 @@
AC_CHECK_HEADERS(unistd.h)
AC_CHECK_HEADERS(getopt.h)
-AC_CHECK_FILES(target_*.c)
-
dnl add warning options if GCC
if test "x$GCC" = "xyes"; then
CFLAGS="$CFLAGS -Wall -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline"
@@ -71,6 +69,9 @@
LIBS="$LIBS -lws2_32"
fi
+AC_CHECK_FILES([target_skeleton.c])
+AC_CHECK_FILES([target_msp430.c])
+
AC_CONFIG_FILES(Makefile)
AC_OUTPUT
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf