aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in32
1 files changed, 26 insertions, 6 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 9822f55c..5a399c07 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -321,14 +321,21 @@ DIST_SUBDIRS = \
driver etc graph hyper \
include input interp lib \
lisp scripts share sman \
- testsuite utils
+ testsuite utils io
subdirs = \
algebra boot clef doc driver \
etc graph hyper input interp \
- lib lisp share sman utils
+ lib io lisp share sman utils
oa_targetdir = $(top_builddir)/$(target)
+oa_incdir = $(oa_targetdir)/include/open-axiom
+oa_src_include_headers = \
+ defaults.H \
+ structure.H \
+ iterator.H \
+ Input.H
+
@OA_BUILD_SMAN_TRUE@OA_SMAN_TARGETS = all-sman all-clef
@OA_BUILD_GRAPHICS_TRUE@OA_GRAPHICS_GRAPH_TARGET = all-graph
@OA_BUILD_GUI_TRUE@OA_GRAPHICS_GUI_TARGET = all-gui
@@ -706,8 +713,8 @@ uninstall-am:
all-local: all-src
-.PHONY: all-src $(OA_GRAPHICS_TARGETS)
-all-src: all-lib all-utils all-driver all-lisp all-boot \
+.PHONY: all-src all-io all-headers $(OA_GRAPHICS_TARGETS)
+all-src: all-lib all-utils all-driver all-lisp all-boot all-io \
all-interpsys all-algebra all-axiomsys all-share \
all-asq all-input all-doc $(OA_SMAN_TARGETS) $(OA_GRAPHICS_TARGETS)
@@ -729,16 +736,19 @@ all-driver: all-utils all-lib
all-utils: stamp-subdirs
cd utils && $(MAKE) $(AM_MAKEFLAGS) $@
+all-io: all-headers
+ cd io && $(MAKE) $(AM_MAKEFLAGS) $@
+
all-clef: all-lib
cd clef && $(MAKE) $(AM_MAKEFLAGS) $@
all-sman: all-lib all-driver
cd sman && $(MAKE) $(AM_MAKEFLAGS) $@
-all-gui: all-driver
+all-gui: all-driver all-io
cd gui && $(MAKE) $(AM_MAKEFLAGS)
-all-hyper: all-lib
+all-hyper: all-lib all-io
cd hyper && $(MAKE) $(AM_MAKEFLAGS) $@
all-share:
@@ -795,11 +805,21 @@ all-hyper-post: all-algebra all-doc
all-graph: all-lib all-utils
cd graph && $(MAKE) $(AM_MAKEFLAGS) $@
+.PHONY: all-headers
+all-headers: $(patsubst %.H,$(oa_incdir)/%,$(oa_src_include_headers))
+
+$(oa_incdir)/%: $(srcdir)/include/%.H | $(oa_incdir)
+ $(RM) $@ && cp -p $< $@
+
+$(oa_incdir):
+ $(MKDIR_P) $@
+
.PHONY: all-check
all-check:
cd input && $(MAKE) $(AM_MAKEFLAGS) all-check
mostlyclean-local:
+ rm -fr $(oa_incdir)
for d in $(subdirs); do \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) mostlyclean); \
done