* Update buildsystems for the addition of lib/netplay/nettypes.[ch] in r2160:

* autoconf/automake buildsystem
  * raw makefiles
  * Code::Blocks project file
 * lib/netplay/nettypes.[ch]:
  * set svn:eol-style and svn:mime-type
  * add a GPL header to the file
  * add include guards to the header file (nettypes.h)

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2245 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2007-07-28 13:41:51 +00:00
parent 822edbc150
commit 393e753f60
6 changed files with 58 additions and 3 deletions

View File

@ -1,6 +1,6 @@
noinst_LIBRARIES = libnetplay.a
noinst_HEADERS = netlog.h netplay.h
noinst_HEADERS = netlog.h netplay.h nettypes.h
libnetplay_a_SOURCES = netjoin_stub.c netplay.c netlog.c
libnetplay_a_SOURCES = netjoin_stub.c netplay.c nettypes.c netlog.c
libnetplay_a_LIBADD = $(top_builddir)/lib/framework/libframework.a

View File

@ -3,7 +3,8 @@ include $(MAKERULES)/configure.mk
SRC= netjoin_stub.c \
netlog.c \
netplay.c
netplay.c \
nettypes.c
LIB=netplay

View File

@ -0,0 +1,18 @@
/*
This file is part of Warzone 2100.
Copyright (C) 2007 Warzone Resurrection Project
Warzone 2100 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.
Warzone 2100 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 Warzone 2100; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

View File

@ -0,0 +1,24 @@
/*
This file is part of Warzone 2100.
Copyright (C) 2007 Warzone Resurrection Project
Warzone 2100 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.
Warzone 2100 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 Warzone 2100; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef __INCLUDE_LIB_NETPLAY_NETTYPES_H__
#define __INCLUDE_LIB_NETPLAY_NETTYPES_H__
#endif //__INCLUDE_LIB_NETPLAY_NETTYPES_H__

View File

@ -254,6 +254,10 @@
<Option compilerVar="CC" />
</Unit>
<Unit filename="lib/netplay/netplay.h" />
<Unit filename="lib/netplay/nettypes.c">
<Option compilerVar="CC" />
</Unit>
<Unit filename="lib/netplay/nettypes.h" />
<Unit filename="lib/script/chat_lexer.l">
<Option compilerVar="CC" />
<Option compile="1" />

View File

@ -405,6 +405,10 @@
RelativePath="..\lib\netplay\netplay.c"
>
</File>
<File
RelativePath="..\lib\netplay\nettypes.c"
>
</File>
</Filter>
<Filter
Name="script"
@ -1524,6 +1528,10 @@
RelativePath="..\lib\netplay\netplay.h"
>
</File>
<File
RelativePath="..\lib\netplay\nettypes.h"
>
</File>
<File
RelativePath="..\src\objectdef.h"
>