Makefile.in
changeset 3334 61ea9005fddf
parent 3311 0679e03ef8fa
child 3343 ae9c65fa9772
     1.1 --- a/Makefile.in	Sat Oct 03 16:23:16 2009 +0000
     1.2 +++ b/Makefile.in	Sun Oct 04 03:38:01 2009 +0000
     1.3 @@ -3,7 +3,6 @@
     1.4  top_builddir = .
     1.5  srcdir  = @srcdir@
     1.6  objects = build
     1.7 -depend	= build-deps
     1.8  prefix = @prefix@
     1.9  exec_prefix = @exec_prefix@
    1.10  bindir	= @bindir@
    1.11 @@ -33,11 +32,10 @@
    1.12  WINDRES	= @WINDRES@
    1.13  
    1.14  TARGET  = libSDL.la
    1.15 -SOURCES = @SOURCES@
    1.16  OBJECTS = @OBJECTS@
    1.17 +VERSION_OBJECTS = @VERSION_OBJECTS@
    1.18  
    1.19  SDLMAIN_TARGET = libSDLmain.a
    1.20 -SDLMAIN_SOURCES = @SDLMAIN_SOURCES@
    1.21  SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@
    1.22  
    1.23  # PS3 SPU programs
    1.24 @@ -74,20 +72,15 @@
    1.25  update-revision:
    1.26  	$(SHELL) $(auxdir)/updaterev.sh
    1.27  
    1.28 -.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.29 -depend: update-revision
    1.30 -	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \
    1.31 -	$(SHELL) $(auxdir)/makedep.sh
    1.32 -	@for src in $(SDLMAIN_SOURCES); do \
    1.33 -	    obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \
    1.34 -	    echo "\$$(objects)/$$obj: $$src" >>$(depend); \
    1.35 -	    echo "	\$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \
    1.36 -	done
    1.37 +.PHONY: all update-revision 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.38  
    1.39 -include $(depend)
    1.40 +-include $(OBJECTS:.lo=.d)
    1.41 +@DEPENDS@
    1.42 +@VERSION_DEPENDS@
    1.43 +@SDLMAIN_DEPENDS@
    1.44  
    1.45 -$(objects)/$(TARGET): $(OBJECTS)
    1.46 -	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.47 +$(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
    1.48 +	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.49  
    1.50  $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
    1.51  	$(AR) cru $@ $(SDLMAIN_OBJECTS)
    1.52 @@ -147,7 +140,7 @@
    1.53  distclean: clean
    1.54  	rm -f Makefile include/SDL_config.h sdl-config
    1.55  	rm -f SDL.qpg
    1.56 -	rm -f config.status config.cache config.log libtool $(depend)
    1.57 +	rm -f config.status config.cache config.log libtool
    1.58  	rm -rf $(srcdir)/autom4te*
    1.59  	find $(srcdir) \( \
    1.60  	    -name '*~' -o \