blob: 40d87a82f5a66feeeb108830db24635263e6e5ab (
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
|
################################################################################
#
# Makefile : Lacheck
# Author : Fabrice Popineau <Fabrice.Popineau@supelec.fr>
# Platform : Win32, Microsoft VC++ 6.0, depends upon fpTeX 0.5 sources
# Time-stamp: <03/06/29 11:22:39 popineau>
#
################################################################################
root_srcdir = ..\..
!ifdef DEVELOPMENT
INCLUDE=$(INCLUDE);$(root_srcdir)\texk.development
!else
INCLUDE=$(INCLUDE);$(root_srcdir)\texk
!endif
REV = 1.25
version = 1.0
USE_GNUW32 = 1
!include <msvc/common.mak>
# LEX = flex -8
LEXLIB =
LEX_OUTPUT_ROOT = lex_yy
prog_cflags = -DNeedFunctionPrototypes
program = $(objdir)\lacheck.exe
objects = $(objdir)\$(LEX_OUTPUT_ROOT).obj
manfiles = lacheck.1
programs = $(program)
default: all
all: $(objdir) $(programs)
$(program): $(objects) $(gnuw32lib)
$(link) $(**) $(conlibs)
!include <msvc/config.mak>
!include <msvc/install.mak>
install:: install-exec install-man
lacheck.1: lacheck.man
-$(sed) -e "s!%%LACHECKREV%%!Release $(REV)!" $(srcdir)/lacheck.man | \
$(sed) -e "s!%%LACHECKPATH%%!$(bindir:\=/)/lacheck!" > $@
!include <msvc/clean.mak>
clean::
-@$(del) $(LEX_OUTPUT_ROOT).c
$(LEX_OUTPUT_ROOT).c: lacheck.lex
$(lex) -t lacheck.lex | $(sed) "/^extern int isatty YY/d" > $(LEX_OUTPUT_ROOT).c
$(objdir)\$(LEX_OUTPUT_ROOT).obj: $(LEX_OUTPUT_ROOT).c
!include <msvc/rdepend.mak>
!include "./depend.mak"
#
# Local Variables:
# mode: makefile
# End:
|