equal
deleted
inserted
replaced
40 SDLMAIN_SOURCES = @SDLMAIN_SOURCES@ |
40 SDLMAIN_SOURCES = @SDLMAIN_SOURCES@ |
41 SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ |
41 SDLMAIN_OBJECTS = @SDLMAIN_OBJECTS@ |
42 |
42 |
43 DIST = acinclude.m4 autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS docs docs.html include INSTALL Makefile.dc Makefile.minimal Makefile.in README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualC.html VisualC VisualCE Watcom-OS2.zip Watcom-Win32.zip WhatsNew Xcode |
43 DIST = acinclude.m4 autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS docs docs.html include INSTALL Makefile.dc Makefile.minimal Makefile.in README* sdl-config.in sdl.m4 sdl.pc.in SDL.qpg.in SDL.spec SDL.spec.in src test TODO VisualC.html VisualC VisualCE Watcom-OS2.zip Watcom-Win32.zip WhatsNew Xcode |
44 |
44 |
45 HDRS = SDL.h SDL_audio.h SDL_cdrom.h SDL_compat.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_haptic.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_pixels.h SDL_platform.h SDL_quit.h SDL_rect.h SDL_rwops.h SDL_scancode.h SDL_stdinc.h SDL_surface.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h |
45 HDRS = SDL.h SDL_audio.h SDL_cdrom.h SDL_compat.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_haptic.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_pixels.h SDL_platform.h SDL_quit.h SDL_rect.h SDL_revision.h SDL_rwops.h SDL_scancode.h SDL_stdinc.h SDL_surface.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h |
46 |
46 |
47 LT_AGE = @LT_AGE@ |
47 LT_AGE = @LT_AGE@ |
48 LT_CURRENT = @LT_CURRENT@ |
48 LT_CURRENT = @LT_CURRENT@ |
49 LT_RELEASE = @LT_RELEASE@ |
49 LT_RELEASE = @LT_RELEASE@ |
50 LT_REVISION = @LT_REVISION@ |
50 LT_REVISION = @LT_REVISION@ |
61 $(SHELL) config.status $@ |
61 $(SHELL) config.status $@ |
62 |
62 |
63 $(objects): |
63 $(objects): |
64 $(SHELL) $(auxdir)/mkinstalldirs $@ |
64 $(SHELL) $(auxdir)/mkinstalldirs $@ |
65 |
65 |
66 .PHONY: all 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 |
66 update-revision: |
|
67 $(SHELL) $(auxdir)/updaterev.sh |
|
68 |
|
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 |
67 depend: |
70 depend: |
68 @SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \ |
71 @SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \ |
69 $(SHELL) $(auxdir)/makedep.sh |
72 $(SHELL) $(auxdir)/makedep.sh |
70 @for src in $(SDLMAIN_SOURCES); do \ |
73 @for src in $(SDLMAIN_SOURCES); do \ |
71 obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \ |
74 obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \ |
73 echo " \$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \ |
76 echo " \$$(CC) \$$(CFLAGS) \$$(EXTRA_CFLAGS) -c $$src -o \$$@" >>$(depend); \ |
74 done |
77 done |
75 |
78 |
76 include $(depend) |
79 include $(depend) |
77 |
80 |
78 $(objects)/$(TARGET): $(OBJECTS) |
81 $(objects)/$(TARGET): update-revision $(OBJECTS) |
79 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) |
82 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS) |
80 |
83 |
81 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) |
84 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) |
82 $(AR) cru $@ $(SDLMAIN_OBJECTS) |
85 $(AR) cru $@ $(SDLMAIN_OBJECTS) |
83 $(RANLIB) $@ |
86 $(RANLIB) $@ |
151 |
154 |
152 dist $(distfile): |
155 dist $(distfile): |
153 $(SHELL) $(auxdir)/mkinstalldirs $(distdir) |
156 $(SHELL) $(auxdir)/mkinstalldirs $(distdir) |
154 tar cf - $(DIST) | (cd $(distdir); tar xf -) |
157 tar cf - $(DIST) | (cd $(distdir); tar xf -) |
155 cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h |
158 cp $(distdir)/include/SDL_config.h.default $(distdir)/include/SDL_config.h |
|
159 $(SHELL) $(distdir)/build-scripts/updaterev.sh |
156 rm -rf `find $(distdir) -name .svn` |
160 rm -rf `find $(distdir) -name .svn` |
157 find $(distdir) \( \ |
161 find $(distdir) \( \ |
158 -name '*~' -o \ |
162 -name '*~' -o \ |
159 -name '*.bak' -o \ |
163 -name '*.bak' -o \ |
160 -name '*.old' -o \ |
164 -name '*.old' -o \ |
192 commit: indent |
196 commit: indent |
193 svn commit |
197 svn commit |
194 |
198 |
195 # Create a SVN snapshot that people can run update on |
199 # Create a SVN snapshot that people can run update on |
196 snapshot: |
200 snapshot: |
197 svn co http://svn.libsdl.org/trunk/SDL SDL-1.3 |
201 $(SHELL) $(aux_dir)/snapshot.sh |
198 (cd SDL-1.3 && ./autogen.sh && rm -rf autom4te.cache) |
|
199 cp SDL-1.3/include/SDL_config.h.default SDL-1.3/include/SDL_config.h |
|
200 tar zcf $(HOME)/SDL-1.3.tar.gz SDL-1.3 |
|
201 rm -f $(HOME)/SDL-1.3.zip |
|
202 zip -r $(HOME)/SDL-1.3.zip SDL-1.3 |
|
203 rm -rf SDL-1.3 |
|