summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/lib/win32.mak
blob: 44b9ef118aafe89e122e0d3df28f8b1173bfd47e (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
################################################################################
#
# Makefile  : Web2C / library
# Author    : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform  : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <02/10/26 18:58: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
USE_TEX = 1

!include <msvc/common.mak>

DEFS = -I.. $(DEFS) -DMAKE_TEX_DLL -DHAVE_CONFIG_H -DOEM \
	-DJOBTIME -DTIME_STATS \
	-DOUTPUT_DIR -DHALT_ON_ERROR

library = lib

# We don't make `texmfmp.o', since TeX, Metafont, and MetaPost need to
# use different routine names, hence they need different .o files. Maybe
# we should change this via #define's someday ...
objects = \
	$(objdir)\basechsuffix.obj	\
	$(objdir)\oem.obj		\
	$(objdir)\chartostring.obj	\
	$(objdir)\coredump.obj		\
	$(objdir)\eofeoln.obj		\
	$(objdir)\fprintreal.obj	\
	$(objdir)\inputint.obj		\
	$(objdir)\input2int.obj		\
	$(objdir)\main.obj		\
	$(objdir)\openclose.obj		\
	$(objdir)\printversion.obj	\
	$(objdir)\uexit.obj		\
	$(objdir)\usage.obj		\
	$(objdir)\version.obj		\
	$(objdir)\zround.obj

default: all

all: $(objdir) $(objdir)\$(library).lib

$(objdir)\$(library).lib: $(objects)
	$(archive) $(objects)

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

# Local Variables:
# mode: Makefile
# End: