Fixed some dependency issues with SDL_revision.h
authorSam Lantinga <slouken@libsdl.org>
Sun, 04 Jan 2009 05:41:52 +0000
changeset 29840b160c970b7e
parent 2983 388c5a2daeac
child 2985 4e4d814884aa
Fixed some dependency issues with SDL_revision.h
Makefile.in
src/SDL_fatal.c
src/audio/SDL_audio.c
src/cpuinfo/SDL_cpuinfo.c
src/events/SDL_events.c
src/video/SDL_video.c
     1.1 --- a/Makefile.in	Sun Jan 04 05:27:13 2009 +0000
     1.2 +++ b/Makefile.in	Sun Jan 04 05:41:52 2009 +0000
     1.3 @@ -35,7 +35,6 @@
     1.4  TARGET  = libSDL.la
     1.5  SOURCES = @SOURCES@
     1.6  OBJECTS = @OBJECTS@
     1.7 -REVISION = $(srcdir)/include/SDL_revision.h
     1.8  
     1.9  SDLMAIN_TARGET = libSDLmain.a
    1.10  SDLMAIN_SOURCES = @SDLMAIN_SOURCES@
    1.11 @@ -51,7 +50,7 @@
    1.12  LT_REVISION = @LT_REVISION@
    1.13  LT_LDFLAGS  = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    1.14  
    1.15 -all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    1.16 +all: $(srcdir)/configure Makefile $(objects) update-revision $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    1.17  
    1.18  $(srcdir)/configure: $(srcdir)/configure.in
    1.19  	@echo "Warning, configure.in is out of date"
    1.20 @@ -67,8 +66,6 @@
    1.21  update-revision:
    1.22  	$(SHELL) $(auxdir)/updaterev.sh
    1.23  
    1.24 -$(REVISION): update-revision
    1.25 -
    1.26  .PHONY: all update-revision depend install install-bin install-hdrs install-lib install-data install-man uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man clean distclean dist
    1.27  depend:
    1.28  	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \
    1.29 @@ -81,7 +78,7 @@
    1.30  
    1.31  include $(depend)
    1.32  
    1.33 -$(objects)/$(TARGET): $(REVISION) $(OBJECTS)
    1.34 +$(objects)/$(TARGET): $(OBJECTS)
    1.35  	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.36  
    1.37  $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
     2.1 --- a/src/SDL_fatal.c	Sun Jan 04 05:27:13 2009 +0000
     2.2 +++ b/src/SDL_fatal.c	Sun Jan 04 05:41:52 2009 +0000
     2.3 @@ -27,7 +27,7 @@
     2.4  
     2.5  #include <signal.h>
     2.6  
     2.7 -#include "SDL.h"
     2.8 +#include "SDL_stdinc.h"
     2.9  #include "SDL_fatal.h"
    2.10  
    2.11  /* This installs some signal handlers for the more common fatal signals,
     3.1 --- a/src/audio/SDL_audio.c	Sun Jan 04 05:27:13 2009 +0000
     3.2 +++ b/src/audio/SDL_audio.c	Sun Jan 04 05:41:52 2009 +0000
     3.3 @@ -24,6 +24,7 @@
     3.4  /* Allow access to a raw mixing buffer */
     3.5  
     3.6  #include "SDL.h"
     3.7 +#include "SDL_audio.h"
     3.8  #include "SDL_audio_c.h"
     3.9  #include "SDL_audiomem.h"
    3.10  #include "SDL_sysaudio.h"
     4.1 --- a/src/cpuinfo/SDL_cpuinfo.c	Sun Jan 04 05:27:13 2009 +0000
     4.2 +++ b/src/cpuinfo/SDL_cpuinfo.c	Sun Jan 04 05:41:52 2009 +0000
     4.3 @@ -23,7 +23,6 @@
     4.4  
     4.5  /* CPU feature detection for SDL */
     4.6  
     4.7 -#include "SDL.h"
     4.8  #include "SDL_cpuinfo.h"
     4.9  
    4.10  #if defined(__MACOSX__) && defined(__ppc__)
     5.1 --- a/src/events/SDL_events.c	Sun Jan 04 05:27:13 2009 +0000
     5.2 +++ b/src/events/SDL_events.c	Sun Jan 04 05:41:52 2009 +0000
     5.3 @@ -24,7 +24,9 @@
     5.4  /* General event handling code for SDL */
     5.5  
     5.6  #include "SDL.h"
     5.7 +#include "SDL_events.h"
     5.8  #include "SDL_syswm.h"
     5.9 +#include "SDL_thread.h"
    5.10  #include "SDL_sysevents.h"
    5.11  #include "SDL_events_c.h"
    5.12  #include "../timer/SDL_timer_c.h"
     6.1 --- a/src/video/SDL_video.c	Sun Jan 04 05:27:13 2009 +0000
     6.2 +++ b/src/video/SDL_video.c	Sun Jan 04 05:41:52 2009 +0000
     6.3 @@ -23,7 +23,7 @@
     6.4  
     6.5  /* The high-level video driver subsystem */
     6.6  
     6.7 -#include "SDL.h"
     6.8 +#include "SDL_video.h"
     6.9  #include "SDL_sysvideo.h"
    6.10  #include "SDL_blit.h"
    6.11  #include "SDL_pixels_c.h"