This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] more gdbserver makefile cleanups


Committed as obvious; nothing to see here except Dan looking really confused
when his changes weren't getting picked up by make.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

2002-02-27  Daniel Jacobowitz  <drow@mvista.com>

	* gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER.
	(config.status): Add configure.srv dependency.
	(server_h): Add config.h dependency.

Index: gdbserver/Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/gdbserver/Makefile.in,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile.in
--- Makefile.in	2002/02/25 02:47:23	1.8
+++ Makefile.in	2002/02/27 05:58:59
@@ -96,7 +96,7 @@ CFLAGS = @CFLAGS@
 
 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
 INTERNAL_CFLAGS = ${CFLAGS} ${GLOBAL_CFLAGS} ${PROFILE_CFLAGS} \
-	${INCLUDE_CFLAGS} ${BFD_CFLAGS} -DGDBSERVER
+	${INCLUDE_CFLAGS} ${BFD_CFLAGS}
 
 # LDFLAGS is specifically reserved for setting from the command line
 # when running make.
@@ -198,7 +198,7 @@ STAGESTUFF=${OBS} ${TSOBS} ${NTSOBS} ${A
 Makefile: Makefile.in config.status
 	$(SHELL) ./config.status
 
-config.status: configure
+config.status: configure configure.srv
 	$(SHELL) ./config.status --recheck
 
 force:
@@ -225,9 +225,9 @@ unexport CHILLFLAGS CHILL_LIB CHILL_FOR_
 regdat_sh = $(srcdir)/../regformats/regdat.sh
 regdef_h = $(srcdir)/../regformats/regdef.h
 regcache_h = $(srcdir)/regcache.h
-server_h = $(srcdir)/server.h $(regcache_h)
+server_h = $(srcdir)/server.h $(regcache_h) config.h
 
 server.o: server.c $(server_h)
 remote-utils.o: remote-utils.c terminal.h $(server_h)
 utils.o: utils.c $(server_h)
 regcache.o: regcache.c $(server_h) $(regdef_h)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]