Makefile.in
changeset 5322 e836427b88f5
parent 5311 be06989af398
child 5324 cc606b34bd97
equal deleted inserted replaced
5321:a6b86cbfc174 5322:e836427b88f5
    91 LT_CURRENT  = @LT_CURRENT@
    91 LT_CURRENT  = @LT_CURRENT@
    92 LT_RELEASE  = @LT_RELEASE@
    92 LT_RELEASE  = @LT_RELEASE@
    93 LT_REVISION = @LT_REVISION@
    93 LT_REVISION = @LT_REVISION@
    94 LT_LDFLAGS  = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    94 LT_LDFLAGS  = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    95 
    95 
    96 all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    96 all: $(srcdir)/configure Makefile update-revision $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
    97 
    97 
    98 $(srcdir)/configure: $(srcdir)/configure.in
    98 $(srcdir)/configure: $(srcdir)/configure.in
    99 	@echo "Warning, configure.in is out of date"
    99 	@echo "Warning, configure.in is out of date"
   100 	#(cd $(srcdir) && sh autogen.sh && sh configure)
   100 	#(cd $(srcdir) && sh autogen.sh && sh configure)
   101 	@sleep 3
   101 	@sleep 3
   107 
   107 
   108 $(objects):
   108 $(objects):
   109 	$(SHELL) $(auxdir)/mkinstalldirs $@
   109 	$(SHELL) $(auxdir)/mkinstalldirs $@
   110 
   110 
   111 # To make sure parallel builds will not fail
   111 # To make sure parallel builds will not fail
   112 $(srcdir)/include/SDL_revision.h: update-revision
   112 include/SDL_revision.h: update-revision
   113 
   113 
   114 update-revision:
   114 update-revision:
   115 	$(SHELL) $(auxdir)/updaterev.sh
   115 	$(SHELL) $(auxdir)/updaterev.sh
   116 
   116 
   117 .PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d)
   117 .PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d)
   125 
   125 
   126 install: all install-bin install-hdrs install-lib install-data
   126 install: all install-bin install-hdrs install-lib install-data
   127 install-bin:
   127 install-bin:
   128 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
   128 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
   129 	$(INSTALL) -m 755 sdl-config $(DESTDIR)$(bindir)/sdl-config
   129 	$(INSTALL) -m 755 sdl-config $(DESTDIR)$(bindir)/sdl-config
   130 install-hdrs: $(srcdir)/include/SDL_revision.h
   130 install-hdrs: include/SDL_revision.h
   131 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(includedir)/SDL
   131 	$(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(includedir)/SDL
   132 	for file in $(HDRS); do \
   132 	for file in $(HDRS); do \
   133 	    $(INSTALL) -m 644 $(srcdir)/include/$$file $(DESTDIR)$(includedir)/SDL/$$file; \
   133 	    $(INSTALL) -m 644 $(srcdir)/include/$$file $(DESTDIR)$(includedir)/SDL/$$file; \
   134 	done
   134 	done
   135 	$(INSTALL) -m 644 include/SDL_config.h $(DESTDIR)$(includedir)/SDL/SDL_config.h
   135 	$(INSTALL) -m 644 include/SDL_config.h $(DESTDIR)$(includedir)/SDL/SDL_config.h