configure.in
changeset 8743 4f1fc737b017
parent 8731 ede9d13dad21
child 8751 e8c61640668d
equal deleted inserted replaced
8742:7a261af2d612 8743:4f1fc737b017
  3163 DEPENDS=`echo $SOURCES | tr ' ' '\n'`
  3163 DEPENDS=`echo $SOURCES | tr ' ' '\n'`
  3164 for EXT in asm cc m c S; do
  3164 for EXT in asm cc m c S; do
  3165     OBJECTS=`echo "$OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.'$EXT',$(objects)/\1.lo,g'`
  3165     OBJECTS=`echo "$OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.'$EXT',$(objects)/\1.lo,g'`
  3166     DEPENDS=`echo "$DEPENDS" | sed "s,^\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.$EXT\\$,\\\\
  3166     DEPENDS=`echo "$DEPENDS" | sed "s,^\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.$EXT\\$,\\\\
  3167 \\$(objects)/\\2.lo: \\1/\\2.$EXT\\\\
  3167 \\$(objects)/\\2.lo: \\1/\\2.$EXT\\\\
  3168 	\\$(LIBTOOL) --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
  3168 	\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
  3169 done
  3169 done
  3170 
  3170 
  3171 VERSION_OBJECTS=`echo $VERSION_SOURCES`
  3171 VERSION_OBJECTS=`echo $VERSION_SOURCES`
  3172 VERSION_DEPENDS=`echo $VERSION_SOURCES`
  3172 VERSION_DEPENDS=`echo $VERSION_SOURCES`
  3173 VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'`
  3173 VERSION_OBJECTS=`echo "$VERSION_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.rc,$(objects)/\1.o,g'`
  3178 SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES`
  3178 SDLMAIN_OBJECTS=`echo $SDLMAIN_SOURCES`
  3179 SDLMAIN_DEPENDS=`echo $SDLMAIN_SOURCES`
  3179 SDLMAIN_DEPENDS=`echo $SDLMAIN_SOURCES`
  3180 SDLMAIN_OBJECTS=`echo "$SDLMAIN_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'`
  3180 SDLMAIN_OBJECTS=`echo "$SDLMAIN_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'`
  3181 SDLMAIN_DEPENDS=`echo "$SDLMAIN_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\
  3181 SDLMAIN_DEPENDS=`echo "$SDLMAIN_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\
  3182 \\$(objects)/\\2.o: \\1/\\2.c\\\\
  3182 \\$(objects)/\\2.o: \\1/\\2.c\\\\
  3183 	\\$(LIBTOOL) --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
  3183 	\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
  3184 
  3184 
  3185 SDLTEST_OBJECTS=`echo $SDLTEST_SOURCES`
  3185 SDLTEST_OBJECTS=`echo $SDLTEST_SOURCES`
  3186 SDLTEST_DEPENDS=`echo $SDLTEST_SOURCES`
  3186 SDLTEST_DEPENDS=`echo $SDLTEST_SOURCES`
  3187 SDLTEST_OBJECTS=`echo "$SDLTEST_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'`
  3187 SDLTEST_OBJECTS=`echo "$SDLTEST_OBJECTS" | sed 's,[[^ ]]*/\([[^ ]]*\)\.c,$(objects)/\1.o,g'`
  3188 SDLTEST_DEPENDS=`echo "$SDLTEST_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\
  3188 SDLTEST_DEPENDS=`echo "$SDLTEST_DEPENDS" | sed "s,\\([[^ ]]*\\)/\\([[^ ]]*\\)\\.c,\\\\
  3189 \\$(objects)/\\2.o: \\1/\\2.c\\\\
  3189 \\$(objects)/\\2.o: \\1/\\2.c\\\\
  3190 	\\$(LIBTOOL) --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
  3190 	\\$(LIBTOOL) --tag=CC --mode=compile \\$(CC) \\$(CFLAGS) \\$(EXTRA_CFLAGS) $DEPENDENCY_TRACKING_OPTIONS -c \\$< -o \\$@,g"`
  3191 
  3191 
  3192 # Set runtime shared library paths as needed
  3192 # Set runtime shared library paths as needed
  3193 
  3193 
  3194 if test "x$enable_rpath" = "xyes"; then
  3194 if test "x$enable_rpath" = "xyes"; then
  3195   if test $ARCH = bsdi -o $ARCH = freebsd -o $ARCH = linux -o $ARCH = netbsd; then
  3195   if test $ARCH = bsdi -o $ARCH = freebsd -o $ARCH = linux -o $ARCH = netbsd; then