diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-02 13:18:14 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-05-02 13:18:14 +0000 |
commit | 2ba98f9a00f1b34455b12ef44c361154b48000c6 (patch) | |
tree | 5dd3ffba80490ec11a173f38f8a8f52277ac4509 /Build/source/texk/ttf2pk2/Makefile.dm | |
parent | 9b5f1f3915e6c11001ef9c48efd372e93cbf7ab3 (diff) |
Add texk/ttf2pk2 (ttf2pk-frretype2), at the moment not built by default
git-svn-id: svn://tug.org/texlive/trunk@22282 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/ttf2pk2/Makefile.dm')
-rw-r--r-- | Build/source/texk/ttf2pk2/Makefile.dm | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Build/source/texk/ttf2pk2/Makefile.dm b/Build/source/texk/ttf2pk2/Makefile.dm new file mode 100644 index 00000000000..87d124ac2b2 --- /dev/null +++ b/Build/source/texk/ttf2pk2/Makefile.dm @@ -0,0 +1,71 @@ +# Makefile for ttf2pk -- loyer@enst.fr, wl@gnu.org +# +# This Makefile assumes that you've already built and installed +# the FreeType library. +# +# It builds the ttf2pk and ttf2tfm for emx-gcc. +# +# You will need dmake. +# +# Use this file while with the following statement: +# +# dmake -r -f Makefile.dm + + +.IMPORT: COMSPEC +SHELL := $(COMSPEC) +SHELLFLAGS := /c +GROUPSHELL := $(SHELL) +GROUPFLAGS := $(SHELLFLAGS) +GROUPSUFFIX := .bat +SHELLMETAS := *"?<>&| + +CC = gcc +LIBDIR = ../../libs/freetype/lib +INCDIR = -I$(LIBDIR) -I. + +# CFLAGS = -Wall -O2 -g $(INCDIR) -fbounds-checking -DHAVE_EMTEXDIR -DMSDOS +CFLAGS = -Wall -O2 -s $(INCDIR) -DHAVE_EMTEXDIR -DMSDOS + +SRC = case.c emdir.c emtexdir.c errormsg.c filesrch.c ligkern.c newobj.c \ + parse.c pklib.c subfont.c texenc.c tfmaux.c ttf2pk.c ttf2tfm.c \ + ttfaux.c ttfenc.c ttflib.c vplaux.c + +ttf2pkobjs = emdir.o emtexdir.o errormsg.o filesrch.o ligkern.o newobj.o \ + parse.o pklib.o subfont.o texenc.o ttf2pk.o ttfenc.o ttflib.o +ttf2tfmobjs = case.o emdir.o emtexdir.o errormsg.o filesrch.o ligkern.o \ + newobj.o parse.o subfont.o texenc.o tfmaux.o ttf2tfm.o \ + ttfaux.o ttfenc.o vplaux.o + + +%.o: %.c + $(CC) $(CFLAGS) -c -o $@ $< + +%.exe: + $(CC) $(CFLAGS) -o $@ @$(mktmp $(&:t"\n")\n) + + +PROGRAMS = ttf2pk.exe ttf2tfm.exe + +.PHONY: all clean distclean + + +all: $(PROGRAMS) + +ttf2pk.exe: $(ttf2pkobjs) $(LIBDIR)/libttf.a +ttf2tfm.exe: $(ttf2tfmobjs) $(LIBDIR)/libttf.a + + +clean: +-[ + del *.o +] + +distclean: clean +-[ + del dep.end + del *.exe + del core +] + +#end of Makefile.dm |