From 088873fbc7f92c3d8d582f29eb44e39a136e944d Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sat, 29 Oct 2022 15:05:40 +0200 Subject: Remove old build system --- src/graph/Gdraws/Makefile.in | 105 ---------------------------------------- src/graph/Makefile.in | 89 ---------------------------------- src/graph/view2D/Makefile.in | 93 ----------------------------------- src/graph/view3D/Makefile.in | 97 ------------------------------------- src/graph/viewAlone/Makefile.in | 87 --------------------------------- src/graph/viewman/Makefile.in | 91 ---------------------------------- 6 files changed, 562 deletions(-) delete mode 100644 src/graph/Gdraws/Makefile.in delete mode 100644 src/graph/Makefile.in delete mode 100644 src/graph/view2D/Makefile.in delete mode 100644 src/graph/view3D/Makefile.in delete mode 100644 src/graph/viewAlone/Makefile.in delete mode 100644 src/graph/viewman/Makefile.in (limited to 'src/graph') diff --git a/src/graph/Gdraws/Makefile.in b/src/graph/Gdraws/Makefile.in deleted file mode 100644 index 22cd8b26..00000000 --- a/src/graph/Gdraws/Makefile.in +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright (C) 2007-2014, Gabriel Dos Reis. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# - Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# - Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# -# - Neither the name of The Numerical Algorithms Group Ltd. nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - - -IN= $(oa_src_srcdir)/graph/Gdraws -OUT= $(oa_target_libdir) -PS= $(oa_target_libdir)/graph -DOC= $(oa_target_docdir)/src/graph - -# local include files shared by graphics -LINC= $(oa_src_srcdir)/graph/include - -# global include files shared by everyone -GINC= $(oa_src_srcdir)/include - -# include files in Hyperdoc -HINC= $(oa_src_srcdir)/hyper - -# bitmaps for cursors -BIT= $(oa_src_srcdir)/graph/include/bitmaps - -# a .h file stuck in a really wierd place -DOTH= $(oa_src_srcdir)/graph/viewman - -# a .c file in the library subdirectory -DOTC= $(oa_src_srcdir)/lib - -AXIOM_CFLAGS = ${CXXFLAGS)} -I${LINC} -I${GINC} -I$(srcdir) -I${HINC} \ - $(oa_includes) ${AXIOM_X11_CFLAGS} - - -subdir = src/graph/Gdraws/ - -pamphlets = psFiles.pamphlet - -HEADERS = ${IN}/Gdraws0.h ${LINC}/G.h ${LINC}/Gfun.H1 \ - ${GINC}/hash.h $(oa_c_macros_h) - -PSFiles= ${PS}/colorpoly.ps ${PS}/colorwol.ps ${PS}/draw.ps \ - ${PS}/drawIstr.ps ${PS}/drawarc.ps ${PS}/drawcolor.ps \ - ${PS}/drawline.ps ${PS}/drawlines.ps ${PS}/drawpoint.ps \ - ${PS}/drawrect.ps ${PS}/drawstr.ps ${PS}/drwfilled.ps \ - ${PS}/end.ps ${PS}/fillarc.ps ${PS}/fillpoly.ps \ - ${PS}/fillwol.ps ${PS}/header.ps ${PS}/setup.ps - -.SUFFIXES: -.SUFFIXES: .c .lo .h .ps - -.PHONY: all all-ax all-Gdraws -all: all-ax -all-ax all-Gdraws: stamp - @ echo finished making $(oa_src_srcdir)/Gdraws - -.PHONY: PSfiles.post -stamp: Gfun.$(OBJEXT) $(PSfiles) - @rm -f stamp - $(STAMP) stamp - -$(PS)/%.ps: $(srcdir)/psFiles.pamphlet - $(oa_build_document) --tangle=$* --output=$@ $< - -Gfun.$(OBJEXT): ${HEADERS} - -Gfun.$(OBJEXT): $(builddir)/Gfun.c - ${COMPILE} -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $< - - -mostlyclean-local: - @rm -f Gfun.$(OBJEXT) - -clean-local: mostlyclean-local - @rm -f $(PSFiles) - -distclean-local: clean-local - diff --git a/src/graph/Makefile.in b/src/graph/Makefile.in deleted file mode 100644 index e816625d..00000000 --- a/src/graph/Makefile.in +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright (C) 2007-2014, Gabriel Dos Reis. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# - Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# - Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# -# - Neither the name of The Numerical Algorithms Group Ltd. nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -SUBDIRS = Gdraws viewman view2D view3D viewAlone - -pamphlets = fileformats.pamphlet Makefile.pamphlet - -subdir = src/graph/ - -.PHONY: all all-ax all-graph -all: all-ax - -all-ax all-graph: stamp - @ echo 24 finished ${IN} - -stamp: all-subdirs parabola/data parabola/graph0 - $(STAMP) stamp - -.PHONY: all-subdirs -all-subdirs: all-subdirs.pre all-subdirs.rest - - -.PHONY: all-PS -all-PS: all-Gdraws $(srcdir)/PS/*.ps - cp -p $(srcdir)/PS/*.ps $(oa_target_libdir)/graph/ - -.PHONY: all-subdirs.pre -all-subdirs.pre: - -rm -f stamp - $(mkdir_p) parabola - -.PHONY: all-subdirs.rest -all-subdirs.rest: all-subdirs.pre all-Gdraws all-viewman \ - all-view2D all-view3D all-viewAlone all-PS - - -all-viewman: all-Gdraws - cd viewman && ${MAKE} -all-Gdraws: - @$(mkdir_p) $(oa_target_libdir)/graph - cd Gdraws && ${MAKE} -all-view3D: all-Gdraws - cd view3D && ${MAKE} -all-view2D: all-Gdraws - cd view2D && ${MAKE} -all-viewAlone: all-Gdraws - cd viewAlone && ${MAKE} - - -parabola/data parabola/graph0: $(srcdir)/fileformats.pamphlet - $(oa_hammer) --tangle=`basename $@` --output=$@ $< - -mostlyclean-local: - -clean-local: mostlyclean-local - @rm -f parabola/data parabola/graph0 - -distclean-local: clean-local - diff --git a/src/graph/view2D/Makefile.in b/src/graph/view2D/Makefile.in deleted file mode 100644 index ae087d27..00000000 --- a/src/graph/view2D/Makefile.in +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright (C) 2007-2014, Gabriel Dos Reis. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# - Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# - Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# -# - Neither the name of The Numerical Algorithms Group Ltd. nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - -# local include files shared by graphics -LINC= $(oa_src_srcdir)/graph/include - -# global include files shared by everyone -GINC= $(oa_src_srcdir)/include - -build_libdir = $(top_builddir)/src/lib - -bin_PROGRAMS = view2D$(EXEEXT) - -view2D_SOURCES = buttons2d.c control2d.c graph2d.c main2d.c pot2d.c \ - process2d.c spadAction2d.c stuff2d.c viewport2D.c write2d.c - -view2D_objects = $(view2D_SOURCES:.c=.lo) - -Gfun_objects = ../Gdraws/Gfun.lo - -view2D_LDADD = -L$(build_libdir) -lspad -lopen-axiom-core - -view2D_DEPENDENCIES = $(Gfun_objects) - -subdir = src/graph/view2D/ - -AXIOM_CFLAGS = ${CXXFLAGS} ${AXIOM_X11_CFLAGS} -I${LINC} -I${GINC} -I$(srcdir) \ - $(oa_includes) - -GDRAW_OBJS = ../Gdraws/Gfun.lo - -HEADERS = $(srcdir)/header2.h $(srcdir)/globals2.h ${LINC}/view2D.h \ - ${LINC}/actions.h ${LINC}/viewCommand.h ${GINC}/view.h ${LINC}/G.h - -.PHONY: all all-ax all-view2D - -all: all-ax - -all-ax all-view2D: stamp - @ echo finished $(builddir) - -stamp: $(oa_target_libdir)/view2D$(EXEEXT) - @rm -f stamp - $(STAMP) stamp - -$(oa_target_libdir)/view2D$(EXEEXT): $(view2D_objects) $(view2D_DEPENDENCIES) - $(LINK) -o $@ $(view2D_objects) $(Gfun_objects) \ - $(view2D_LDADD) $(AXIOM_X11_LDFLAGS) -lm - -.PRECIOUS: %.lo - -%.$(OBJEXT): $(HEADERS) - -%.lo: $(builddir)/%.c $(oa_c_macros.h) - $(COMPILE) -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $< - -mostlyclean-local: - -clean-local: mostlyclean-local - @rm -f $(view2D_objects) - @rm -f $(oa_target_libdir)/view2D$(EXEEXT) - -distclean-local: clean-local diff --git a/src/graph/view3D/Makefile.in b/src/graph/view3D/Makefile.in deleted file mode 100644 index 50d8fcbb..00000000 --- a/src/graph/view3D/Makefile.in +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright (C) 2007-2014, Gabriel Dos Reis. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# - Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# - Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# -# - Neither the name of The Numerical Algorithms Group Ltd. nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -IN= $(oa_src_srcdir)/graph/view3D - -# local include files shared by graphics -LINC= $(oa_src_srcdir)/graph/include - -# global include files shared by everyone -GINC= $(oa_src_srcdir)/include - -# bitmaps for cursors -BIT= $(oa_src_srcdir)/graph/include/purty - -build_libdir = $(top_builddir)/src/lib - -bin_PROGRAMS = view3D$(EXEEXT) - -view3D_SOURCES = buttons3d.c closeView3d.c component3d.c control3d.c \ - illuminate3d.c lightbut3d.c lighting3d.c main3d.c \ - mesh3d.c msort3d.c pot3d.c process3d.c project3d.c \ - quitbut3d.c quit3d.c save3d.c savebut3d.c smoothShade3d.c \ - spadAction3d.c stuff3d.c surface3d.c transform3d.c \ - viewport3d.c volume3d.c write3d.c - -view3D_objects = $(addprefix $(builddir)/, $(view3D_SOURCES:.c=.lo)) - -Gfun_objects = ../Gdraws/Gfun.lo - - -view3D_LDADD = -L$(build_libdir) -lspad -lopen-axiom-core -view3D_DEPENDENCIES = $(Gfun_objects) - -subdir = src/graph/view3D/ - -AXIOM_CFLAGS = ${CXXFLAGS} ${AXIOM_X11_CFLAGS} -I${LINC} -I${GINC} -I${IN} \ - $(oa_includes) - -HEADERS = ${IN}/header.h ${IN}/globals.h \ - ${LINC}/component.h ${LINC}/view3D.h ${LINC}/tube.h \ - ${LINC}/actions.h ${LINC}/viewCommand.h \ - ${GINC}/view.h ${LINC}/G.h $(oa_c_macros.h) - -.PHONY: all all-ax all-view3D -all: all-ax -all-ax all-view3D: stamp - @echo finished $(srcdir) - -stamp: $(oa_target_libdir)/view3D$(EXEEXT) - @rm -f stamp - $(STAMP) stamp - -$(oa_target_libdir)/view3D$(EXEEXT): $(view3D_objects) $(view3D_DEPENDENCIES) - $(LINK) -o $@ $(view3D_objects) $(Gfun_objects) \ - $(view3D_LDADD) $(AXIOM_X11_LDFLAGS) -lm - -.PRECIOUS: %.lo - -%.lo: $(HEADERS) - -%.lo: %.c - $(COMPILE) -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $< - -mostly-clean: - -clean-clean: mostlyclean-clean - -distclean-local: clean-local diff --git a/src/graph/viewAlone/Makefile.in b/src/graph/viewAlone/Makefile.in deleted file mode 100644 index d87ee7d2..00000000 --- a/src/graph/viewAlone/Makefile.in +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright (C) 2007-2014, Gabriel Dos Reis. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# - Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# - Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# -# - Neither the name of The Numerical Algorithms Group Ltd. nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -# local include files shared by graphics -LINC= $(oa_src_srcdir)/graph/include - -# global include files shared by everyone -GINC= $(oa_src_srcdir)/include - -build_libdir = $(top_builddir)/src/lib - -bin_PROGRAMS = viewAlone$(EXEEXT) - -viewAlone_SOURCES = viewAlone.c spoonComp.c spoon2D.c - -viewAlone_objects = $(viewAlone_SOURCES:.c=.lo) - -viewAlone_LDADD = -L$(build_libdir) -lspad $(AXIOM_X11_LDFLAGS) $(oa_c_libs) -viewAlone_DEPENDENCIES = - -subdir = src/graph/viewAlone/ - -AXIOM_CFLAGS = ${CXXFLAGS} ${AXIOM_X11_CFLAGS} -I$(srcdir) -I${LINC} -I${GINC} \ - $(oa_includes) - -HEADERS= $(srcdir)/viewAlone.h ${LINC}/component.h ${LINC}/view2D.h \ - ${LINC}/view3D.h ${LINC}/tube.h ${LINC}/actions.h \ - ${LINC}/viewCommand.h - -.PHONY: all all-ax all-viewAlone -all: all-ax - -all-ax all-viewAlone: stamp - @echo finished $(builddir) - -stamp: $(oa_target_bindir)/viewAlone$(EXEEXT) - @rm -f stamp - $(STAMP) stamp - -$(oa_target_bindir)/viewAlone$(EXEEXT): $(viewAlone_objects) \ - $(viewAlone_DEPENDENCIES) - $(LINK) -o $@ $(viewAlone_objects) $(viewAlone_LDADD) - -.PRECIOUS: %.lo - -%.lo: $(HEADERS) - -%.lo: %.c $(oa_c_macros_h) - $(COMPILE) -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $< - -mostlyclean-local: - -clean-local: mostlyclean-local - @rm -f $(viewAlone_objects) - @rm -f $(oa_target_bindir)/viewAlone$(EXEEXT) - -distclean-local: clean-local - diff --git a/src/graph/viewman/Makefile.in b/src/graph/viewman/Makefile.in deleted file mode 100644 index 7e420909..00000000 --- a/src/graph/viewman/Makefile.in +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright (C) 2007-2014, Gabriel Dos Reis. -# All rights reserved. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: -# -# - Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# - Redistributions in binary form must reproduce the above copyright -# notice, this list of conditions and the following disclaimer in -# the documentation and/or other materials provided with the -# distribution. -# -# - Neither the name of The Numerical Algorithms Group Ltd. nor the -# names of its contributors may be used to endorse or promote products -# derived from this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS -# IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED -# TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A -# PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER -# OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, -# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR -# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF -# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - -# local include files shared by graphics -LINC= $(oa_src_srcdir)/graph/include - -# global include files shared by everyone -GINC= $(oa_src_srcdir)/include - -build_libdir = $(top_builddir)/src/lib - -bin_PROGRAMS = viewman$(EXEEXT) - -viewman_SOURCES = cleanup.c fun2D.c fun3D.c make2D.c make3D.c \ - makeGraph.c readView.c sselect.c viewman.c - -viewman_objects = $(viewman_SOURCES:.c=.lo) - -viewman_headers = $(srcdir)/viewman.h \ - $(addprefix $(oa_src_srcdir)/graph/include/,\ - component.h view2D.h view3D.h tube.h \ - actions.h viewCommand.h) \ - $(oa_src_srcdir)/include/com.h - - -viewman_DEPENDENCIES = -viewman_LDADD = -L$(build_libdir) -lspad $(AXIOM_X11_LDFLAGS) $(oa_c_libs) - -subdir = src/graph/viewman/ - -AXIOM_CFLAGS = ${CXXFLAGS} ${AXIOM_X11_CFLAGS} -I${LINC} -I${GINC} -I$(srcdir) \ - $(oa_includes) - -.PHONY: all all-ax all-viewman -all: all-ax - -all-ax all-viewman: stamp - @ echo 30 finished $(srcdir) - -stamp: $(oa_target_libdir)/viewman$(EXEEXT) - @rm -f stamp - $(STAMP) stamp - - -.PRECIOUS: %.lo - -%.lo: $(viewman_HEADERS) - -%.lo: %.c $(oa_c_macros_h) - $(COMPILE) -o $@ $(CFLAGS) $(AXIOM_CFLAGS) $< - -$(oa_target_libdir)/viewman$(EXEEXT): $(viewman_objects) $(viewman_DEPENDENCIES) - $(LINK) -o $@ $(viewman_objects) $(viewman_LDADD) - -mostlyclean-local: - -clean-local: mostlyclean-local - @rm -f $(viewman_objects) - @rm -f $(oa_target_libdir)/viewman$(EXEEXT) - -distclean-local: clean-local - -- cgit v1.2.3