From a72075a840c89d2e4db65f46359c7df9ecb2ccca Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Sat, 25 Aug 2012 22:16:08 +0200 Subject: [PATCH] Created a NetBeans project Signed-off-by: Gergely POLONKAI (W00d5t0ck) --- .gitignore | 1 + nbproject/Package-Default.bash | 75 ++++++ nbproject/configurations.xml | 402 +++++++++++++++++++++++++++++++++ nbproject/project.xml | 23 ++ 4 files changed, 501 insertions(+) create mode 100644 nbproject/Package-Default.bash create mode 100644 nbproject/configurations.xml create mode 100644 nbproject/project.xml diff --git a/.gitignore b/.gitignore index cfc38c3..87f3e1f 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ m4 create-world.sh drop-world.sh libtool +nbproject/private diff --git a/nbproject/Package-Default.bash b/nbproject/Package-Default.bash new file mode 100644 index 0000000..132537e --- /dev/null +++ b/nbproject/Package-Default.bash @@ -0,0 +1,75 @@ +#!/bin/bash -x + +# +# Generated - do not edit! +# + +# Macros +TOP=`pwd` +CND_PLATFORM=GNU-Linux-x86 +CND_CONF=Default +CND_DISTDIR=dist +CND_BUILDDIR=build +NBTMPDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}/tmp-packaging +TMPDIRNAME=tmp-packaging +OUTPUT_PATH=MissingOutputInProject +OUTPUT_BASENAME=MissingOutputInProject +PACKAGE_TOP_DIR=wmud/ + +# 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 ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package +rm -rf ${NBTMPDIR} +mkdir -p ${NBTMPDIR} + +# Copy files and create directories and links +cd "${TOP}" +makeDirectory "${NBTMPDIR}/wmud" +copyFileToTmpDir "${OUTPUT_PATH}" "${NBTMPDIR}/${PACKAGE_TOP_DIR}bin/${OUTPUT_BASENAME}" 0755 + + +# Generate tar file +cd "${TOP}" +rm -f ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/wmud.tar +cd ${NBTMPDIR} +tar -vcf ../../../../${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/package/wmud.tar * +checkReturnCode + +# Cleanup +cd "${TOP}" +rm -rf ${NBTMPDIR} diff --git a/nbproject/configurations.xml b/nbproject/configurations.xml new file mode 100644 index 0000000..a7bb736 --- /dev/null +++ b/nbproject/configurations.xml @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + gioextension.c + giomodule.c + + + + + + + + acconfig.h + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + autowiz.c + delobjs.c + listrent.c + mudpasswd.c + play2to3.c + purgeplay.c + shopconv.c + showplay.c + sign.c + split.c + wld2html.c + + act.comm.c + act.informative.c + act.item.c + act.movement.c + act.offensive.c + act.other.c + act.social.c + act.wizard.c + alias.c + ban.c + boards.c + boards.h + bsd-snprintf.c + bsd-snprintf.h + castle.c + class.c + comm.c + comm.h + config.c + constants.c + constants.h + db.c + db.h + fight.c + graph.c + handler.c + handler.h + house.c + house.h + interpreter.c + interpreter.h + limits.c + magic.c + mail.c + mail.h + mobact.c + modify.c + objsave.c + olc.c + olc.h + races.c + random.c + screen.h + shop.c + shop.h + spec_assign.c + spec_procs.c + spell_parser.c + spells.c + spells.h + structs.h + sysdep.h + telnet.h + utils.c + utils.h + weather.c + + + + + + + + configuration.c + configuration.h + db.c + db.h + game-networking.c + game-networking.h + game.c + game.h + interpreter.c + interpreter.h + main.c + main.h + maintenance.c + maintenance.h + menu.c + menu.h + players.c + players.h + texts.c + texts.h + wmud-types.h + world.c + world.h + + config.h + + + Makefile + configure + + + ^(nbproject)$ + + . + + Makefile + + + + LOCAL_SOURCES + default + + + + + + . + ${MAKE} -f Makefile + ${MAKE} -f Makefile clean + + + + /usr/lib/glib-2.0/include + /usr/include/glib-2.0 + . + + + HAVE_CONFIG_H + + + + + + + + libgiosmtp + + + PIC + + + + + + + wmud + + + WMUD_CONFDIR="/usr/local/etc" + WMUD_STATEDIR="/usr/local/var" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/nbproject/project.xml b/nbproject/project.xml new file mode 100644 index 0000000..e7ff678 --- /dev/null +++ b/nbproject/project.xml @@ -0,0 +1,23 @@ + + + org.netbeans.modules.cnd.makeproject + + + wmud + c + + h + UTF-8 + + + . + + + + Default + 0 + + + + +