summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk/win32.mak
blob: 58ba12f6c494244c3d0666cb145ff568aa72a361 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
################################################################################
#
# Makefile  : Ttf2pk
# Author    : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform  : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <02/03/13 16:35:14 popineau>
#
################################################################################
root_srcdir = ..\..
!ifdef DEVELOPMENT
INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
!else
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
!endif

USE_GNUW32 = 1
USE_KPATHSEA = 1
USE_TTF = 1

version = 1.2

!include <msvc/common.mak>

DEFS = $(DEFS) -DHAVE_LIBKPATHSEA

manfiles = ttf2tfm.1 ttf2pk.1

ttf2pkobjs = $(objdir)\errormsg.obj $(objdir)\filesrch.obj                  \
	$(objdir)\ligkern.obj $(objdir)\newobj.obj $(objdir)\parse.obj      \
	$(objdir)\pklib.obj $(objdir)\subfont.obj $(objdir)\texenc.obj      \
	$(objdir)\ttf2pk.obj $(objdir)\ttfenc.obj $(objdir)\ttflib.obj
ttf2tfmobjs = $(objdir)\case.obj $(objdir)\errormsg.obj                     \
	$(objdir)\filesrch.obj $(objdir)\ligkern.obj $(objdir)\newobj.obj   \
	$(objdir)\parse.obj $(objdir)\subfont.obj $(objdir)\texenc.obj      \
	$(objdir)\tfmaux.obj $(objdir)\ttf2tfm.obj $(objdir)\ttfaux.obj     \
	$(objdir)\ttfenc.obj $(objdir)\vplaux.obj

programs = $(objdir)\ttf2tfm.exe $(objdir)\ttf2pk.exe

default: all

all: $(objdir) $(programs)

$(objdir)\ttf2tfm.exe: $(ttf2tfmobjs) $(ttflib) $(kpathsealib)
	$(link) $(**) $(conlibs)

$(objdir)\ttf2pk.exe: $(ttf2pkobjs) $(ttflib) $(kpathsealib)
	$(link) $(**) $(conlibs)

!include <msvc/config.mak>

installdirs = $(texmf)\ttf2pk

!include <msvc/install.mak>

install:: install-exec install-data install-man

install-data::
	-@echo $(verbose) & ( \
		$(copydir) data\* $(texmf)\ttf2pk $(redir_stdout) \
	)

!include <msvc/clean.mak>
!include <msvc/rdepend.mak>
!include "./depend.mak"

#  
# Local variables:
# page-delimiter: "^# \f"
# mode: Makefile
# End: