1#ifndef XCOMM 2#define XCOMM # 3#endif 4 5XCOMM 6XCOMM Fig2dev Driver Library Makefile 7XCOMM 8XCOMM Copyright (c) 1994 Micah Beck 9XCOMM Parts Copyright (c) 1995-1999 Micah Beck 10XCOMM Parts Copyright (c) 1995-2002 by Brian V. Smith 11XCOMM 12XCOMM Any party obtaining a copy of these files is granted, free of charge, a 13XCOMM full and unrestricted irrevocable, world-wide, paid up, royalty-free, 14XCOMM nonexclusive right and license to deal in this software and 15XCOMM documentation files (the "Software"), including without limitation the 16XCOMM rights to use, copy, modify, merge, publish and/or distribute copies of 17XCOMM the Software, and to permit persons who receive copies from any such 18XCOMM party to do so, with the only requirement being that this copyright 19XCOMM notice remain intact. 20 21INCLUDES = -I.. -I../.. 22 23#ifdef USE_PNG 24READPNGS=readpng.c 25READPNGO=readpng.o 26DEPEND_DEFINES=-I${LOCALBASE}/include DependDefines 27#endif 28 29#ifdef USE_XPM 30READXPMS=readxpm.c 31READXPMO=readxpm.o 32#endif 33 34SRCS = genbox.c gencgm.c gendxf.c genepic.c gengbx.o genibmgl.c genlatex.c genmap.c genmf.c genpic.c \ 35 genpictex.c genps.c genpdf.c genpstex.c genpstricks.c gentextyl.c gentk.c genptk.c gentpic.c \ 36 genbitmaps.c genge.c genmp.c genemf.c gensvg.c genshape.c setfigfont.c psencode.c \ 37 readpics.c readeps.c readgif.c readpcx.c readppm.c readpng.c readxpm.c \ 38 readxbm.c readtif.c readjpg.c asc85ec.c $(READPNGS) $(READXPMS) 39LIBOBJS = genbox.o gencgm.o gendxf.o genepic.o gengbx.o genibmgl.o genlatex.o genmap.o genmf.o genpic.o \ 40 genpictex.o genps.o genpdf.o genpstex.o genpstricks.o gentextyl.o gentk.o genptk.o gentpic.o \ 41 genbitmaps.o genge.o genmp.o genemf.o gensvg.o genshape.o setfigfont.o psencode.o \ 42 readpics.o readeps.o readgif.o readpcx.o readppm.o readpng.o readxpm.o \ 43 readxbm.o readtif.o readjpg.o asc85ec.o $(READPNGO) $(READXPMO) 44 45LIB = transfig 46 47SpecialObjectRule(genps.o, genps.c ../../patchlevel.h, ) 48SpecialObjectRule(genmf.o, genmf.c ../../patchlevel.h, ) 49SpecialObjectRule(genemf.o, genemf.c genemf.h, ) 50 51NormalLibraryTarget($(LIB),$(LIBOBJS)) 52DependTarget() 53 54#ifdef I18N 55install:: 56 InstallNonExecFile(japanese.ps,FIG2DEV_LIBDIR) 57 ( cd $(DESTDIR)FIG2DEV_LIBDIR; \ 58 rm -f ja.ps ja_JP.ps ja_JP.ujis.ps ja_JP.eucJP.ps ja_JP.EUC.ps; \ 59 $(LN) japanese.ps ja.ps; $(LN) japanese.ps ja_JP.ps; \ 60 $(LN) japanese.ps ja_JP.ujis.ps; $(LN) japanese.ps ja_JP.eucJP.ps; \ 61 $(LN) japanese.ps ja_JP.EUC.ps ) 62 InstallNonExecFile(korean.ps,FIG2DEV_LIBDIR) 63 ( cd $(DESTDIR)FIG2DEV_LIBDIR; \ 64 rm -f ko.ps ko_KR.ps ko_KR.eucKR.ps ko_KR.EUC.ps; \ 65 $(LN) korean.ps ko.ps; $(LN) korean.ps ko_KR.ps; \ 66 $(LN) korean.ps ko_KR.eucKR.ps; $(LN) korean.ps ko_KR.EUC.ps ) 67 InstallNonExecFile(cs_CZ.ps,FIG2DEV_LIBDIR) 68 ( cd $(DESTDIR)FIG2DEV_LIBDIR; \ 69 rm -f hr_HR.ps hu_HU.ps pl_PL.ps ro_RO.ps sk_SK.ps sl_SI.ps; \ 70 $(LN) cs_CZ.ps hr_HR.ps; $(LN) cs_CZ.ps hu_HU.ps; \ 71 $(LN) cs_CZ.ps ro_RO.ps; $(LN) cs_CZ.ps pl_PL.ps; \ 72 $(LN) cs_CZ.ps sk_SK.ps; $(LN) cs_CZ.ps sl_SI.ps ) 73#endif 74 75