Changeset 1036


Ignore:
Timestamp:
Oct 29, 2011, 8:29:42 PM (11 years ago)
Author:
sam
Message:

build: allow to build without the PS3-specific files.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/bootstrap

    r876 r1036  
    1616# Die if an error occurs
    1717set -e
     18
     19# LolEngine specific:
     20sed -ne '/AC_CONFIG_FILES/,$p' configure.ac \
     21  | sed -ne 's/[ \[*]*\([a-z].*\).Makefile.*/\1/p' | while read p; do
     22    if [ ! -f "$p/Makefile.am" ]; then
     23        echo "bootstrap: $p/Makefile.am does not exist -- creating stub"
     24        mkdir -p "$p"
     25        echo "# Stub created by bootstrap" > "$p/Makefile.am"
     26    fi
     27done
    1828
    1929# Guess whether we are using configure.ac or configure.in
  • trunk/configure.ac

    r984 r1036  
    4343PKG_PROG_PKG_CONFIG()
    4444
     45dnl  Available platforms: some of these are not public
     46AM_CONDITIONAL(HAVE_PS3, test -f src/platform/ps3/ps3app.cpp)
     47
     48AM_CONDITIONAL(USE_GLEW, test "${ac_cv_my_have_glew}" != "no")
    4549dnl conditional builds
    4650AC_ARG_ENABLE(debug,
  • trunk/src/Makefile.am

    r981 r1036  
    1818    eglapp.cpp eglapp.h \
    1919    \
    20     platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
    21     platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h \
    22     \
    23     platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
    24     platform/ps3/ps3input.cpp platform/ps3/ps3input.h \
     20    $(ps3_sources) \
     21    $(sdl_sources) \
    2522    \
    2623    shader/shader.cpp shader/shader.h \
     
    4037liblol_a_CPPFLAGS = @LOL_CFLAGS@
    4138
     39sdl_sources =  \
     40    platform/sdl/sdlapp.cpp platform/sdl/sdlapp.h \
     41    platform/sdl/sdlinput.cpp platform/sdl/sdlinput.h
     42
     43if HAVE_PS3
     44ps3_sources =  \
     45    platform/ps3/ps3app.cpp platform/ps3/ps3app.h \
     46    platform/ps3/ps3input.cpp platform/ps3/ps3input.h
     47endif
     48
  • trunk/test/math

    • Property svn:ignore
      •  

        old new  
        22Makefile.in
        33.deps
         4remez
         5poly
         6pi
Note: See TracChangeset for help on using the changeset viewer.