blob: 6b5ae25f3e5542461f6beced1ec74f73af7e1d48 (
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
|
## $Id$
## texk/web2c/texprofdir/am/texprof.am: Makefile fragment for TeXprof
##
## Copyright 2024 Martin Ruckert <ruckert@cs.hm.edu>
## You may freely use, modify and/or distribute this file.
if TEXPROF
bin_PROGRAMS += texprof texprofile
# convenience target to build all the programs here.
texprofall: texprof texprofile
# See hitex.am for comments about handling man.
man1_MANS = texprofdir/man/texprof.man texprofdir/man/texprofile.man
endif TEXPROF
texprof_CPPFLAGS = $(AM_CPPFLAGS)
texprof_CPPFLAGS += -I$(srcdir)/libmd5
texprof_CPPFLAGS += -DINIT -DSTAT -DWEB2CVERSION="\"${WEB2CVERSION}\""
# -DDEBUG drops into an interactive debugging session.
texprof_LDADD = $(KPATHSEA_LIBS) libmd5.a
texprof_DEPENDENCIES = $(KPATHSEA_DEPEND) libmd5.a
#
texprofile_CPPFLAGS = $(AM_CPPFLAGS)
texprofile_LDADD =
texprofile_DEPENDENCIES =
#
# TeXprof CWEB sources
texprof_web = texprofdir/texprof.w
texprofile_web = texprofdir/texprofile.w
# Creating several files: need stamp file and two rules with identical recipes
texprof_ctangle_sh = CWEBINPUTS=$(srcdir)/texprofdir AM_V_P=$(AM_V_P) $(SHELL) ./tangle-sh $@ $(CTANGLE)
# For each cweb (.w) source file, list the files generated.
texprof_c = texprof.c
texprofile_c = texprofile.c
$(texprof_c): texprof-tangle
$(texprofile_c): texprofile-tangle
#
texprof-tangle: ctangle$(EXEEXT) texprofdir/texprof.w tangle-sh
$(texprof_ctangle_sh) texprof
texprofile-tangle: ctangle$(EXEEXT) texprofdir/texprofile.w tangle-sh
$(texprof_ctangle_sh) texprofile
EXTRA_DIST += texprofdir/ChangeLog $(texprof_web)
DISTCLEANFILES += $(nodist_texprof_SOURCES)
DISTCLEANFILES += texprofile-tangle texprof-tangle
## TeXprof tests
#
#texprof_tests = texprofdir/tests/hello.test \
# texprofdir/tests/rule.test
#
#texprofdir/tests/hello.log: texprof$(EXEEXT) histretch$(EXEEXT)
#texprofdir/tests/rule.log: texprof$(EXEEXT) histretch$(EXEEXT) hishrink$(EXEEXT)
#
#EXTRA_DIST += $(texprof_tests)
#
#if TEXPROF
#TESTS += $(texprof_tests)
#endif TEXPROF
#
## hello.test
#EXTRA_DIST += texprofdir/tests/hello.tex
#DISTCLEANFILES += hello.log
## rule.test
#EXTRA_DIST += texprofdir/tests/rule.tex
#DISTCLEANFILES += rule.log
# (end of texprof.am)
|