Modif Makefile

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9 30fe4595-0a0c-4342-8851-515496e4dcbd
This commit is contained in:
torcs-ng 2008-09-15 18:49:31 +00:00
parent c76a2a1e5a
commit 0f27cad718
68 changed files with 140 additions and 140 deletions

View File

@ -20,7 +20,7 @@
SHELL = /bin/sh
srcdir = .
top_srcdir = ${TORCS-NG_BASE}
top_srcdir = ${TORCSNG_BASE}
prefix = /usr/local
exec_prefix = ${prefix}
@ -58,7 +58,7 @@ EXT_LIBS = -lplibssgaux -lplibssg -lplibsm -lplibsl -lplibsg -lplibul -lglut -lG
LDFLAGS = -L${EXPORTBASE}/lib -lalut -L/usr/lib
#INCFLAGS = -I${EXPORTBASE}/include -I/usr/include -I/usr/local/include
INCFLAGS = -I${EXPORTBASE}/include -I${TORCS-NG_BASE}
INCFLAGS = -I${EXPORTBASE}/include -I${TORCSNG_BASE}
CPP = gcc -E -M -D__DEPEND__

View File

@ -20,7 +20,7 @@
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = ${TORCS-NG_BASE}
top_srcdir = ${TORCSNG_BASE}
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
@ -58,7 +58,7 @@ EXT_LIBS = @LIBS@
LDFLAGS = -L${EXPORTBASE}/lib @LDFLAGS@ -L/usr/lib
#INCFLAGS = -I${EXPORTBASE}/include -I/usr/include -I/usr/local/include
INCFLAGS = -I${EXPORTBASE}/include -I${TORCS-NG_BASE}
INCFLAGS = -I${EXPORTBASE}/include -I${TORCSNG_BASE}
CPP = @CPP@ @CPPFLAGS@ -M -D__DEPEND__

View File

@ -24,24 +24,24 @@
# win32setup
# packages
ifndef TORCS-NG_BASE
ifndef TORCSNG_BASE
-include ${HOME}/.torcs-ng.rc
ifndef TORCS-NG_BASE
ifndef TORCSNG_BASE
error:
@echo "TORCS-NG_BASE should be defined"
@echo "TORCSNG_BASE should be defined"
@exit 1
endif
endif
-include ${TORCS-NG_BASE}/Make-config
-include ${TORCSNG_BASE}/Make-config
SOURCEBASE = ${TORCS-NG_BASE}/src
EXPORTBASE = ${TORCS-NG_BASE}/export
DOCBASE = ${TORCS-NG_BASE}/doc
SOURCEBASE = ${TORCSNG_BASE}/src
EXPORTBASE = ${TORCSNG_BASE}/export
DOCBASE = ${TORCSNG_BASE}/doc
#data
INSTDATABASE = ${DESTDIR}${datadir}
@ -53,22 +53,22 @@ INSTLIBBASE = ${DESTDIR}${libdir}
INSTVARBASE = ${DESTDIR}${datadir}
PACKAGEBASE = ${TORCS-NG_BASE}/package
PACKAGESBASE = ${TORCS-NG_BASE}/RPM/SOURCES
SPECFILESBASE = ${TORCS-NG_BASE}/RPM/SPECS
PACKAGEBASE = ${TORCSNG_BASE}/package
PACKAGESBASE = ${TORCSNG_BASE}/RPM/SOURCES
SPECFILESBASE = ${TORCSNG_BASE}/RPM/SPECS
# linux user setup
SETUP_LINUX = ${TORCS-NG_BASE}/setup_linux.sh
SETUP_LINUX = ${TORCSNG_BASE}/setup_linux.sh
# win32
INIT_WIN32 = ${TORCS-NG_BASE}/setup_win32.bat
INIT_WIN32_D = ${TORCS-NG_BASE}/setup_win32_debug.bat
DATA_WIN32 = ${TORCS-NG_BASE}/setup_win32-data-from-CVS.bat
DATA_WIN32_D = ${TORCS-NG_BASE}/setup_win32-data-from-CVS_debug.bat
INIT_WIN32 = ${TORCSNG_BASE}/setup_win32.bat
INIT_WIN32_D = ${TORCSNG_BASE}/setup_win32_debug.bat
DATA_WIN32 = ${TORCSNG_BASE}/setup_win32-data-from-CVS.bat
DATA_WIN32_D = ${TORCSNG_BASE}/setup_win32-data-from-CVS_debug.bat
define create_dir_win32_
TotDir=`echo $$createdir | sed -e "s:${TORCS-NG_BASE}/::g" ` ; \
TotDir=`echo $$createdir | sed -e "s:${TORCSNG_BASE}/::g" ` ; \
CurDir='.' ; \
echo "" >> ${INIT_WIN32} ; \
for Dir in `echo $$TotDir | sed -e 's:/: :g' ` ; \
@ -78,7 +78,7 @@ done
endef
define create_dir_win32
TotDir=`echo $$createdir | sed -e "s:${TORCS-NG_BASE}/::g" ` ; \
TotDir=`echo $$createdir | sed -e "s:${TORCSNG_BASE}/::g" ` ; \
CurDir='.' ; \
echo "" >> ${INIT_WIN32} ; \
for Dir in `echo $$TotDir | sed -e 's:/: :g' ` ; \
@ -88,7 +88,7 @@ done
endef
define create_dir_win32_data
TotDir=`echo $$createdir | sed -e "s:${TORCS-NG_BASE}/::g" ` ; \
TotDir=`echo $$createdir | sed -e "s:${TORCSNG_BASE}/::g" ` ; \
CurDir='.' ; \
echo "" >> ${DATA_WIN32} ; \
for Dir in `echo $$TotDir | sed -e 's:/: :g' ` ; \
@ -103,7 +103,7 @@ OBJECTS = $(OB1:.c=.o)
define recursedirs
for Dir in $$RecurseDirs ;\
do ${MAKE} -C $$Dir $$RecurseFlags TORCS-NG_BASE=${TORCS-NG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT}; \
do ${MAKE} -C $$Dir $$RecurseFlags TORCSNG_BASE=${TORCSNG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT}; \
if [ $$? != 0 ]; then exit 1; fi ; \
done
endef
@ -188,7 +188,7 @@ linuxconfstart:
@echo '' >> ${SETUP_LINUX}
linuxconfend:
@sed -e "s:${TORCS-NG_BASE}:\.:g" ${SETUP_LINUX} > ${SETUP_LINUX}.eee
@sed -e "s:${TORCSNG_BASE}:\.:g" ${SETUP_LINUX} > ${SETUP_LINUX}.eee
@mv ${SETUP_LINUX}.eee ${SETUP_LINUX}
linuxsetup: linuxconfstart installconfdirs linuxconfend
@ -542,7 +542,7 @@ ifdef PKGLIST
packagelist:
@for Pkg in ${PKGLIST} ;\
do ${MAKE} onepackage PKG=$$Pkg TORCS-NG_BASE=${TORCS-NG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT};\
do ${MAKE} onepackage PKG=$$Pkg TORCSNG_BASE=${TORCSNG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT};\
createdir="${PACKAGESBASE}" ;\
$(mkinstalldirs) $$createdir ; \
archive="TORCS-${VERSION}-$$Pkg".tgz ;\

View File

@ -18,29 +18,29 @@
# #### The Open Racing Car Simulator ####
ifndef TORCS-NG_BASE
ifndef TORCSNG_BASE
TORCS_BASE = $(shell pwd)
MAKE_DEFAULT = ${TORCS-NG_BASE}/Make-default.mk
TORCS_RC = ${TORCS-NG_BASE}/.torcs-ng.rc
TORCSNG_BASE = $(shell pwd)
MAKE_DEFAULT = ${TORCSNG_BASE}/Make-default.mk
TORCS_RC = ${TORCSNG_BASE}/.torcs-ng.rc
-include Make-config
restart:
@echo "TORCS-NG_BASE = ${TORCS-NG_BASE}" > ${TORCS-NG_RC}
@echo "TORCSNG_BASE = ${TORCSNG_BASE}" > ${TORCS-NG_RC}
@echo "MAKE_DEFAULT = ${MAKE_DEFAULT}" >> ${TORCS-NG_RC}
${MAKE} TORCS_BASE=${TORCS-NG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT}
${MAKE} TORCSNG_BASE=${TORCSNG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT}
endif
ifndef MAKE_DEFAULT
MAKE_DEFAULT = ${TORCS-NG_BASE}/Make-default.mk
MAKE_DEFAULT = ${TORCSNG_BASE}/Make-default.mk
-include Make-config
restart2:
${MAKE} TORCS_BASE=${TORCS-NG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT}
${MAKE} TORCSNG_BASE=${TORCSNG_BASE} MAKE_DEFAULT=${MAKE_DEFAULT}
endif

6
configure vendored
View File

@ -702,7 +702,7 @@ EGREP
AR
LD
XMKMF
TORCS-NG_BASE
TORCSNG_BASE
LIBOBJS
LTLIBOBJS'
ac_subst_files=''
@ -9111,7 +9111,7 @@ CXXFLAGS="$CXXFLAGS $ADDCFLAGS"
TORCS-NG_BASE=$PWD
TORCSNG_BASE=$PWD
ac_config_files="$ac_config_files Make-config src/linux/torcs-ng src/tools/accc/accc src/tools/nfs2ac/nfs2ac src/tools/nfsperf/nfsperf src/tools/texmapper/texmapper src/tools/trackgen/trackgen src/doc/torcsdoc.conf src/tools/package/specfiles/torcs-ng-data.spec src/tools/package/specfiles/torcs-ng-data-cars-Patwo-Design.spec src/tools/package/specfiles/torcs-ng-data-cars-kcendra-gt.spec src/tools/package/specfiles/torcs-ng-data-cars-kcendra-sport.spec src/tools/package/specfiles/torcs-ng-data-cars-kcendra-roadsters.spec src/tools/package/specfiles/torcs-ng-data-cars-extra.spec src/tools/package/specfiles/torcs-ng-data-tracks-base.spec src/tools/package/specfiles/torcs-ng-robot-K1999.spec src/tools/package/specfiles/torcs-ng-robot-base.spec src/tools/package/specfiles/torcs-ng.spec"
@ -9870,7 +9870,7 @@ EGREP!$EGREP$ac_delim
AR!$AR$ac_delim
LD!$LD$ac_delim
XMKMF!$XMKMF$ac_delim
TORCS-NG_BASE!$TORCS-NG_BASE$ac_delim
TORCSNG_BASE!$TORCSNG_BASE$ac_delim
LIBOBJS!$LIBOBJS$ac_delim
LTLIBOBJS!$LTLIBOBJS$ac_delim
_ACEOF

View File

@ -33,7 +33,7 @@ PKGSUBDIRS = interfaces libs linux modules windows tools drivers doc raceman
src_PKGFILES = Makefile
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -17,7 +17,7 @@
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -23,7 +23,7 @@ PKGSUBDIRS = $(SUBDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = car1-trb1.rgb $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = car2-trb1.rgb $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = car3-trb1.rgb $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = car4-trb1.rgb $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = car5-trb1.rgb $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = car6-trb1.rgb $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SHIP = car7-trb1.rgb $(shell find *.xml -maxdepth 0 -type f -print)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -33,7 +33,7 @@ PKGSUBDIRS = $(SHIPSUBDIRS)
src-robots-base_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src-robots-base_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
# Mandatory Line Do Not Remove
include ${MAKE_DEFAULT}

View File

@ -21,7 +21,7 @@ EXPORTS = $(shell find * -maxdepth 0 -name '*.h' -print)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -30,7 +30,7 @@ PKGSUBDIRS = $(SUBDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -31,7 +31,7 @@ EXPORTS = client.h exitmenu.h
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -30,7 +30,7 @@ EXPORTS = confscreens.h driverconfig.h joystickconfig.h mouseconfig.h controlc
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ EXPDIR = include/learning
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ EXPDIR = include/tmath
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ EXPDIR = include
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -38,7 +38,7 @@ CONFIG = $(SHIP)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ EXPORTS = racescreens.h
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ EXPORTS = robottools.h
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -40,7 +40,7 @@ SHIP = params.dtd
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -53,7 +53,7 @@ CONFIG = screen.xml
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -19,7 +19,7 @@ TOOLSDIR =
TOOLSCRIPT = torcs-ng
PROGRAM = torcs-bin
PROGRAM = torcs-ng-bin
SOURCES = main.cpp linuxspec.cpp
@ -42,7 +42,7 @@ EXPORTS = osspec.h
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -25,7 +25,7 @@ PKGSUBDIRS = track simu graphic telemetry
src_PKGFILES = Makefile
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -26,7 +26,7 @@ PKGSUBDIRS = $(SUBDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -36,7 +36,7 @@ CONFIG = $(SHIP)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -1,4 +1,4 @@
##############################################################################
#############################################################################
#
# file : Makefile
# created : Wed Jan 19 16:32:50 CET 2000
@ -27,6 +27,6 @@ PKGSUBDIRS = $(SUBDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -45,7 +45,7 @@ PKGSUBDIRS = $(SUBDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -25,7 +25,7 @@ PKGSUBDIRS = $(SUBDIRS) $(EXPINCDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -23,7 +23,7 @@ EXPDIR = include/3D
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -23,7 +23,7 @@ PKGSUBDIRS = $(EXPINCDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -23,7 +23,7 @@ EXPDIR = include/SOLID
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -29,7 +29,7 @@ COMPILFLAGS = -DNDEBUG -Wno-deprecated
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -40,7 +40,7 @@ LIBS = -lplibsg -lplibul -L${EXPORTBASE}/lib -lsolid
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ SHIP = telemetry.sh
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SOURCES = track.cpp trackitf.cpp trackutil.cpp track3.cpp track4.cpp
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ CONFIG = ${SHIP}
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))

View File

@ -25,7 +25,7 @@ PKGSUBDIRS = $(SUBDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -33,7 +33,7 @@ SOLIBS = -ltgf -lplibssg -lplibsg -lplibul -ltxml
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,7 +24,7 @@ SOURCES = mainnfs2ac.cpp
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -28,7 +28,7 @@ SOLIBS = -ltgf -ltxml
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -22,7 +22,7 @@ PKGSUBDIRS = $(SUBDIRS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -22,7 +22,7 @@ GARBAGE = $(SPECFILES)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -1,19 +1,19 @@
Summary: TORCS - Extra car pack
Name: TORCS-data-cars-extra
Summary: TORCS NG - Extra car pack
Name: TORCS-NG-data-cars-extra
Version: @VERSION@
Release: 1
Epoch: 1
Source: TORCS-%{version}-data-cars-extra.tgz
Source: TORCS-NG-%{version}-data-cars-extra.tgz
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-buildroot
Copyright: GPL
BuildArch: noarch
URL: http://torcs.org
Packager: Eric Espié <Eric.Espie@free.fr>
Requires: TORCS
Requires: TORCS-NG
%description
Extra car pack for TORCS
Extra car pack for TORCS-NG
%prep
%setup -c
@ -21,15 +21,15 @@ Extra car pack for TORCS
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}/share/games/torcs/*
%{_prefix}/share/games/torcs-ng/*
%changelog
* Thu Jan 02 2003 Eric Espié <Eric.Espie@free.fr> 1.2.0

View File

@ -1,19 +1,19 @@
Summary: TORCS - K/Cendra Grand Tourisme Cars Pack
Name: TORCS-data-cars-kcendra-gt
Summary: TORCS NG - K/Cendra Grand Tourisme Cars Pack
Name: TORCS-NG-data-cars-kcendra-gt
Version: @VERSION@
Release: 1
Epoch: 1
Source: TORCS-%{version}-data-cars-kcendra-gt.tgz
Source: TORCS-NG-%{version}-data-cars-kcendra-gt.tgz
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-buildroot
Copyright: K/Cendra
BuildArch: noarch
URL: http://torcs.org
Packager: Eric Espié <Eric.Espie@free.fr>
Requires: TORCS
Requires: TORCS-NG
%description
K/Cendra Grand Tourisme Car Packs for TORCS.
K/Cendra Grand Tourisme Car Packs for TORCS-NG.
PLEASE, these files may NOT BE EDITED or COPIED in any way.
http://www.kcendra.com
@ -23,15 +23,15 @@ http://www.kcendra.com
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}/share/games/torcs/*
%{_prefix}/share/games/torcs-ng/*
%changelog
* Mon Aug 25 2003 Eric Espié <Eric.Espie@free.fr> 1.2.2

View File

@ -1,19 +1,19 @@
Summary: TORCS - K/Cendra Sport Cars Pack
Name: TORCS-data-cars-kcendra-sport
Summary: TORCS NG - K/Cendra Sport Cars Pack
Name: TORCS-NG-data-cars-kcendra-sport
Version: @VERSION@
Release: 1
Epoch: 1
Source: TORCS-%{version}-data-cars-kcendra-sport.tgz
Source: TORCS-NG-%{version}-data-cars-kcendra-sport.tgz
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-buildroot
Copyright: K/Cendra
BuildArch: noarch
URL: http://torcs.org
Packager: Eric Espié <Eric.Espie@free.fr>
Requires: TORCS
Requires: TORCS-NG
%description
K/Cendra Sport Cars Pack for TORCS.
K/Cendra Sport Cars Pack for TORCS-NG.
PLEASE, these files may NOT BE EDITED or COPIED in any way.
http://www.kcendra.com
@ -23,15 +23,15 @@ http://www.kcendra.com
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}/share/games/torcs/*
%{_prefix}/share/games/torcs-ng/*
%changelog
* Mon Aug 25 2003 Eric Espié <Eric.Espie@free.fr> 1.2.2

View File

@ -1,19 +1,19 @@
Summary: TORCS - Base Track Pack
Name: TORCS-data-tracks-base
Summary: TORCS NG - Base Track Pack
Name: TORCS-NG-data-tracks-base
Version: @VERSION@
Release: 1
Epoch: 1
Source: TORCS-%{version}-data-tracks-base.tgz
Source: TORCS-NG-%{version}-data-tracks-base.tgz
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-buildroot
Copyright: GPL
BuildArch: noarch
URL: http://torcs.org
Packager: Eric Espié <Eric.Espie@free.fr>
Requires: TORCS
Requires: TORCS-NG
%description
Base Track Pack for TORCS
Base Track Pack for TORCS NG
%prep
%setup -c
@ -21,15 +21,15 @@ Base Track Pack for TORCS
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}/share/games/torcs/*
%{_prefix}/share/games/torcs-ng/*
%changelog
* Mon Mar 24 2003 Eric Espié <Eric.Espie@free.fr> 1.2.0

View File

@ -1,9 +1,9 @@
Summary: The Open Racing Car Simulator - DATA
Name: TORCS-data
Name: TORCS-NG-data
Version: @VERSION@
Release: 1
Epoch: 1
Source: TORCS-%{version}-data.tgz
Source: TORCS-NG-%{version}-data.tgz
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-buildroot
Copyright: GPL
@ -20,15 +20,15 @@ Mandatory data (images, fonts, menus...) for TORCS
%build
%install
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
cp -r * $RPM_BUILD_ROOT/%{_prefix}/share/games/torcs-ng
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_prefix}/share/games/torcs/*
%{_prefix}/share/games/torcs-ng/*
%changelog
* Mon Mar 24 2003 Eric Espié <Eric.Espie@free.fr> 1.2.0

View File

@ -1,25 +1,25 @@
Summary: The Open Racing Car Simulator
Name: TORCS
Summary: The Open Racing Car Simulator Next Generation
Name: TORCS-NG
Version: @VERSION@
Release: 1
Epoch: 1
Source: TORCS-%{version}-src.tgz
Source: TORCS-NG-%{version}-src.tgz
Group: Amusements/Games
BuildRoot: %{_tmppath}/%{name}-buildroot
Copyright: GPL
BuildArch: i386
URL: http://torcs.org
Packager: Eric Espié <Eric.Espie@free.fr>
Requires: TORCS-data
Requires: TORCS-NG-data
%description
A 3D racing car simulator using OpenGL.
%prep
%setup -n torcs-@VERSION@
%setup -n torcs-ng-@VERSION@
%build
export TORCS_BASE=`pwd` MAKE_DEFAULT=`pwd`/Make-default.mk
export TORCSNG_BASE=`pwd` MAKE_DEFAULT=`pwd`/Make-default.mk
./configure --prefix=%{_prefix}
make
@ -33,7 +33,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%{_prefix}/bin/*
%{_prefix}/lib/*
%{_prefix}/share/games/torcs/*
%{_prefix}/share/games/torcs-ng/*
%changelog
* Mon Mar 24 2003 Eric Espié <Eric.Espie@free.fr> 1.2.0

View File

@ -28,6 +28,6 @@ SOLIBS = -lplibssg -lplibsg -lplibul -ltgf -ltgfclient -ltxml -lpng
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -33,7 +33,7 @@ SOLIBS = -ltgf -ltgfclient -lplibssg -lplibsg -lplibul -lrobottools -ltxm
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -24,8 +24,8 @@ exec_prefix=@exec_prefix@
BINDIR=@bindir@
LIBDIR=@libdir@/torcs
DATAROOTDIR=@datarootdir@
DATADIR=$DATAROOTDIR/games/torcs
VARDIR=@localstatedir@/games/torcs
DATADIR=$DATAROOTDIR/games/torcs-ng
VARDIR=@localstatedir@/games/torcs-ng
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$LIBDIR/lib

View File

@ -20,7 +20,7 @@ PKGSUBDIRS = $(shell find * -maxdepth 0 -type d -print | grep -v CVS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -19,7 +19,7 @@
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -18,7 +18,7 @@
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -18,7 +18,7 @@
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -20,7 +20,7 @@ PKGSUBDIRS = $(shell find * -maxdepth 0 -type d -print | grep -v CVS)
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -18,7 +18,7 @@
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}

View File

@ -19,7 +19,7 @@
src_PKGFILES = $(shell find * -maxdepth 0 -type f -print)
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCS-NG_BASE},,$(shell pwd))
src_PKGDIR = ${PACKAGE}-${VERSION}/$(subst ${TORCSNG_BASE},,$(shell pwd))
include ${MAKE_DEFAULT}