get the QWTV (qtv) project going :)

This commit is contained in:
Bill Currie 2004-02-18 23:21:11 +00:00
parent 8069becadf
commit 6ae4b6f8bb
9 changed files with 106 additions and 2 deletions

View file

@ -1,7 +1,7 @@
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS= foreign
SUBDIRS= RPM debian doc include libs hw nq qw tools ruamoko
SUBDIRS= RPM debian doc include libs hw nq qtv qw tools ruamoko
## configure.ac needs to be listed here for older autoconfs
EXTRA_DIST= ChangeLog configure.ac \

View file

@ -1641,7 +1641,7 @@ QF_WITH_TARGETS(
QF_WITH_TARGETS(
servers,
[ --with-servers=<list> compile dedicated server:],
[master,nq,qw],dummy
[master,nq,qw,qtv],dummy
)
QF_WITH_TARGETS(
tools,
@ -1651,6 +1651,7 @@ QF_WITH_TARGETS(
unset CL_TARGETS
HW_TARGETS=""
QTV_TARGETS=""
QW_TARGETS=""
NQ_TARGETS=""
@ -1799,6 +1800,11 @@ if test "x$ENABLE_servers_nq" = xyes; then
SV_TARGETS="$SV_TARGETS nq"
QF_NEED(nq, [common server])
fi
if test "x$ENABLE_servers_qtv" = xyes; then
QTV_TARGETS="qtv $QTV_TARGETS"
SV_TARGETS="$SV_TARGETS qtv"
# QF_NEED(qtv, [common server])
fi
if test "x$ENABLE_servers_master" = xyes; then
HW_TARGETS="hw-master\$(EXEEXT) $HW_TARGETS"
QW_TARGETS="qw-master\$(EXEEXT) $QW_TARGETS"
@ -2047,6 +2053,7 @@ AC_DEFINE_UNQUOTED(SND_RENDER_PROTOS, $SND_RENDER_PROTOS, [list of sound render
AC_SUBST(HW_TARGETS)
AC_SUBST(NQ_TARGETS)
AC_SUBST(QTV_TARGETS)
AC_SUBST(QW_TARGETS)
AC_SUBST(SERVER_PLUGIN_STATIC)
AC_SUBST(SERVER_PLUGIN_STATIC_LIBS)
@ -2193,6 +2200,10 @@ AC_OUTPUT(
nq/include/Makefile
nq/source/Makefile
qtv/Makefile
qtv/include/Makefile
qtv/source/Makefile
qw/Makefile
qw/include/Makefile
qw/source/Makefile

3
qtv/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.vimrc
Makefile
Makefile.in

4
qtv/Makefile.am Normal file
View file

@ -0,0 +1,4 @@
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS= foreign
SUBDIRS= include source

7
qtv/include/.gitignore vendored Normal file
View file

@ -0,0 +1,7 @@
.vimrc
Makefile.in
Makefile
config.h.in
stamp-h.in
stamp-h
config.h

4
qtv/include/Makefile.am Normal file
View file

@ -0,0 +1,4 @@
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS= foreign
EXTRA_DIST =

15
qtv/source/.gitignore vendored Normal file
View file

@ -0,0 +1,15 @@
*.a
*.d
*.i
*.o
*.obj
*.s
*.lo
*.la
.deps
.libs
.vimrc
Makefile
Makefile.in
qtv
qtv.exe

52
qtv/source/Makefile.am Normal file
View file

@ -0,0 +1,52 @@
## Process this file with automake to produce Makefile.in
#
# Makefile.am
#
# Automake-using build system for QuakeForge
#
# Copyright (C) 2000 Jeff Teunissen <deek@quakeforge.net>
#
# This Makefile is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to:
#
# Free Software Foundation, Inc.
# 59 Temple Place - Suite 330
# Boston, MA 02111-1307, USA
#
# $Id$
#
AUTOMAKE_OPTIONS= foreign
INCLUDES= -I$(top_srcdir)/include -I$(top_srcdir)/qtv/include
bin_PROGRAMS= @QTV_TARGETS@
EXTRA_PROGRAMS= qtv
common_ldflags= -export-dynamic
qtv_LIBS= \
$(SERVER_PLUGIN_STATIC_LIBS) \
$(top_builddir)/libs/net/libnet_chan.la \
$(top_builddir)/libs/console/libQFconsole.la \
$(top_builddir)/libs/util/libQFutil.la
qtv_SOURCES= qtv.c
qtv_LDADD= $(qtv_LIBS) $(NET_LIBS) $(DL_LIBS) $(CURSES_LIBS)
qtv_LDFLAGS= $(common_ldflags)
qtv_DEPENDENCIES= $(qtv_LIBS)
# Kill the temp files, hopefully.
CLEANFILES = *.i *.s

8
qtv/source/qtv.c Normal file
View file

@ -0,0 +1,8 @@
#include <stdio.h>
int
main (void)
{
printf ("konnichi wa\n");
return 0;
}