Revision: 55091
          http://brlcad.svn.sourceforge.net/brlcad/?rev=55091&view=rev
Author:   starseeker
Date:     2013-04-09 17:20:05 +0000 (Tue, 09 Apr 2013)
Log Message:
-----------
Need autotools build for poly2tri

Modified Paths:
--------------
    brlcad/trunk/configure.ac
    brlcad/trunk/src/librt/Makefile.am
    brlcad/trunk/src/other/Makefile.am

Added Paths:
-----------
    brlcad/trunk/src/other/poly2tri/Makefile.am

Modified: brlcad/trunk/configure.ac
===================================================================
--- brlcad/trunk/configure.ac   2013-04-09 15:24:34 UTC (rev 55090)
+++ brlcad/trunk/configure.ac   2013-04-09 17:20:05 UTC (rev 55091)
@@ -2452,6 +2452,11 @@
 AC_SUBST(LIBVDS)
 AC_SUBST(LIBVDS_CPPFLAGS)
 
+LIBP2T='${top_builddir}/src/other/poly2tri/libp2t.la'
+LIBP2T_CPPFLAGS='-I${top_srcdir}/src/other/poly2tri'
+AC_SUBST(LIBP2T)
+AC_SUBST(LIBP2T_CPPFLAGS)
+
 dnl *** libz ***
 dnl See if zlib library support works
 zlib_works=no
@@ -2624,7 +2629,6 @@
 AC_SUBST(RLE)
 AC_SUBST(RLE_CPPFLAGS)
 
-
 dnl *** openNURBS ***
 dnl See if openNURBS library support works
 opennurbs_works=no
@@ -3905,7 +3909,7 @@
 ANALYZE_LIBS="${RT} ${RT_LIBS} ${BN} ${BN_LIBS} ${BU} ${BU_LIBS}"
 BU_LIBS="${LIBSTDCXX} ${TCL} ${PNG} ${LIBZ} ${LIBM} ${LIBMALLOC} ${LIBTHREAD}"
 BN_LIBS="${BU} ${BU_LIBS} ${TCL} ${LIBM}"
-RT_LIBS="${BN} ${BN_LIBS} ${BU} ${BU_LIBS} ${REGEX} ${LIBM} ${SYSV} 
${OPENNURBS} ${BREP} ${LIBVDS}"
+RT_LIBS="${BN} ${BN_LIBS} ${BU} ${BU_LIBS} ${REGEX} ${LIBM} ${SYSV} 
${OPENNURBS} ${BREP} ${LIBVDS} ${LIBP2T}"
 ICV_LIBS="{BN} ${BN_LIBS} ${BU} ${BU_LIBS}"
 GCV_LIBS="${RT} ${RT_LIBS} ${BN} ${BN_LIBS} ${BU} ${BU_LIBS}"
 GED_LIBS="${WDB} ${RT} ${RT_LIBS} ${ICV} ${BN} ${BN_LIBS} ${BU} ${BU_LIBS} 
${PNG} ${TCL} ${REGEX} ${ANALYZE}"
@@ -4202,6 +4206,7 @@
        src/other/libvds/Makefile
        src/other/libz/Makefile
        src/other/openNURBS/Makefile
+       src/other/poly2tri/Makefile
        src/other/tcl/Makefile
        src/other/tk/Makefile
        src/other/tkpng/Makefile

Modified: brlcad/trunk/src/librt/Makefile.am
===================================================================
--- brlcad/trunk/src/librt/Makefile.am  2013-04-09 15:24:34 UTC (rev 55090)
+++ brlcad/trunk/src/librt/Makefile.am  2013-04-09 17:20:05 UTC (rev 55091)
@@ -19,7 +19,8 @@
        ${REGEX_CPPFLAGS} \
        ${TCL_CPPFLAGS} \
        ${BREP_CPPFLAGS} \
-       ${LIBVDS_CPPFLAGS}
+       ${LIBVDS_CPPFLAGS} \
+        ${LIBP2T_CPPFLAGS}
 
 AM_CFLAGS = ${STD_C99_FLAGS} ${STRICT_FLAGS}
 

Modified: brlcad/trunk/src/other/Makefile.am
===================================================================
--- brlcad/trunk/src/other/Makefile.am  2013-04-09 15:24:34 UTC (rev 55090)
+++ brlcad/trunk/src/other/Makefile.am  2013-04-09 17:20:05 UTC (rev 55091)
@@ -109,6 +109,7 @@
 
 VDSDIR=libvds
 
+P2TDIR=poly2tri
 
 if ONLY_BENCHMARK
 SUBDIRS = \
@@ -117,6 +118,7 @@
        ${REGEXDIR} \
        ${TCLDIR} \
        ${OPENNURBSDIR} \
+        ${P2TDIR} \
        ${TNTDIR}
 
 else !ONLY_BENCHMARK
@@ -128,6 +130,7 @@
        ${REGEXDIR} \
        ${TCLDIR} \
        ${OPENNURBSDIR} \
+        ${P2TDIR} \
        ${TNTDIR}
 
 else !ONLY_RTS
@@ -149,6 +152,7 @@
        ${TKHTMLDIR} \
        ${TKTABLEDIR} \
        ${OPENNURBSDIR} \
+        ${P2TDIR} \
        ${TNTDIR} \
         ${VDSDIR}
 
@@ -207,6 +211,7 @@
        togl.dist \
        URToolkit.dist \
        libvds.dist \
+       poly2tri.dist \
        xmltools \
        xmltools.dist
 
@@ -221,6 +226,7 @@
        libvds \
        libz \
        openNURBS \
+       poly2tri \
        tcl \
        tk \
        tkpng \

Added: brlcad/trunk/src/other/poly2tri/Makefile.am
===================================================================
--- brlcad/trunk/src/other/poly2tri/Makefile.am                         (rev 0)
+++ brlcad/trunk/src/other/poly2tri/Makefile.am 2013-04-09 17:20:05 UTC (rev 
55091)
@@ -0,0 +1,34 @@
+
+lib_LTLIBRARIES = libp2t.la
+
+libp2t_la_SOURCES = \
+       poly2tri/common/shapes.cc \
+       poly2tri/common/utils.cc \
+       poly2tri/sweep/advancing_front.cc \
+       poly2tri/sweep/cdt.cc \
+       poly2tri/sweep/sweep_context.cc \
+       poly2tri/sweep/sweep.cc
+
+noinst_HEADERS = \
+       poly2tri/common/shapes.h \
+       poly2tri/common/utils.h \
+       poly2tri/sweep/advancing_front.h \
+       poly2tri/sweep/cdt.h \
+       poly2tri/sweep/sweep_context.h \
+       poly2tri/sweep/sweep.h
+
+include_HEADERS = \
+       poly2tri/poly2tri.h
+
+EXTRA_DIST = \
+       AUTHORS \
+       LICENSE \
+       readme.txt \
+       README.md \
+       testbed \
+       CMakeLists.txt \
+       waf \
+       wscript
+
+include $(top_srcdir)/misc/Makefile.defs
+


Property changes on: brlcad/trunk/src/other/poly2tri/Makefile.am
___________________________________________________________________
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.


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to