Changeset 15702


Ignore:
Timestamp:
05/13/12 00:24:21 (11 years ago)
Author:
gost
Message:

[ufs922] shrink root

Location:
titan/minidlna-1.0.22
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • titan/minidlna-1.0.22/Makefile

    r13567 r15702  
    1414#CFLAGS = -Wall -g -Os -D_GNU_SOURCE
    1515CFLAGS = -Wall -g -O3 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \
    16          -I/usr/include/ffmpeg \
    17          -I/usr/include/libavutil -I/usr/include/libavcodec -I/usr/include/libavformat \
    18          -I/usr/include/ffmpeg/libavutil -I/usr/include/ffmpeg/libavcodec -I/usr/include/ffmpeg/libavformat
     16         -I/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/tufsbox/devkit/sh4/usr/include \
     17         -I/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/cvs/cdk/ffmpeg-0.6.3 \
     18         -I/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/cvs/cdk/ffmpeg-0.6.3/libavutil -I/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/cvs/cdk/ffmpeg-0.6.3/libavcodec -I/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/cvs/cdk/ffmpeg-0.6.3/libavformat \
     19         -I/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/tufsbox/devkit/sh4/usr/include -L/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/tufsbox/devkit/sh4/usr/lib
    1920#STATIC_LINKING: CFLAGS += -DSTATIC
    2021#STATIC_LINKING: LDFLAGS = -static
    21 CC = gcc
     22LDFLAGS = -L/home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/tufsbox/devkit/sh4/usr/lib
     23CC = /home/gost4711/disc2/flashimg/BUILDGIT/checkout_stm23/tdt/tufsbox/devkit/sh4/bin/sh4-linux-gcc
    2224RM = rm -f
    2325INSTALL = install
     
    6365        $(INSTALL) --mode=0644 minidlna.conf $(ETCINSTALLDIR)
    6466
    65 minidlna:       $(BASEOBJS) $(LNXOBJS) $(LIBS)
     67minidlna:       $(BASEOBJS) $(LNXOBJS)
    6668        @echo Linking $@
    6769        @$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(BASEOBJS) $(LNXOBJS) $(LIBS)
  • titan/minidlna-1.0.22/genconfig.sh

    r13567 r15702  
    4040${RM} ${CONFIGFILE}
    4141
    42 # Detect if there are missing headers
    43 # NOTE: This check only works with a normal distro
    44 [ ! -e "/usr/include/sqlite3.h" ] && MISSING="libsqlite3 $MISSING"
    45 [ ! -e "/usr/include/jpeglib.h" ] && MISSING="libjpeg $MISSING"
    46 [ ! -e "/usr/include/libexif/exif-loader.h" ] && MISSING="libexif $MISSING"
    47 [ ! -e "/usr/include/id3tag.h" ] && MISSING="libid3tag $MISSING"
    48 [ ! -e "/usr/include/ogg/ogg.h" ] && MISSING="libogg $MISSING"
    49 [ ! -e "/usr/include/vorbis/codec.h" ] && MISSING="libvorbis $MISSING"
    50 [ ! -e "/usr/include/FLAC/metadata.h" ] && MISSING="libflac $MISSING"
    51 [ ! -e "/usr/include/ffmpeg/avutil.h" -a \
    52   ! -e "/usr/include/libavutil/avutil.h" -a \
    53   ! -e "/usr/include/ffmpeg/libavutil/avutil.h" ] && MISSING="libavutil $MISSING"
    54 [ ! -e "/usr/include/ffmpeg/avformat.h" -a \
    55   ! -e "/usr/include/libavformat/avformat.h" -a \
    56   ! -e "/usr/include/ffmpeg/libavformat/avformat.h" ] && MISSING="libavformat $MISSING"
    57 [ ! -e "/usr/include/ffmpeg/avcodec.h" -a \
    58   ! -e "/usr/include/libavcodec/avcodec.h" -a \
    59   ! -e "/usr/include/ffmpeg/libavcodec/avcodec.h" ] && MISSING="libavcodec $MISSING"
    60 if [ -n "$MISSING" ]; then
    61         echo -e "\nERROR!  Cannot continue."
    62         echo -e "The following required libraries are either missing, or are missing development headers:\n"
    63         echo -e "$MISSING\n"
    64         exit 1
    65 fi
     42## Detect if there are missing headers
     43## NOTE: This check only works with a normal distro
     44#[ ! -e "/usr/include/sqlite3.h" ] && MISSING="libsqlite3 $MISSING"
     45#[ ! -e "/usr/include/jpeglib.h" ] && MISSING="libjpeg $MISSING"
     46#[ ! -e "/usr/include/libexif/exif-loader.h" ] && MISSING="libexif $MISSING"
     47#[ ! -e "/usr/include/id3tag.h" ] && MISSING="libid3tag $MISSING"
     48#[ ! -e "/usr/include/ogg/ogg.h" ] && MISSING="libogg $MISSING"
     49#[ ! -e "/usr/include/vorbis/codec.h" ] && MISSING="libvorbis $MISSING"
     50#[ ! -e "/usr/include/FLAC/metadata.h" ] && MISSING="libflac $MISSING"
     51#[ ! -e "/usr/include/ffmpeg/avutil.h" -a \
     52#  ! -e "/usr/include/libavutil/avutil.h" -a \
     53#  ! -e "/usr/include/ffmpeg/libavutil/avutil.h" ] && MISSING="libavutil $MISSING"
     54#[ ! -e "/usr/include/ffmpeg/avformat.h" -a \
     55#  ! -e "/usr/include/libavformat/avformat.h" -a \
     56#  ! -e "/usr/include/ffmpeg/libavformat/avformat.h" ] && MISSING="libavformat $MISSING"
     57#[ ! -e "/usr/include/ffmpeg/avcodec.h" -a \
     58#  ! -e "/usr/include/libavcodec/avcodec.h" -a \
     59#  ! -e "/usr/include/ffmpeg/libavcodec/avcodec.h" ] && MISSING="libavcodec $MISSING"
     60#if [ -n "$MISSING" ]; then
     61#       echo -e "\nERROR!  Cannot continue."
     62#       echo -e "The following required libraries are either missing, or are missing development headers:\n"
     63#       echo -e "$MISSING\n"
     64#       exit 1
     65#fi
    6666
    6767echo "/* MiniDLNA Project" >> ${CONFIGFILE}
Note: See TracChangeset for help on using the changeset viewer.