| 1 | # Fig2dev : General Fig code translation program |
|---|
| 2 | # |
|---|
| 3 | # TransFig: Facility for Translating Fig code |
|---|
| 4 | # Copyright (c) 1985 Supoj Sutantavibul |
|---|
| 5 | # Copyright (c) 1991 Micah Beck |
|---|
| 6 | # |
|---|
| 7 | # Permission to use, copy, modify, distribute, and sell this software and its |
|---|
| 8 | # documentation for any purpose is hereby granted without fee, provided that |
|---|
| 9 | # the above copyright notice appear in all copies and that both that |
|---|
| 10 | # copyright notice and this permission notice appear in supporting |
|---|
| 11 | # documentation. The authors make no representations about the suitability |
|---|
| 12 | # of this software for any purpose. It is provided "as is" without express |
|---|
| 13 | # or implied warranty. |
|---|
| 14 | # |
|---|
| 15 | # THE AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, |
|---|
| 16 | # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO |
|---|
| 17 | # EVENT SHALL THE AUTHORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR |
|---|
| 18 | # CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, |
|---|
| 19 | # DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER |
|---|
| 20 | # TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR |
|---|
| 21 | # PERFORMANCE OF THIS SOFTWARE. |
|---|
| 22 | # |
|---|
| 23 | # |
|---|
| 24 | # to include drivers for the following languages, |
|---|
| 25 | # add the corresponding symbol to the DEFINES list: |
|---|
| 26 | # |
|---|
| 27 | # -DEPIC -DIBMGL -DLATEX -DPIC -DPICTEX -DPS -DPSTEX -DTEXTYL -DTPIC |
|---|
| 28 | # |
|---|
| 29 | DEFINES = -DEPIC -DIBMGL -DLATEX -DPIC -DPICTEX -DPS -DPSTEX -DTEXTYL -DTPIC |
|---|
| 30 | DEPLIBS = |
|---|
| 31 | |
|---|
| 32 | #if (defined(VaxArchitecture) && !defined(UltrixArchitecture)) || \ |
|---|
| 33 | (defined(RtArchitecture) && !defined(AIXArchitecture)) || \ |
|---|
| 34 | (defined(MipsArchitecture)) || defined(SequentArchitecture) || \ |
|---|
| 35 | (defined(SunOSPlatform) && (OSMinorVersion==0)) |
|---|
| 36 | |
|---|
| 37 | STRSTRC= strstr.c |
|---|
| 38 | STRSTRO= strstr.o |
|---|
| 39 | #endif |
|---|
| 40 | |
|---|
| 41 | #define IHaveSubdirs |
|---|
| 42 | #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' |
|---|
| 43 | |
|---|
| 44 | BINDIR = ../bin |
|---|
| 45 | SUBDIRS = dev |
|---|
| 46 | |
|---|
| 47 | INCLUDES = -I.. |
|---|
| 48 | |
|---|
| 49 | SRCS = fig2dev.c getopt.c psfonts.c iso2tex.c \ |
|---|
| 50 | arrow.c bound.c free.c read.c read1_3.c latex_line.c $(STRSTRC) |
|---|
| 51 | OBJS = fig2dev.o getopt.o psfonts.o iso2tex.o \ |
|---|
| 52 | arrow.o bound.o free.o read.o read1_3.o latex_line.o $(STRSTRO) \ |
|---|
| 53 | dev/libtransfig.a |
|---|
| 54 | |
|---|
| 55 | SYS_LIBRARIES = -lm |
|---|
| 56 | |
|---|
| 57 | |
|---|
| 58 | MakeSubdirs($(SUBDIRS)) |
|---|
| 59 | DependSubdirs($(SUBDIRS)) |
|---|
| 60 | |
|---|
| 61 | ComplexProgramTarget(fig2dev) |
|---|
| 62 | |
|---|
| 63 | all:: |
|---|
| 64 | |
|---|
| 65 | InstallScript(fig2ps2tex,$(BINDIR)) |
|---|
| 66 | InstallScript(pic2tpic,$(BINDIR)) |
|---|
| 67 | |
|---|
| 68 | InstallManPage(fig2ps2tex,$(MANDIR)) |
|---|
| 69 | InstallManPage(pic2tpic,$(MANDIR)) |
|---|