Revision: 41598
http://brlcad.svn.sourceforge.net/brlcad/?rev=41598&view=rev
Author: r_weiss
Date: 2010-12-14 16:07:41 +0000 (Tue, 14 Dec 2010)
Log Message:
-----------
Added and made changes within 'src/libbn' to place the initial stubs into
BRLCAD for a test program (i.e. 'bntester') to test the 'libbn' library.
Updated Makefile.am, and added files 'bntester.c' and 'bntester.dat'.
Modified Paths:
--------------
brlcad/trunk/src/libbn/Makefile.am
Added Paths:
-----------
brlcad/trunk/src/libbn/bntester.c
brlcad/trunk/src/libbn/bntester.dat
Modified: brlcad/trunk/src/libbn/Makefile.am
===================================================================
--- brlcad/trunk/src/libbn/Makefile.am 2010-12-14 15:04:44 UTC (rev 41597)
+++ brlcad/trunk/src/libbn/Makefile.am 2010-12-14 16:07:41 UTC (rev 41598)
@@ -2,6 +2,8 @@
lib_LTLIBRARIES = libbn.la
noinst_LTLIBRARIES = libbn_nil.la
+noinst_PROGRAMS = bntester
+
man_MANS = libplot3.3
libbn_nil_la_SOURCES = \
@@ -41,6 +43,11 @@
libbn_nil.la \
${BN_LIBS}
+bntester_SOURCES = bntester.c
+bntester_LDADD = \
+ libbn.la \
+ ${BN_LIBS}
+
AM_CPPFLAGS = ${TCL_CPPFLAGS}
AM_CFLAGS = ${STRICT_FLAGS}
@@ -53,3 +60,12 @@
DEPENDS = src/libbu
include $(top_srcdir)/misc/Makefile.defs
+
+FAST_OBJECTS = \
+ $(libbn_nil_la_OBJECTS) \
+ $(libbn_la_OBJECTS) \
+ $(lib_LTLIBRARIES) \
+ $(noinst_LTLIBRARIES) \
+ $(bntester_OBJECTS) \
+ $(noinst_PROGRAMS)
+
Added: brlcad/trunk/src/libbn/bntester.c
===================================================================
--- brlcad/trunk/src/libbn/bntester.c (rev 0)
+++ brlcad/trunk/src/libbn/bntester.c 2010-12-14 16:07:41 UTC (rev 41598)
@@ -0,0 +1,50 @@
+/* B N T E S T E R . C
+ * BRL-CAD
+ *
+ * Copyright (c) 2004-2010 United States Government as represented by
+ * the U.S. Army Research Laboratory.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * version 2.1 as published by the Free Software Foundation.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this file; see the file named COPYING for more
+ * information.
+ */
+
+#include "common.h"
+
+#include <stdio.h>
+#include <math.h>
+#include <string.h>
+
+#include "bu.h"
+#include "vmath.h"
+#include "bn.h"
+
+
+int
+main(int argc, char **argv)
+{
+
+ bu_log("bntester\n");
+
+ exit(0);
+}
+
+/** @} */
+/*
+ * Local Variables:
+ * mode: C
+ * tab-width: 8
+ * indent-tabs-mode: t
+ * c-file-style: "stroustrup"
+ * End:
+ * ex: shiftwidth=4 tabstop=8
+ */
Property changes on: brlcad/trunk/src/libbn/bntester.c
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
Added: brlcad/trunk/src/libbn/bntester.dat
===================================================================
--- brlcad/trunk/src/libbn/bntester.dat (rev 0)
+++ brlcad/trunk/src/libbn/bntester.dat 2010-12-14 16:07:41 UTC (rev 41598)
@@ -0,0 +1 @@
+# test data for bntester
Property changes on: brlcad/trunk/src/libbn/bntester.dat
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits