# Fig2dev : General Fig code translation program # # TransFig: Facility for Translating Fig code # Copyright (c) 1985 Supoj Sutantavibul # Copyright (c) 1991 Micah Beck # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation. The authors make no representations about the suitability # of this software for any purpose. It is provided "as is" without express # or implied warranty. # # THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. # # # to include drivers for the following languages, # add the corresponding symbol to the DEFINES list: # # -DEPIC -DIBMGL -DLATEX -DPIC -DPICTEX -DPS -DPSTEX -DTEXTYL -DTPIC # DEFINES = -DEPIC -DIBMGL -DLATEX -DPIC -DPICTEX -DPS -DPSTEX -DTEXTYL -DTPIC DEPLIBS = #if (defined(VaxArchitecture) && !defined(UltrixArchitecture)) || \ (defined(RtArchitecture) && !defined(AIXArchitecture)) || \ (defined(MipsArchitecture)) || defined(SequentArchitecture) || \ (defined(SunOSPlatform) && (OSMinorVersion==0)) STRSTRC= strstr.c STRSTRO= strstr.o #endif #define IHaveSubdirs #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' BINDIR = ../bin SUBDIRS = dev INCLUDES = -I.. SRCS = fig2dev.c getopt.c psfonts.c iso2tex.c \ arrow.c bound.c free.c read.c read1_3.c latex_line.c $(STRSTRC) OBJS = fig2dev.o getopt.o psfonts.o iso2tex.o \ arrow.o bound.o free.o read.o read1_3.o latex_line.o $(STRSTRO) \ dev/libtransfig.a SYS_LIBRARIES = -lm MakeSubdirs($(SUBDIRS)) DependSubdirs($(SUBDIRS)) ComplexProgramTarget(fig2dev) all:: InstallScript(fig2ps2tex,$(BINDIR)) InstallScript(pic2tpic,$(BINDIR)) InstallManPage(fig2ps2tex,$(MANDIR)) InstallManPage(pic2tpic,$(MANDIR))