Mercurial > sdl-ios-xcode
comparison Makefile.in @ 1391:7dc446173e37
Blargle-fnargle dependencies and build rules
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 20 Feb 2006 12:45:51 +0000 |
parents | 67781f790694 |
children | cd3362657144 |
comparison
equal
deleted
inserted
replaced
1390:67781f790694 | 1391:7dc446173e37 |
---|---|
9 bindir = $(DESTDIR)@bindir@ | 9 bindir = $(DESTDIR)@bindir@ |
10 libdir = $(DESTDIR)@libdir@ | 10 libdir = $(DESTDIR)@libdir@ |
11 includedir = $(DESTDIR)@includedir@ | 11 includedir = $(DESTDIR)@includedir@ |
12 datadir = $(DESTDIR)@datadir@ | 12 datadir = $(DESTDIR)@datadir@ |
13 mandir = $(DESTDIR)@mandir@ | 13 mandir = $(DESTDIR)@mandir@ |
14 auxdir = @ac_aux_dir@ | |
14 distpath = $(srcdir)/.. | 15 distpath = $(srcdir)/.. |
15 distdir = SDL-@SDL_VERSION@ | 16 distdir = SDL-@SDL_VERSION@ |
16 distfile = $(distdir).tar.gz | 17 distfile = $(distdir).tar.gz |
17 | 18 |
18 @SET_MAKE@ | 19 @SET_MAKE@ |
29 SOURCES = @SOURCES@ | 30 SOURCES = @SOURCES@ |
30 OBJECTS = @OBJECTS@ | 31 OBJECTS = @OBJECTS@ |
31 | 32 |
32 DIST = acinclude.m4 autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html EpocBuildFiles.zip include INSTALL Makefile.dc Makefile.in MPWmake.sea.bin PBProjects.tar.gz README* sdl-config.in sdl.m4 SDL.qpg.in SDL.spec SDL.spec.in setvars.cmd src test TODO VisualCE.zip VisualC.html VisualC.zip Watcom.mif WhatsNew Xcode21.tar.gz Xcode.tar.gz XcodeUniversal.tar.gz | 33 DIST = acinclude.m4 autogen.sh Borland.html Borland.zip BUGS build-scripts configure configure.in COPYING CREDITS CWprojects.sea.bin docs docs.html EpocBuildFiles.zip include INSTALL Makefile.dc Makefile.in MPWmake.sea.bin PBProjects.tar.gz README* sdl-config.in sdl.m4 SDL.qpg.in SDL.spec SDL.spec.in setvars.cmd src test TODO VisualCE.zip VisualC.html VisualC.zip Watcom.mif WhatsNew Xcode21.tar.gz Xcode.tar.gz XcodeUniversal.tar.gz |
33 | 34 |
34 BUILDC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c `echo $? | sed 's| .*||'` -o $@ | |
35 BUILDCC = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c `echo $? | sed 's| .*||'` -o $@ | |
36 BUILDM = $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c `echo $? | sed 's| .*||'` -o $@ | |
37 BUILDASM = $(LIBTOOL) --tag=CC --mode=compile @ac_aux_dir@/strip_fPIC.sh $(NASM) `echo $? | sed 's| .*||'` -o $@ | |
38 | |
39 LT_AGE = @LT_AGE@ | 35 LT_AGE = @LT_AGE@ |
40 LT_CURRENT = @LT_CURRENT@ | 36 LT_CURRENT = @LT_CURRENT@ |
41 LT_RELEASE = @LT_RELEASE@ | 37 LT_RELEASE = @LT_RELEASE@ |
42 LT_REVISION = @LT_REVISION@ | 38 LT_REVISION = @LT_REVISION@ |
43 LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) | 39 LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) |
46 | 42 |
47 Makefile: $(srcdir)/Makefile.in | 43 Makefile: $(srcdir)/Makefile.in |
48 $(SHELL) config.status $@ | 44 $(SHELL) config.status $@ |
49 | 45 |
50 $(objects): | 46 $(objects): |
51 $(SHELL) @ac_aux_dir@/mkinstalldirs $@ | 47 $(SHELL) $(auxdir)/mkinstalldirs $@ |
52 | 48 |
53 .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 | 49 .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 |
54 depend: | 50 depend: |
55 SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" objects="$(objects)" output="$(depend)" \ | 51 SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" objects="$(objects)" output="$(depend)" \ |
56 $(SHELL) @ac_aux_dir@/makedep.sh | 52 $(SHELL) $(auxdir)/makedep.sh |
57 | 53 |
58 include $(depend) | 54 include $(depend) |
59 | 55 |
60 $(objects)/$(TARGET): $(OBJECTS) | 56 $(objects)/$(TARGET): $(OBJECTS) |
61 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) $(LT_LDFLAGS) | 57 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) $(LT_LDFLAGS) |
62 | 58 |
63 install: install-bin install-hdrs install-lib install-data install-man | 59 install: install-bin install-hdrs install-lib install-data install-man |
64 install-bin: | 60 install-bin: |
65 $(SHELL) @ac_aux_dir@/mkinstalldirs $(bindir) | 61 $(SHELL) $(auxdir)/mkinstalldirs $(bindir) |
66 $(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config | 62 $(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config |
67 install-hdrs: | 63 install-hdrs: |
68 $(SHELL) @ac_aux_dir@/mkinstalldirs $(includedir)/SDL | 64 $(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL |
69 for src in $(srcdir)/include/*.h; do \ | 65 for src in $(srcdir)/include/*.h; do \ |
70 file=`echo $$src | sed -e 's|^.*/||'`; \ | 66 file=`echo $$src | sed -e 's|^.*/||'`; \ |
71 $(INSTALL) $$src $(includedir)/SDL/$$file; \ | 67 $(INSTALL) $$src $(includedir)/SDL/$$file; \ |
72 done | 68 done |
73 $(INSTALL) include/SDL_config.h $(includedir)/SDL/SDL_config.h | 69 $(INSTALL) include/SDL_config.h $(includedir)/SDL/SDL_config.h |
74 install-lib: | 70 install-lib: |
75 $(SHELL) @ac_aux_dir@/mkinstalldirs $(libdir) | 71 $(SHELL) $(auxdir)/mkinstalldirs $(libdir) |
76 $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET) | 72 $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET) |
77 install-data: | 73 install-data: |
78 $(SHELL) @ac_aux_dir@/mkinstalldirs $(datadir)/aclocal | 74 $(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal |
79 $(INSTALL) $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4 | 75 $(INSTALL) $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4 |
80 install-man: | 76 install-man: |
81 $(SHELL) @ac_aux_dir@/mkinstalldirs $(mandir)/man3 | 77 $(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3 |
82 for src in $(srcdir)/docs/man3/*.3; do \ | 78 for src in $(srcdir)/docs/man3/*.3; do \ |
83 file=`echo $$src | sed -e 's|^.*/||'`; \ | 79 file=`echo $$src | sed -e 's|^.*/||'`; \ |
84 $(INSTALL) $$src $(mandir)/man3/$$file; \ | 80 $(INSTALL) $$src $(mandir)/man3/$$file; \ |
85 done | 81 done |
86 | 82 |
118 -exec rm -f {} \; | 114 -exec rm -f {} \; |
119 cp include/SDL_config.h.minimal include/SDL_config.h | 115 cp include/SDL_config.h.minimal include/SDL_config.h |
120 if test -f test/Makefile; then (cd test; $(MAKE) $@); fi | 116 if test -f test/Makefile; then (cd test; $(MAKE) $@); fi |
121 | 117 |
122 dist $(distfile): | 118 dist $(distfile): |
123 $(SHELL) @ac_aux_dir@/mkinstalldirs $(distdir) | 119 $(SHELL) $(auxdir)/mkinstalldirs $(distdir) |
124 tar cf - $(DIST) | (cd $(distdir); tar xf -) | 120 tar cf - $(DIST) | (cd $(distdir); tar xf -) |
125 rm -rf `find $(distdir) -name CVS` | 121 rm -rf `find $(distdir) -name CVS` |
126 rm -f `find $(distdir) -name '.cvsignore'` | 122 rm -f `find $(distdir) -name '.cvsignore'` |
127 rm -f `find $(distdir) -name '.#*'` | 123 rm -f `find $(distdir) -name '.#*'` |
128 tar cvf - $(distdir) | gzip --best >$(distfile) | 124 tar cvf - $(distdir) | gzip --best >$(distfile) |