View | Details | Raw Unified
Collapse All | Expand All

(-) file_not_specified_in_diff (-8 / +12 lines)
 Lines 118-125    Link Here 
AC_CHECK_LIB(Xrandr, XRRQueryVersion,,AC_MSG_ERROR([Can't find libXrandr. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
AC_CHECK_LIB(Xrandr, XRRQueryVersion,,AC_MSG_ERROR([Can't find libXrandr. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
AC_CHECK_LIB(openal, alEnable,, AC_MSG_ERROR([Can't find AL/al.h. OpenAL can be found on http://www.openal.org/]))
AC_CHECK_LIB(openal, alEnable,, AC_MSG_ERROR([Can't find AL/al.h. OpenAL can be found on http://www.openal.org/]))
AC_CHECK_LIB(alut, alutLoadWAVFile,
AC_CHECK_LIB(alut, alutLoadWAVFile,
	LDFLAGS="$LDFLAGS -lalut",
	LIBS="$LIBS -lalut", )
	LDFLAGS="$LDFLAGS")
AC_CHECK_LIB(dl, dlopen)
AC_CHECK_LIB(dl, dlopen)
AC_CHECK_FUNC(dlopen,,AC_MSG_ERROR([Can't find dlopen function. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
AC_CHECK_FUNC(dlopen,,AC_MSG_ERROR([Can't find dlopen function. Please check config.log and if you can't solve the problem send the file to torcs-users@lists.sourceforge.net with the subject \"torcs compilation problem\"]))
 Lines 402-408    Link Here 
ifdef PROGRAM
ifdef PROGRAM
${PROGRAM}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
${PROGRAM}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
	${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${SOLIBS} ${EXT_LIBS} -o $@
	${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
installprogram: ${PROGRAM}
installprogram: ${PROGRAM}
	@ createdir="${INSTLIBBASE}" ; \
	@ createdir="${INSTLIBBASE}" ; \
 Lines 420-433    Link Here 
ifdef LOCALTOOLS
ifdef LOCALTOOLS
${LOCALTOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
${LOCALTOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
	${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@
	${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
endif
endif
ifdef TOOLS
ifdef TOOLS
${TOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
${TOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a})
	${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@
	${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
installtools: ${TOOLS}
installtools: ${TOOLS}
	@createdir="${INSTBINBASE}/${TOOLSDIR}" ; \
	@createdir="${INSTBINBASE}/${TOOLSDIR}" ; \
 Lines 478-484    Link Here 
ifdef SOLIBRARY
ifdef SOLIBRARY
${SOLIBRARY}: ${OBJECTS}
${SOLIBRARY}: ${OBJECTS}
	${CXX} -shared -o ${SOLIBRARY} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS} ${DEBUG_LIBS}
	${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${SOLIBRARY} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
	@D=`pwd` ; \
	@D=`pwd` ; \
	createdir="${EXPORTBASE}/lib" ; \
	createdir="${EXPORTBASE}/lib" ; \
	$(mkinstalldirs) $$createdir ; \
	$(mkinstalldirs) $$createdir ; \
 Lines 509-515    Link Here 
ifdef MODULE
ifdef MODULE
${MODULE}: ${OBJECTS}
${MODULE}: ${OBJECTS}
	${CXX} -shared -o ${MODULE} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS} 
	${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${MODULE} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS}
	@D=`pwd` ; \
	@D=`pwd` ; \
	createdir="${EXPORTBASE}/${MODULEDIR}" ; \
	createdir="${EXPORTBASE}/${MODULEDIR}" ; \
	$(mkinstalldirs) $$createdir ; \
	$(mkinstalldirs) $$createdir ; \
 Lines 23-28    Link Here 
SOURCES   = entry.cpp mainmenu.cpp splash.cpp exitmenu.cpp \
SOURCES   = entry.cpp mainmenu.cpp splash.cpp exitmenu.cpp \
	    optionmenu.cpp
	    optionmenu.cpp
SOLIBS    = -lconfscreens -lraceengine
LIBS      =  -lplibssg -lplibsg -lplibul
LIBS      =  -lplibssg -lplibsg -lplibul
EXPDIR    = include
EXPDIR    = include
 Lines 23-29    Link Here 
TOOLSUBDIRS	= txml
TOOLSUBDIRS	= txml
SUBDIRS		= confscreens racescreens robottools txml tgf tgfclient client raceengineclient learning \
SUBDIRS		= confscreens racescreens robottools txml tgf tgfclient raceengineclient client learning \
			  portability math
			  portability math
PKGSUBDIRS	= $(SUBDIRS)
PKGSUBDIRS	= $(SUBDIRS)
 Lines 23-28    Link Here 
SOURCES      = singleplayer.cpp raceinit.cpp racemain.cpp racemanmenu.cpp racestate.cpp racegl.cpp \
SOURCES      = singleplayer.cpp raceinit.cpp racemain.cpp racemanmenu.cpp racestate.cpp racegl.cpp \
	       raceengine.cpp raceresults.cpp
	       raceengine.cpp raceresults.cpp
SOLIBS       = -lconfscreens -lrobottools -lracescreens
EXPDIR       = include
EXPDIR       = include
EXPORTS      = singleplayer.h raceinit.h
EXPORTS      = singleplayer.h raceinit.h
 Lines 29-34    Link Here 
		profiler.cpp \
		profiler.cpp \
		hash.cpp
		hash.cpp
SOLIBS  = -ltxml
EXPDIR  = include
EXPDIR  = include