comparison Makefile.in @ 1419:36a5068bf7df

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Thu, 23 Feb 2006 04:16:08 +0000
parents 4fe98eace733
children 7a610f25c12f
comparison
equal deleted inserted replaced
1418:d74ecb53b67a 1419:36a5068bf7df
23 CFLAGS = @BUILD_CFLAGS@ 23 CFLAGS = @BUILD_CFLAGS@
24 LDFLAGS = @BUILD_LDFLAGS@ 24 LDFLAGS = @BUILD_LDFLAGS@
25 LIBTOOL = @LIBTOOL@ 25 LIBTOOL = @LIBTOOL@
26 INSTALL = @INSTALL@ 26 INSTALL = @INSTALL@
27 NASM = @NASM@ @NASMFLAGS@ 27 NASM = @NASM@ @NASMFLAGS@
28 AR = @AR@
29 RANLIB = @RANLIB@
28 30
29 TARGET = libSDL.la 31 TARGET = libSDL.la
30 SOURCES = @SOURCES@ 32 SOURCES = @SOURCES@
31 OBJECTS = @OBJECTS@ 33 OBJECTS = @OBJECTS@
32 34
50 $(objects): 52 $(objects):
51 $(SHELL) $(auxdir)/mkinstalldirs $@ 53 $(SHELL) $(auxdir)/mkinstalldirs $@
52 54
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 55 .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: 56 depend:
55 SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" objects="$(objects)" output="$(depend)" \ 57 @SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" objects="$(objects)" output="$(depend)" \
56 $(SHELL) $(auxdir)/makedep.sh 58 $(SHELL) $(auxdir)/makedep.sh
57 for src in $(SDLMAIN_SOURCES); do \ 59 @for src in $(SDLMAIN_SOURCES); do \
58 obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \ 60 obj=`echo $$src | sed -e 's|.*/||' -e 's|\.[^\.]*$$|.o|'`; \
59 echo "$(objects)/$$obj: $$src" >>$(depend); \ 61 echo "$(objects)/$$obj: $$src" >>$(depend); \
60 echo " \$$(CC) \$$(CFLAGS) -c $$src -o \$$@" >>$(depend); \ 62 echo " \$$(CC) \$$(CFLAGS) -c $$src -o \$$@" >>$(depend); \
61 done 63 done
62 64
64 66
65 $(objects)/$(TARGET): $(OBJECTS) 67 $(objects)/$(TARGET): $(OBJECTS)
66 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) $(LT_LDFLAGS) 68 $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(LIBS) $(LT_LDFLAGS)
67 69
68 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS) 70 $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)
69 @AR@ cru $@ $(SDLMAIN_OBJECTS) 71 $(AR) cru $@ $(SDLMAIN_OBJECTS)
70 @RANLIB@ $@ 72 $(RANLIB) $@
71 73
72 install: install-bin install-hdrs install-lib install-data install-man 74 install: install-bin install-hdrs install-lib install-data install-man
73 install-bin: 75 install-bin:
74 $(SHELL) $(auxdir)/mkinstalldirs $(bindir) 76 $(SHELL) $(auxdir)/mkinstalldirs $(bindir)
75 $(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config 77 $(INSTALL) -m 755 $(srcdir)/sdl-config $(bindir)/sdl-config
82 $(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h 84 $(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h
83 install-lib: 85 install-lib:
84 $(SHELL) $(auxdir)/mkinstalldirs $(libdir) 86 $(SHELL) $(auxdir)/mkinstalldirs $(libdir)
85 $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET) 87 $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
86 $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(libdir)/$(SDLMAIN_TARGET) 88 $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(libdir)/$(SDLMAIN_TARGET)
87 @RANLIB@ $(libdir)/$(SDLMAIN_TARGET) 89 $(RANLIB) $(libdir)/$(SDLMAIN_TARGET)
88 install-data: 90 install-data:
89 $(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal 91 $(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal
90 $(INSTALL) -m 644 $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4 92 $(INSTALL) -m 644 $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4
91 install-man: 93 install-man:
92 $(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3 94 $(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3