comparison Makefile.in @ 5066:3afb71c202b2

Fixed bug #945 The configure script was breaking the substitutions into multiple fragments, breaking them across the substitution for the build rules. This of course totally hosed the process. I switched to using a more modern usage of AC_OUTPUT and added a post-process step that appends the build rules to the Makefile.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 21 Jan 2011 12:43:25 -0800
parents 187d7d446306
children da10636e5eca
comparison
equal deleted inserted replaced
5065:7e4c7790700e 5066:3afb71c202b2
113 update-revision: 113 update-revision:
114 $(SHELL) $(auxdir)/updaterev.sh 114 $(SHELL) $(auxdir)/updaterev.sh
115 115
116 .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) 116 .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 117
118 -include $(OBJECTS:.lo=.d)
119 @DEPENDS@
120 @VERSION_DEPENDS@
121 @SDLMAIN_DEPENDS@
122
123 $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS) 118 $(objects)/$(TARGET): $(OBJECTS) $(VERSION_OBJECTS)
124 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) 119 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
125 120
126 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) 121 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
127 $(AR) cru $@ $(SDLMAIN_OBJECTS) 122 $(AR) cru $@ $(SDLMAIN_OBJECTS)