1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

project files for server and lib (netbeans 6.5)

This commit is contained in:
Łukasz Wychrystenko 2008-12-18 20:47:05 +00:00
parent 0f81bf5ae0
commit dbd6f2bc82
11 changed files with 977 additions and 0 deletions

View File

@ -0,0 +1,325 @@
<?xml version="1.0" encoding="UTF-8"?>
<configurationDescriptor version="51">
<logicalFolder name="root" displayName="root" projectFiles="true">
<logicalFolder name="HeaderFiles"
displayName="Header Files"
projectFiles="true">
<itemPath>../BattleAction.h</itemPath>
<itemPath>../../hch/CArtHandler.h</itemPath>
<itemPath>../../hch/CBuildingHandler.h</itemPath>
<itemPath>../../CConsoleHandler.h</itemPath>
<itemPath>../../hch/CCreatureHandler.h</itemPath>
<itemPath>../../hch/CDefObjInfoHandler.h</itemPath>
<itemPath>../../CGameInfo.h</itemPath>
<itemPath>../../CGameState.h</itemPath>
<itemPath>../../hch/CGeneralTextHandler.h</itemPath>
<itemPath>../../hch/CHeroHandler.h</itemPath>
<itemPath>../../hch/CLodHandler.h</itemPath>
<itemPath>../../hch/CObjectHandler.h</itemPath>
<itemPath>../CondSh.h</itemPath>
<itemPath>../Connection.h</itemPath>
<itemPath>../../hch/CSpellHandler.h</itemPath>
<itemPath>../../hch/CTownHandler.h</itemPath>
<itemPath>../Interprocess.h</itemPath>
<itemPath>../../map.h</itemPath>
<itemPath>../NetPacks.h</itemPath>
<itemPath>../VCMI_Lib.h</itemPath>
</logicalFolder>
<logicalFolder name="ResourceFiles"
displayName="Resource Files"
projectFiles="true">
</logicalFolder>
<logicalFolder name="SourceFiles"
displayName="Source Files"
projectFiles="true">
<itemPath>../../hch/CArtHandler.cpp</itemPath>
<itemPath>../../hch/CBuildingHandler.cpp</itemPath>
<itemPath>../../CConsoleHandler.cpp</itemPath>
<itemPath>../../hch/CCreatureHandler.cpp</itemPath>
<itemPath>../../hch/CDefObjInfoHandler.cpp</itemPath>
<itemPath>../../CGameInfo.cpp</itemPath>
<itemPath>../../CGameState.cpp</itemPath>
<itemPath>../../hch/CGeneralTextHandler.cpp</itemPath>
<itemPath>../../hch/CHeroHandler.cpp</itemPath>
<itemPath>../../hch/CLodHandler.cpp</itemPath>
<itemPath>../../hch/CObjectHandler.cpp</itemPath>
<itemPath>../Connection.cpp</itemPath>
<itemPath>../../hch/CSpellHandler.cpp</itemPath>
<itemPath>../../hch/CTownHandler.cpp</itemPath>
<itemPath>../../map.cpp</itemPath>
<itemPath>../VCMI_Lib.cpp</itemPath>
</logicalFolder>
<logicalFolder name="ExternalFiles"
displayName="Important Files"
projectFiles="false">
<itemPath>Makefile-nb</itemPath>
</logicalFolder>
</logicalFolder>
<projectmakefile>Makefile-nb</projectmakefile>
<confs>
<conf name="Debug" type="2">
<toolsSet>
<developmentServer>localhost</developmentServer>
<compilerSet>GNU|GNU</compilerSet>
<platform>2</platform>
</toolsSet>
<compileType>
<ccCompilerTool>
<includeDirectories>
<directoryPath>../../hch</directoryPath>
<directoryPath>../..</directoryPath>
<directoryPath>../../../../boost/include/boost-1_37</directoryPath>
<directoryPath>/usr/include/SDL</directoryPath>
<directoryPath>../../../../boost/include/boost-1_37/boost</directoryPath>
</includeDirectories>
</ccCompilerTool>
<linkerTool>
<output>dist/Debug/${PLATFORM}/libvcmi_lib.so</output>
<linkerAddLib>
<directoryPath>../../../../boost/lib</directoryPath>
</linkerAddLib>
<linkerLibItems>
</linkerLibItems>
</linkerTool>
</compileType>
<item path="../../CConsoleHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CConsoleHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../CGameInfo.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CGameInfo.h">
<itemTool>3</itemTool>
</item>
<item path="../../CGameState.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CGameState.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CArtHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CArtHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CBuildingHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CBuildingHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CCreatureHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CCreatureHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CDefObjInfoHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CDefObjInfoHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CGeneralTextHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CGeneralTextHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CHeroHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CHeroHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CLodHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CLodHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CObjectHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CObjectHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CSpellHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CSpellHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CTownHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CTownHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../map.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../map.h">
<itemTool>3</itemTool>
</item>
<item path="../BattleAction.h">
<itemTool>3</itemTool>
</item>
<item path="../CondSh.h">
<itemTool>3</itemTool>
</item>
<item path="../Connection.cpp">
<itemTool>1</itemTool>
</item>
<item path="../Connection.h">
<itemTool>3</itemTool>
</item>
<item path="../Interprocess.h">
<itemTool>3</itemTool>
</item>
<item path="../NetPacks.h">
<itemTool>3</itemTool>
</item>
<item path="../VCMI_Lib.cpp">
<itemTool>1</itemTool>
</item>
<item path="../VCMI_Lib.h">
<itemTool>3</itemTool>
</item>
</conf>
<conf name="Release" type="2">
<toolsSet>
<developmentServer>localhost</developmentServer>
<compilerSet>GNU|GNU</compilerSet>
<platform>2</platform>
</toolsSet>
<compileType>
<cCompilerTool>
<developmentMode>5</developmentMode>
</cCompilerTool>
<ccCompilerTool>
<developmentMode>5</developmentMode>
</ccCompilerTool>
<fortranCompilerTool>
<developmentMode>5</developmentMode>
</fortranCompilerTool>
<linkerTool>
<linkerLibItems>
</linkerLibItems>
</linkerTool>
</compileType>
<item path="../../CConsoleHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CConsoleHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../CGameInfo.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CGameInfo.h">
<itemTool>3</itemTool>
</item>
<item path="../../CGameState.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CGameState.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CArtHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CArtHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CBuildingHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CBuildingHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CCreatureHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CCreatureHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CDefObjInfoHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CDefObjInfoHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CGeneralTextHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CGeneralTextHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CHeroHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CHeroHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CLodHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CLodHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CObjectHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CObjectHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CSpellHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CSpellHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CTownHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CTownHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../../map.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../map.h">
<itemTool>3</itemTool>
</item>
<item path="../BattleAction.h">
<itemTool>3</itemTool>
</item>
<item path="../CondSh.h">
<itemTool>3</itemTool>
</item>
<item path="../Connection.cpp">
<itemTool>1</itemTool>
</item>
<item path="../Connection.h">
<itemTool>3</itemTool>
</item>
<item path="../Interprocess.h">
<itemTool>3</itemTool>
</item>
<item path="../NetPacks.h">
<itemTool>3</itemTool>
</item>
<item path="../VCMI_Lib.cpp">
<itemTool>1</itemTool>
</item>
<item path="../VCMI_Lib.h">
<itemTool>3</itemTool>
</item>
</conf>
</confs>
</configurationDescriptor>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.cnd.makeproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/make-project/1">
<name>vcmi_lib</name>
<make-project-type>0</make-project-type>
<c-extensions/>
<cpp-extensions>cpp</cpp-extensions>
<header-extensions>h</header-extensions>
<sourceEncoding>UTF-8</sourceEncoding>
<make-dep-projects/>
</data>
</configuration>
</project>

View File

@ -0,0 +1,101 @@
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a -pre and a -post target defined where you can add customized code.
#
# This makefile implements configuration specific macros and targets.
# Environment
MKDIR=mkdir
CP=cp
CCADMIN=CCadmin
RANLIB=ranlib
CC=gcc
CCC=g++
CXX=g++
FC=
# Macros
PLATFORM=GNU-Linux-x86
# Include project Makefile
include Makefile
# Object Directory
OBJECTDIR=build/Debug/${PLATFORM}
# Object Files
OBJECTFILES= \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o
# C Compiler Flags
CFLAGS=
# CC Compiler Flags
CCFLAGS=
CXXFLAGS=
# Fortran Compiler Flags
FFLAGS=
# Link Libraries and Options
LDLIBSOPTIONS=-L../../../../boost/lib -Wl,-rpath ../../lib/vcmi_lib/dist/Debug/GNU-Linux-x86 -L../../lib/vcmi_lib/dist/Debug/GNU-Linux-x86 -lvcmi_lib
# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
${MAKE} -f nbproject/Makefile-Debug.mk dist/Debug/${PLATFORM}/vcmi_server
dist/Debug/${PLATFORM}/vcmi_server: ../../lib/vcmi_lib/dist/Debug/GNU-Linux-x86/libvcmi_lib.so
dist/Debug/${PLATFORM}/vcmi_server: ${OBJECTFILES}
${MKDIR} -p dist/Debug/${PLATFORM}
${LINK.cc} -lboost_system-gcc43-mt-1_37 -lboost_thread-gcc43-mt-1_37 -lboost_filesystem-gcc43-mt-1_37 -lz -o dist/Debug/${PLATFORM}/vcmi_server ${OBJECTFILES} ${LDLIBSOPTIONS}
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o: ../CVCMIServer.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
${RM} $@.d
$(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o ../CVCMIServer.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o: ../../CLua.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../..
${RM} $@.d
$(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o ../../CLua.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o: ../../hch/CLodHandler.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch
${RM} $@.d
$(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o ../../hch/CLodHandler.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o: ../CGameHandler.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
${RM} $@.d
$(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o ../CGameHandler.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o: ../CScriptCallback.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
${RM} $@.d
$(COMPILE.cc) -g -I../../../../boost/include/boost-1_37 -I../.. -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o ../CScriptCallback.cpp
# Subprojects
.build-subprojects:
cd ../../lib/vcmi_lib && ${MAKE} -f Makefile-nb CONF=Debug
# Clean Targets
.clean-conf: ${CLEAN_SUBPROJECTS}
${RM} -r build/Debug
${RM} dist/Debug/${PLATFORM}/vcmi_server
# Subprojects
.clean-subprojects:
cd ../../lib/vcmi_lib && ${MAKE} -f Makefile-nb CONF=Debug clean
# Enable dependency checking
.dep.inc: .depcheck-impl
include .dep.inc

View File

@ -0,0 +1,97 @@
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a -pre and a -post target defined where you can add customized code.
#
# This makefile implements configuration specific macros and targets.
# Environment
MKDIR=mkdir
CP=cp
CCADMIN=CCadmin
RANLIB=ranlib
CC=gcc
CCC=g++
CXX=g++
FC=
# Macros
PLATFORM=GNU-Linux-x86
# Include project Makefile
include Makefile
# Object Directory
OBJECTDIR=build/Release/${PLATFORM}
# Object Files
OBJECTFILES= \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o \
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o
# C Compiler Flags
CFLAGS=
# CC Compiler Flags
CCFLAGS=
CXXFLAGS=
# Fortran Compiler Flags
FFLAGS=
# Link Libraries and Options
LDLIBSOPTIONS=
# Build Targets
.build-conf: ${BUILD_SUBPROJECTS}
${MAKE} -f nbproject/Makefile-Release.mk dist/Release/${PLATFORM}/vcmi_server
dist/Release/${PLATFORM}/vcmi_server: ${OBJECTFILES}
${MKDIR} -p dist/Release/${PLATFORM}
${LINK.cc} -o dist/Release/${PLATFORM}/vcmi_server ${OBJECTFILES} ${LDLIBSOPTIONS}
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o: ../CVCMIServer.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
${RM} $@.d
$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CVCMIServer.o ../CVCMIServer.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o: ../../CLua.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../..
${RM} $@.d
$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../CLua.o ../../CLua.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o: ../../hch/CLodHandler.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch
${RM} $@.d
$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../../hch/CLodHandler.o ../../hch/CLodHandler.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o: ../CGameHandler.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
${RM} $@.d
$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CGameHandler.o ../CGameHandler.cpp
${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o: ../CScriptCallback.cpp
${MKDIR} -p ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/..
${RM} $@.d
$(COMPILE.cc) -O2 -MMD -MP -MF $@.d -o ${OBJECTDIR}/_ext/home/t0/vcmi/trunk/server/vcmi_server/../CScriptCallback.o ../CScriptCallback.cpp
# Subprojects
.build-subprojects:
# Clean Targets
.clean-conf:
${RM} -r build/Release
${RM} dist/Release/${PLATFORM}/vcmi_server
# Subprojects
.clean-subprojects:
# Enable dependency checking
.dep.inc: .depcheck-impl
include .dep.inc

View File

@ -0,0 +1,123 @@
#
# Generated Makefile - do not edit!
#
# Edit the Makefile in the project folder instead (../Makefile). Each target
# has a pre- and a post- target defined where you can add customization code.
#
# This makefile implements macros and targets common to all configurations.
#
# NOCDDL
# Building and Cleaning subprojects are done by default, but can be controlled with the SUB
# macro. If SUB=no, subprojects will not be built or cleaned. The following macro
# statements set BUILD_SUB-CONF and CLEAN_SUB-CONF to .build-reqprojects-conf
# and .clean-reqprojects-conf unless SUB has the value 'no'
SUB_no=NO
SUBPROJECTS=${SUB_${SUB}}
BUILD_SUBPROJECTS_=.build-subprojects
BUILD_SUBPROJECTS_NO=
BUILD_SUBPROJECTS=${BUILD_SUBPROJECTS_${SUBPROJECTS}}
CLEAN_SUBPROJECTS_=.clean-subprojects
CLEAN_SUBPROJECTS_NO=
CLEAN_SUBPROJECTS=${CLEAN_SUBPROJECTS_${SUBPROJECTS}}
# Project Name
PROJECTNAME=vcmi_server
# Active Configuration
DEFAULTCONF=Debug
CONF=${DEFAULTCONF}
# All Configurations
ALLCONFS=Debug Release
# build
.build-impl: .build-pre .validate-impl .depcheck-impl
@#echo "=> Running $@... Configuration=$(CONF)"
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf
# clean
.clean-impl: .clean-pre .validate-impl .depcheck-impl
@#echo "=> Running $@... Configuration=$(CONF)"
${MAKE} -f nbproject/Makefile-${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf
# clobber
.clobber-impl: .clobber-pre .depcheck-impl
@#echo "=> Running $@..."
for CONF in ${ALLCONFS}; \
do \
${MAKE} -f nbproject/Makefile-$${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .clean-conf; \
done
# all
.all-impl: .all-pre .depcheck-impl
@#echo "=> Running $@..."
for CONF in ${ALLCONFS}; \
do \
${MAKE} -f nbproject/Makefile-$${CONF}.mk SUBPROJECTS=${SUBPROJECTS} .build-conf; \
done
# dependency checking support
.depcheck-impl:
@echo "# This code depends on make tool being used" >.dep.inc
@if [ -n "${MAKE_VERSION}" ]; then \
echo "DEPFILES=\$$(wildcard \$$(addsuffix .d, \$${OBJECTFILES}))" >>.dep.inc; \
echo "ifneq (\$${DEPFILES},)" >>.dep.inc; \
echo "include \$${DEPFILES}" >>.dep.inc; \
echo "endif" >>.dep.inc; \
else \
echo ".KEEP_STATE:" >>.dep.inc; \
echo ".KEEP_STATE_FILE:.make.state.\$${CONF}" >>.dep.inc; \
fi
# configuration validation
.validate-impl:
@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
then \
echo ""; \
echo "Error: can not find the makefile for configuration '${CONF}' in project ${PROJECTNAME}"; \
echo "See 'make help' for details."; \
echo "Current directory: " `pwd`; \
echo ""; \
fi
@if [ ! -f nbproject/Makefile-${CONF}.mk ]; \
then \
exit 1; \
fi
# help
.help-impl: .help-pre
@echo "This makefile supports the following configurations:"
@echo " ${ALLCONFS}"
@echo ""
@echo "and the following targets:"
@echo " build (default target)"
@echo " clean"
@echo " clobber"
@echo " all"
@echo " help"
@echo ""
@echo "Makefile Usage:"
@echo " make [CONF=<CONFIGURATION>] [SUB=no] build"
@echo " make [CONF=<CONFIGURATION>] [SUB=no] clean"
@echo " make [SUB=no] clobber"
@echo " make [SUB=no] all"
@echo " make help"
@echo ""
@echo "Target 'build' will build a specific configuration and, unless 'SUB=no',"
@echo " also build subprojects."
@echo "Target 'clean' will clean a specific configuration and, unless 'SUB=no',"
@echo " also clean subprojects."
@echo "Target 'clobber' will remove all built files from all configurations and,"
@echo " unless 'SUB=no', also from subprojects."
@echo "Target 'all' will will build all configurations and, unless 'SUB=no',"
@echo " also build subprojects."
@echo "Target 'help' prints this message."
@echo ""

View File

@ -0,0 +1,72 @@
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
PLATFORM=GNU-Linux-x86
TMPDIR=build/Debug/${PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/Debug/${PLATFORM}/vcmi_server
OUTPUT_BASENAME=vcmi_server
PACKAGE_TOP_DIR=vcmiserver/
# Functions
function checkReturnCode
{
rc=$?
if [ $rc != 0 ]
then
exit $rc
fi
}
function makeDirectory
# $1 directory path
# $2 permission (optional)
{
mkdir -p "$1"
checkReturnCode
if [ "$2" != "" ]
then
chmod $2 "$1"
checkReturnCode
fi
}
function copyFileToTmpDir
# $1 from-file path
# $2 to-file path
# $3 permission
{
cp "$1" "$2"
checkReturnCode
if [ "$3" != "" ]
then
chmod $3 "$2"
checkReturnCode
fi
}
# Setup
cd "${TOP}"
mkdir -p dist/Debug/${PLATFORM}/package
rm -rf ${TMPDIR}
mkdir -p ${TMPDIR}
# Copy files and create directories and links
cd "${TOP}"
makeDirectory ${TMPDIR}/vcmiserver/bin
copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
# Generate tar file
cd "${TOP}"
rm -f dist/Debug/${PLATFORM}/package/vcmiserver.tar
cd ${TMPDIR}
tar -vcf ../../../../dist/Debug/${PLATFORM}/package/vcmiserver.tar *
checkReturnCode
# Cleanup
cd "${TOP}"
rm -rf ${TMPDIR}

View File

@ -0,0 +1,72 @@
#!/bin/bash -x
#
# Generated - do not edit!
#
# Macros
TOP=`pwd`
PLATFORM=GNU-Linux-x86
TMPDIR=build/Release/${PLATFORM}/tmp-packaging
TMPDIRNAME=tmp-packaging
OUTPUT_PATH=dist/Release/${PLATFORM}/vcmi_server
OUTPUT_BASENAME=vcmi_server
PACKAGE_TOP_DIR=vcmiserver/
# Functions
function checkReturnCode
{
rc=$?
if [ $rc != 0 ]
then
exit $rc
fi
}
function makeDirectory
# $1 directory path
# $2 permission (optional)
{
mkdir -p "$1"
checkReturnCode
if [ "$2" != "" ]
then
chmod $2 "$1"
checkReturnCode
fi
}
function copyFileToTmpDir
# $1 from-file path
# $2 to-file path
# $3 permission
{
cp "$1" "$2"
checkReturnCode
if [ "$3" != "" ]
then
chmod $3 "$2"
checkReturnCode
fi
}
# Setup
cd "${TOP}"
mkdir -p dist/Release/${PLATFORM}/package
rm -rf ${TMPDIR}
mkdir -p ${TMPDIR}
# Copy files and create directories and links
cd "${TOP}"
makeDirectory ${TMPDIR}/vcmiserver/bin
copyFileToTmpDir "${OUTPUT_PATH}" "${TMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755
# Generate tar file
cd "${TOP}"
rm -f dist/Release/${PLATFORM}/package/vcmiserver.tar
cd ${TMPDIR}
tar -vcf ../../../../dist/Release/${PLATFORM}/package/vcmiserver.tar *
checkReturnCode
# Cleanup
cd "${TOP}"
rm -rf ${TMPDIR}

View File

@ -0,0 +1,155 @@
<?xml version="1.0" encoding="UTF-8"?>
<configurationDescriptor version="51">
<logicalFolder name="root" displayName="root" projectFiles="true">
<logicalFolder name="HeaderFiles"
displayName="Header Files"
projectFiles="true">
<itemPath>../CGameHandler.h</itemPath>
<itemPath>../../hch/CLodHandler.h</itemPath>
<itemPath>../../CLua.h</itemPath>
<itemPath>../CScriptCallback.h</itemPath>
<itemPath>../CVCMIServer.h</itemPath>
</logicalFolder>
<logicalFolder name="ResourceFiles"
displayName="Resource Files"
projectFiles="true">
</logicalFolder>
<logicalFolder name="SourceFiles"
displayName="Source Files"
projectFiles="true">
<itemPath>../CGameHandler.cpp</itemPath>
<itemPath>../../hch/CLodHandler.cpp</itemPath>
<itemPath>../../CLua.cpp</itemPath>
<itemPath>../CScriptCallback.cpp</itemPath>
<itemPath>../CVCMIServer.cpp</itemPath>
</logicalFolder>
<logicalFolder name="ExternalFiles"
displayName="Important Files"
projectFiles="false">
<itemPath>Makefile</itemPath>
</logicalFolder>
</logicalFolder>
<sourceRootList>
<Elem>..</Elem>
</sourceRootList>
<projectmakefile>Makefile</projectmakefile>
<confs>
<conf name="Debug" type="1">
<toolsSet>
<developmentServer>localhost</developmentServer>
<compilerSet>GNU|GNU</compilerSet>
<platform>2</platform>
</toolsSet>
<compileType>
<ccCompilerTool>
<includeDirectories>
<directoryPath>../../../../boost/include/boost-1_37</directoryPath>
<directoryPath>../..</directoryPath>
</includeDirectories>
</ccCompilerTool>
<linkerTool>
<linkerAddLib>
<directoryPath>../../../../boost/lib</directoryPath>
</linkerAddLib>
<linkerLibItems>
<linkerLibProjectItem>
<makeArtifact PL="../../lib/vcmi_lib"
CT="2"
CN="Debug"
AC="true"
BL="true"
WD="../../lib/vcmi_lib"
BC="${MAKE} -f Makefile-nb CONF=Debug"
CC="${MAKE} -f Makefile-nb CONF=Debug clean"
OP="dist/Debug/GNU-Linux-x86/libvcmi_lib.so">
</makeArtifact>
</linkerLibProjectItem>
</linkerLibItems>
<commandLine>-lboost_system-gcc43-mt-1_37 -lboost_thread-gcc43-mt-1_37 -lboost_filesystem-gcc43-mt-1_37 -lz</commandLine>
</linkerTool>
</compileType>
<item path="../../CLua.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CLua.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CLodHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CLodHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../CGameHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../CGameHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../CScriptCallback.cpp">
<itemTool>1</itemTool>
</item>
<item path="../CScriptCallback.h">
<itemTool>3</itemTool>
</item>
<item path="../CVCMIServer.cpp">
<itemTool>1</itemTool>
</item>
<item path="../CVCMIServer.h">
<itemTool>3</itemTool>
</item>
</conf>
<conf name="Release" type="1">
<toolsSet>
<developmentServer>localhost</developmentServer>
<compilerSet>GNU|GNU</compilerSet>
<platform>2</platform>
</toolsSet>
<compileType>
<cCompilerTool>
<developmentMode>5</developmentMode>
</cCompilerTool>
<ccCompilerTool>
<developmentMode>5</developmentMode>
</ccCompilerTool>
<fortranCompilerTool>
<developmentMode>5</developmentMode>
</fortranCompilerTool>
<linkerTool>
<linkerLibItems>
</linkerLibItems>
</linkerTool>
</compileType>
<item path="../../CLua.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../CLua.h">
<itemTool>3</itemTool>
</item>
<item path="../../hch/CLodHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../../hch/CLodHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../CGameHandler.cpp">
<itemTool>1</itemTool>
</item>
<item path="../CGameHandler.h">
<itemTool>3</itemTool>
</item>
<item path="../CScriptCallback.cpp">
<itemTool>1</itemTool>
</item>
<item path="../CScriptCallback.h">
<itemTool>3</itemTool>
</item>
<item path="../CVCMIServer.cpp">
<itemTool>1</itemTool>
</item>
<item path="../CVCMIServer.h">
<itemTool>3</itemTool>
</item>
</conf>
</confs>
</configurationDescriptor>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://www.netbeans.org/ns/project/1">
<type>org.netbeans.modules.cnd.makeproject</type>
<configuration>
<data xmlns="http://www.netbeans.org/ns/make-project/1">
<name>vcmi_server</name>
<make-project-type>0</make-project-type>
<c-extensions/>
<cpp-extensions>cpp</cpp-extensions>
<header-extensions>h</header-extensions>
<sourceEncoding>UTF-8</sourceEncoding>
<make-dep-projects>
<make-dep-project>../../lib/vcmi_lib</make-dep-project>
</make-dep-projects>
</data>
</configuration>
</project>