blob: 3291e393bb53906a3e48d1bb152b71280442db4b (
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
################################################################################
#
# Makefile : TeXk / CJKutils / hbf2gf
# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <04/02/18 08:58:03 popineau>
#
################################################################################
root_srcdir = ..\..\..
!ifdef DEVELOPMENT
INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
!else
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
!endif
# This is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License, see the file COPYING.
USE_KPATHSEA = 1
USE_GNUW32 = 1
!include <msvc/common.mak>
#
# Files
#
programs = $(objdir)\hbf2gf.exe
objects = $(objdir)\hbf.obj $(objdir)\hbf2gf.obj
manfiles = hbf2gf.1
installdirs = $(installdirs) $(texmf)\hbf2gf
DEFS = $(DEFS) -DHAVE_LIBKPATHSEA -Dmsdos
# for FAT support, set: DEFS = -DNTFAT
.SUFFIXES: .w .c .obj .res .rc
.w.c:
..\..\web2c\$(objdir)\ctangle $*
#
# Main target
#
default: all
all: $(objdir) $(programs)
#
# Link target. setargv.obj is provided in the compiler library directory.
#
$(objdir)\hbf2gf.exe: $(objects) $(kpathsealib)
$(link) $(**) $(conlibs)
$(objdir)\hbf2gf.obj: hbf2gf.c
!include <msvc/config.mak>
installdirs = $(texmf)\hbf2gf
!include <msvc/install.mak>
install:: install-exec install-man install-data install-doc
install-data::
-@echo $(verbose) & ( \
$(copydir) /d cfg\*.* $(texmf)\hbf2gf \
)
install-doc:: hbf2gf.pdf
-@echo $(verbose) & ( \
$(copy) hbf2gf.pdf $(texmf)\doc\hbf2gf \
)
hbf2gf.tex: hbf2gf.w
-cweave hbf2gf.w
hbf2gf.pdf: hbf2gf.tex
-pdftex hbf2gf.tex
!include <msvc/clean.mak>
distclean::
-@$(del) hbf2gf.c
!include <msvc/rdepend.mak>
!include "./depend.mak"
#
# Local Variables:
# mode: makefile
# End:
|