Mercurial > sdl-ios-xcode
comparison Makefile.in @ 2983:388c5a2daeac
Fine tuned revision code, updated testver
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 04 Jan 2009 05:27:13 +0000 |
parents | b64c1d23039b |
children | 0b160c970b7e |
comparison
equal
deleted
inserted
replaced
2982:b64c1d23039b | 2983:388c5a2daeac |
---|---|
33 WINDRES = @WINDRES@ | 33 WINDRES = @WINDRES@ |
34 | 34 |
35 TARGET = libSDL.la | 35 TARGET = libSDL.la |
36 SOURCES = @SOURCES@ | 36 SOURCES = @SOURCES@ |
37 OBJECTS = @OBJECTS@ | 37 OBJECTS = @OBJECTS@ |
38 REVISION = $(srcdir)/include/SDL_revision.h | |
38 | 39 |
39 SDLMAIN_TARGET = libSDLmain.a | 40 SDLMAIN_TARGET = libSDLmain.a |
40 SDLMAIN_SOURCES = @SDLMAIN_SOURCES@ | 41 SDLMAIN_SOURCES = @SDLMAIN_SOURCES@ |
41 SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ | 42 SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ |
42 | 43 |
63 $(objects): | 64 $(objects): |
64 $(SHELL) $(auxdir)/mkinstalldirs $@ | 65 $(SHELL) $(auxdir)/mkinstalldirs $@ |
65 | 66 |
66 update-revision: | 67 update-revision: |
67 $(SHELL) $(auxdir)/updaterev.sh | 68 $(SHELL) $(auxdir)/updaterev.sh |
69 | |
70 $(REVISION): update-revision | |
68 | 71 |
69 .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 | 72 .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 |
70 depend: | 73 depend: |
71 @SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \ | 74 @SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \ |
72 $(SHELL) $(auxdir)/makedep.sh | 75 $(SHELL) $(auxdir)/makedep.sh |
76 echo " \$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \ | 79 echo " \$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \ |
77 done | 80 done |
78 | 81 |
79 include $(depend) | 82 include $(depend) |
80 | 83 |
81 $(objects)/$(TARGET): update-revision $(OBJECTS) | 84 $(objects)/$(TARGET): $(REVISION) $(OBJECTS) |
82 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) | 85 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) |
83 | 86 |
84 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) | 87 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) |
85 $(AR) cru $@ $(SDLMAIN_OBJECTS) | 88 $(AR) cru $@ $(SDLMAIN_OBJECTS) |
86 $(RANLIB) $@ | 89 $(RANLIB) $@ |