Makefile.in
changeset 3311 0679e03ef8fa
parent 3272 e8f63b28947d
child 3334 61ea9005fddf
equal deleted inserted replaced
3310:b907e83deb88 3311:0679e03ef8fa
    53 LT_CURRENT  = @LT_CURRENT@
    53 LT_CURRENT  = @LT_CURRENT@
    54 LT_RELEASE  = @LT_RELEASE@
    54 LT_RELEASE  = @LT_RELEASE@
    55 LT_REVISION = @LT_REVISION@
    55 LT_REVISION = @LT_REVISION@
    56 LT_LDFLAGS  = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    56 LT_LDFLAGS  = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    57 
    57 
    58 all: $(srcdir)/configure Makefile $(objects) update-revision $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    58 all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    59 
    59 
    60 $(srcdir)/configure: $(srcdir)/configure.in
    60 $(srcdir)/configure: $(srcdir)/configure.in
    61 	@echo "Warning, configure.in is out of date"
    61 	@echo "Warning, configure.in is out of date"
    62 	#(cd $(srcdir) && sh autogen.sh && sh configure)
    62 	#(cd $(srcdir) && sh autogen.sh && sh configure)
    63 	@sleep 3
    63 	@sleep 3
    66 	$(SHELL) config.status $@
    66 	$(SHELL) config.status $@
    67 
    67 
    68 $(objects):
    68 $(objects):
    69 	$(SHELL) $(auxdir)/mkinstalldirs $@
    69 	$(SHELL) $(auxdir)/mkinstalldirs $@
    70 
    70 
       
    71 # To make sure parallel builds will not fail
       
    72 $(srcdir)/include/SDL_revision.h: update-revision
       
    73 
    71 update-revision:
    74 update-revision:
    72 	$(SHELL) $(auxdir)/updaterev.sh
    75 	$(SHELL) $(auxdir)/updaterev.sh
    73 
    76 
    74 .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
    77 .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
    75 depend:
    78 depend: update-revision
    76 	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \
    79 	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \
    77 	$(SHELL) $(auxdir)/makedep.sh
    80 	$(SHELL) $(auxdir)/makedep.sh
    78 	@for src in $(SDLMAIN_SOURCES); do \
    81 	@for src in $(SDLMAIN_SOURCES); do \
    79 	    obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \
    82 	    obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \
    80 	    echo "\$$(objects)/$$obj: $$src" >>$(depend); \
    83 	    echo "\$$(objects)/$$obj: $$src" >>$(depend); \