octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

build problems


From: John W. Eaton
Subject: build problems
Date: Sat, 4 Aug 2012 18:27:15 -0400

I started to fix some build problems I noticed but I'm out of time.
If you want to look at them, I'm attaching my current patch.  It might
not not be complete.  I'm still waiting for it to compile, but I have
to go now.

The problem I was trying to solve was that without the convenience
libraries in the subdirectories, the subdirectories were not being
created, and commands to generate files in those directories was then
failing for me when doing an out of source tree build.

jwe

# HG changeset patch
# User John W. Eaton <address@hidden>
# Date 1344119005 14400
# Node ID 9537545b5e99049a2d67343b5e371e903a2553da
# Parent  d29f2583cf7b5c3a3d9c5d0f2ffe16eaeb52ff45
generate convenience libraries for new parse-tree and interpfcn subdirectories


* src/Makefile.am (liboctinterp_la_SOURCES): Include octave.cc in the
list, not $(DIST_SRC).
* src/interpfcn/module.mk (noinst_LTLIBRARIES): Add
interpfcn/libinterpfcn.la to the list.
(interpfcn_libinterpfcn_la_SOURCES): New variable.
* src/parse-tree/module.mk (noinst_LTLIBRARIES): Add
parse-tree/libparse-tree.la to the list.
(parse_tree_libparse_tree_la_SOURCES): New variable.

diff --git a/src/Makefile.am b/src/Makefile.am
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -172,7 +172,7 @@
 endif
 
 liboctinterp_la_SOURCES = \
-  $(DIST_SRC) \
+  octave.cc \
   $(OPERATORS_SRC) \
   $(TEMPLATE_INST_SRC)
 
diff --git a/src/interpfcn/module.mk b/src/interpfcn/module.mk
--- a/src/interpfcn/module.mk
+++ b/src/interpfcn/module.mk
@@ -71,3 +71,9 @@
 
 __init_fltk__.lo __init_fltk__.o: \
   AM_CXXFLAGS := $(filter-out $(DLL_CXXDEFS), $(AM_CXXFLAGS) 
$(GRAPHICS_CFLAGS))
+
+noinst_LTLIBRARIES += interpfcn/libinterpfcn.la
+
+interpfcn_libinterpfcn_la_SOURCES = \
+  $(INTERPFCN_SRC) \
+  interpfcn/graphics-props.cc
diff --git a/src/octave-value/module.mk b/src/octave-value/module.mk
--- a/src/octave-value/module.mk
+++ b/src/octave-value/module.mk
@@ -124,3 +124,6 @@
   $(OV_INTTYPE_SRC) \
   $(OV_SPARSE_SRC)
 
+noinst_LTLIBRARIES += octave-value/liboctave-value.la
+
+octave_value_liboctave_value_la_SOURCES = $(OCTAVE_VALUE_SRC)
diff --git a/src/parse-tree/module.mk b/src/parse-tree/module.mk
--- a/src/parse-tree/module.mk
+++ b/src/parse-tree/module.mk
@@ -88,3 +88,9 @@
        mv address@hidden $@
        rm -f address@hidden
 
+noinst_LTLIBRARIES += parse-tree/libparse-tree.la
+
+parse_tree_libparse_tree_la_SOURCES = \
+  $(PARSE_TREE_SRC) \
+  parse-tree/lex.cc \
+  parse-tree/oct-parse.cc

reply via email to

[Prev in Thread] Current Thread [Next in Thread]