blob: 9e79707f5deed1a8821faca6c3d34ba93423031a (
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
|
################################################################################
#
# Makefile : Web2C / Omega / Omegafonts
# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <04/01/07 11:10:43 popineau>
#
################################################################################
root_srcdir = ..\..\..
!ifdef DEVELOPMENT
INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
!else
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
!endif
USE_KPATHSEA = 1
USE_GNUW32 = 1
# These get expanded from the parent directory, not this one.
!include <msvc/common.mak>
DEFS = -I.. $(DEFS) -DHAVE_CONFIG_H
LEX_OUTPUT_ROOT = lex_yy
proglib = ..\lib\$(objdir)\lib.lib
programs = $(objdir)\omfonts.exe
linked_programs = $(objdir)\ofm2opl.exe $(objdir)\opl2ofm.exe \
$(objdir)\ovf2ovp.exe $(objdir)\ovp2ovf.exe
omfonts_objects = $(objdir)\omfonts.obj $(objdir)\y_tab.obj \
$(objdir)\$(LEX_OUTPUT_ROOT).obj $(objdir)\char_routines.obj \
$(objdir)\dimen_routines.obj $(objdir)\error_routines.obj \
$(objdir)\header_routines.obj $(objdir)\ligkern_routines.obj \
$(objdir)\list_routines.obj $(objdir)\out_routines.obj \
$(objdir)\param_routines.obj $(objdir)\print_routines.obj \
$(objdir)\font_routines.obj $(objdir)\extra_routines.obj \
$(objdir)\out_ofm.obj $(objdir)\parse_ofm.obj
all: $(objdir) $(programs)
$(objdir)\omfonts.exe: $(omfonts_objects) $(proglib) $(kpathsealib)
$(link) $(**) $(conlibs)
$(objdir)\omfonts.obj: omfonts.c y_tab.h
y_tab.c y_tab.h: pl.y
$(yacc) -d -v $(srcdir)\pl.y -o y_tab.c
$(objdir)\$(LEX_OUTPUT_ROOT).obj: parser.h
$(LEX_OUTPUT_ROOT).c: pl.l
$(lex) -t $(srcdir)\pl.l | sed "/^extern int isatty YY/d" > $(LEX_OUTPUT_ROOT).c
!include <msvc/config.mak>
!include <msvc/install.mak>
install:: install-exec
install-programs: install-exec
install-exec:: install-links
install-links: $(programs)
-@echo $(verbose) & for %%i in ($(linked_programs)) do $(copy) $(programs) $(bindir)\%%~nxi $(redir_stdout)
!include <msvc/clean.mak>
clean::
-@echo $(verbose) & ( \
for %%i in (y_tab.c y_tab.h y.output yacc.* $(LEX_OUTPUT_ROOT).c) do $(del) %%i $(redir_stderr) \
)
!include <msvc/rdepend.mak>
!include "./depend.mak"
#
# Local Variables:
# mode: makefile
# End:
|