comparison Makefile.in @ 2156:cd041eb7eb4a

Fixed configure warning about datarootdir
author Sam Lantinga <slouken@libsdl.org>
date Sun, 08 Jul 2007 05:58:51 +0000
parents 1e0692271600
children 9f64d06fa168
comparison
equal deleted inserted replaced
2155:31269eb74914 2156:cd041eb7eb4a
4 srcdir = @srcdir@ 4 srcdir = @srcdir@
5 objects = build 5 objects = build
6 depend = build-deps 6 depend = build-deps
7 prefix = @prefix@ 7 prefix = @prefix@
8 exec_prefix = @exec_prefix@ 8 exec_prefix = @exec_prefix@
9 bindir = $(DESTDIR)@bindir@ 9 bindir = @bindir@
10 libdir = $(DESTDIR)@libdir@ 10 libdir = @libdir@
11 includedir = $(DESTDIR)@includedir@ 11 includedir = @includedir@
12 datadir = $(DESTDIR)@datadir@ 12 datarootdir = @datarootdir@
13 mandir = $(DESTDIR)@mandir@ 13 datadir = @datadir@
14 mandir = @mandir@
14 auxdir = @ac_aux_dir@ 15 auxdir = @ac_aux_dir@
15 distpath = $(srcdir)/.. 16 distpath = $(srcdir)/..
16 distdir = SDL-@SDL_VERSION@ 17 distdir = SDL-@SDL_VERSION@
17 distfile = $(distdir).tar.gz 18 distfile = $(distdir).tar.gz
18 19
44 45
45 LT_AGE = @LT_AGE@ 46 LT_AGE = @LT_AGE@
46 LT_CURRENT = @LT_CURRENT@ 47 LT_CURRENT = @LT_CURRENT@
47 LT_RELEASE = @LT_RELEASE@ 48 LT_RELEASE = @LT_RELEASE@
48 LT_REVISION = @LT_REVISION@ 49 LT_REVISION = @LT_REVISION@
49 LT_LDFLAGS = -no-undefined -rpath $(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) 50 LT_LDFLAGS = -no-undefined -rpath $(DESTDIR)$(libdir) -release $(LT_RELEASE) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
50 51
51 all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) 52 all: $(srcdir)/configure Makefile $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
52 53
53 $(srcdir)/configure: $(srcdir)/configure.in 54 $(srcdir)/configure: $(srcdir)/configure.in
54 @echo "Warning, configure.in is out of date" 55 @echo "Warning, configure.in is out of date"
80 $(AR) cru $@ $(SDLMAIN_OBJECTS) 81 $(AR) cru $@ $(SDLMAIN_OBJECTS)
81 $(RANLIB) $@ 82 $(RANLIB) $@
82 83
83 install: all install-bin install-hdrs install-lib install-data install-man 84 install: all install-bin install-hdrs install-lib install-data install-man
84 install-bin: 85 install-bin:
85 $(SHELL) $(auxdir)/mkinstalldirs $(bindir) 86 $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(bindir)
86 $(INSTALL) -m 755 sdl-config $(bindir)/sdl-config 87 $(INSTALL) -m 755 sdl-config $(DESTDIR)$(bindir)/sdl-config
87 install-hdrs: 88 install-hdrs:
88 $(SHELL) $(auxdir)/mkinstalldirs $(includedir)/SDL 89 $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(includedir)/SDL
89 for file in $(HDRS); do \ 90 for file in $(HDRS); do \
90 $(INSTALL) -m 644 $(srcdir)/include/$$file $(includedir)/SDL/$$file; \ 91 $(INSTALL) -m 644 $(srcdir)/include/$$file $(DESTDIR)$(includedir)/SDL/$$file; \
91 done 92 done
92 $(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h 93 $(INSTALL) -m 644 include/SDL_config.h $(DESTDIR)$(includedir)/SDL/SDL_config.h
93 install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET) 94 install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
94 $(SHELL) $(auxdir)/mkinstalldirs $(libdir) 95 $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)
95 $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET) 96 $(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(DESTDIR)$(libdir)/$(TARGET)
96 $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(libdir)/$(SDLMAIN_TARGET) 97 $(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
97 $(RANLIB) $(libdir)/$(SDLMAIN_TARGET) 98 $(RANLIB) $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
98 install-data: 99 install-data:
99 $(SHELL) $(auxdir)/mkinstalldirs $(datadir)/aclocal 100 $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(datadir)/aclocal
100 $(INSTALL) -m 644 $(srcdir)/sdl.m4 $(datadir)/aclocal/sdl.m4 101 $(INSTALL) -m 644 $(srcdir)/sdl.m4 $(DESTDIR)$(datadir)/aclocal/sdl.m4
101 $(SHELL) $(auxdir)/mkinstalldirs $(libdir)/pkgconfig 102 $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(libdir)/pkgconfig
102 $(INSTALL) -m 644 sdl.pc $(libdir)/pkgconfig 103 $(INSTALL) -m 644 sdl.pc $(DESTDIR)$(libdir)/pkgconfig
103 install-man: 104 install-man:
104 $(SHELL) $(auxdir)/mkinstalldirs $(mandir)/man3 105 $(SHELL) $(auxdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
105 for src in $(srcdir)/docs/man3/*.3; do \ 106 for src in $(srcdir)/docs/man3/*.3; do \
106 file=`echo $$src | sed -e 's|^.*/||'`; \ 107 file=`echo $$src | sed -e 's|^.*/||'`; \
107 $(INSTALL) -m 644 $$src $(mandir)/man3/$$file; \ 108 $(INSTALL) -m 644 $$src $(DESTDIR)$(mandir)/man3/$$file; \
108 done 109 done
109 110
110 uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man 111 uninstall: uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man
111 uninstall-bin: 112 uninstall-bin:
112 rm -f $(bindir)/sdl-config 113 rm -f $(DESTDIR)$(bindir)/sdl-config
113 uninstall-hdrs: 114 uninstall-hdrs:
114 for file in $(HDRS); do \ 115 for file in $(HDRS); do \
115 rm -f $(includedir)/SDL/$$file; \ 116 rm -f $(DESTDIR)$(includedir)/SDL/$$file; \
116 done 117 done
117 rm -f $(includedir)/SDL/SDL_config.h 118 rm -f $(DESTDIR)$(includedir)/SDL/SDL_config.h
118 -rmdir $(includedir)/SDL 119 -rmdir $(DESTDIR)$(includedir)/SDL
119 uninstall-lib: 120 uninstall-lib:
120 $(LIBTOOL) --mode=uninstall rm -f $(libdir)/$(TARGET) 121 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$(TARGET)
121 rm -f $(libdir)/$(SDLMAIN_TARGET) 122 rm -f $(DESTDIR)$(libdir)/$(SDLMAIN_TARGET)
122 uninstall-data: 123 uninstall-data:
123 rm -f $(datadir)/aclocal/sdl.m4 124 rm -f $(DESTDIR)$(datadir)/aclocal/sdl.m4
124 uninstall-man: 125 uninstall-man:
125 for src in $(srcdir)/docs/man3/*.3; do \ 126 for src in $(srcdir)/docs/man3/*.3; do \
126 file=`echo $$src | sed -e 's|^.*/||'`; \ 127 file=`echo $$src | sed -e 's|^.*/||'`; \
127 rm -f $(mandir)/man3/$$file; \ 128 rm -f $(DESTDIR)$(mandir)/man3/$$file; \
128 done 129 done
129 130
130 clean: 131 clean:
131 rm -rf $(objects) 132 rm -rf $(objects)
132 if test -f test/Makefile; then (cd test; $(MAKE) $@); fi 133 if test -f test/Makefile; then (cd test; $(MAKE) $@); fi