blob: 2c87be7f248948b2807530099f2dc3679ae026c6 (
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
|
################################################################################
#
# Makefile : Md5
# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <03/07/22 05:14:54 popineau>
#
################################################################################
root_srcdir=..\..
!ifdef DEVELOPMENT
INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
!else
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
!endif
USE_MD5 = 1
MAKE_MD5 = 1
USE_GNUW32 = 1
!include <msvc/common.mak>
programs = $(md5dll)
libfiles = $(md5lib)
includefiles = md5.h
manfiles =
objects = \
$(objdir)\md5.obj
default: all
all: $(objdir) $(md5) $(programs)
lib: $(objdir) $(md5)
!ifdef MD5_DLL
DEFS = $(DEFS) -DMAKE_MD5_DLL
md5def = $(library_prefix)md5.def
$(md5def): md5.def
sed -e "/^NAME/s/^.*$$/NAME $(library_prefix)md5.dll/" < $(**) > $@
$(md5lib): $(md5def) $(objects)
$(archive) /DEF $(objects)
$(md5dll): $(objects) $(objdir)\md5.res $(gnuw32lib)
$(link_dll) $(objects) $(md5lib:.lib=.exp) $(objdir)\md5.res $(conlibs) $(gnuw32lib)
!else
$(md5lib): $(objects)
$(archive) $(objects)
!endif
!include <msvc/config.mak>
!include <msvc/install.mak>
install:: install-exec install-lib install-include
!include <msvc/clean.mak>
!include <msvc/rdepend.mak>
!include "./depend.mak"
#
# Local Variables:
# mode: makefile
# End:
|