forked from pmattes/x3270
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.aux
132 lines (123 loc) · 4.65 KB
/
Makefile.aux
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Copyright (c) 2015-2017 Paul Mattes.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Paul Mattes nor his contributors may be used
# to endorse or promote products derived from this software without
# specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
# NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Top-level auxiliary Makefile for suite3270.
all:
@echo "Must pick a specific make target."
@false
FORCE:
src.tgz: prepare man Webpage program-src
./mktar.sh
prepare: configure
configure: configure.in
autoconf
prepare: lib-prepare c3270-prepare s3270-prepare b3270-prepare tcl3270-prepare x3270-prepare pr3287-prepare x3270if-prepare mitm-prepare Webpage-prepare
lib-prepare:
cd lib && $(MAKE) -f Makefile.aux prepare
c3270-prepare:
cd c3270 && $(MAKE) -f Makefile.aux prepare
s3270-prepare:
cd s3270 && $(MAKE) -f Makefile.aux prepare
b3270-prepare:
cd b3270 && $(MAKE) -f Makefile.aux prepare
tcl3270-prepare:
cd tcl3270 && $(MAKE) -f Makefile.aux prepare
x3270-prepare:
cd x3270 && $(MAKE) -f Makefile.aux prepare
pr3287-prepare:
cd pr3287 && $(MAKE) -f Makefile.aux prepare
x3270if-prepare:
cd x3270if && $(MAKE) -f Makefile.aux prepare
mitm-prepare:
cd mitm && $(MAKE) -f Makefile.aux prepare
Webpage-prepare:
cd Webpage && $(MAKE) -f Makefile.aux prepare
man: prepare
man: c3270-man s3270-man b3270-man tcl3270-man x3270-man pr3287-man x3270if-man mitm-man wc3270-man ws3270-man wb3270-man wpr3287-man wx3270if-man wmitm-man
c3270-man:
cd c3270 && $(MAKE) -f Makefile.aux man
s3270-man:
cd s3270 && $(MAKE) -f Makefile.aux man
b3270-man:
cd b3270 && $(MAKE) -f Makefile.aux man
tcl3270-man:
cd tcl3270 && $(MAKE) -f Makefile.aux man
x3270-man:
cd x3270 && $(MAKE) -f Makefile.aux man
pr3287-man:
cd pr3287 && $(MAKE) -f Makefile.aux man
x3270if-man:
cd x3270if && $(MAKE) -f Makefile.aux man
mitm-man:
cd mitm && $(MAKE) -f Makefile.aux man
wc3270-man:
cd wc3270 && $(MAKE) -f Makefile.aux man
ws3270-man:
cd ws3270 && $(MAKE) -f Makefile.aux man
wb3270-man:
cd wb3270 && $(MAKE) -f Makefile.aux man
wpr3287-man:
cd wpr3287 && $(MAKE) -f Makefile.aux man
wx3270if-man:
cd wx3270if && $(MAKE) -f Makefile.aux man
wmitm-man:
cd wmitm && $(MAKE) -f Makefile.aux man
Webpage: program-src man FORCE
cd Webpage && $(MAKE)
program-src: c3270-src.tgz s3270-src.tgz b3270-src.tgz tcl3270-src.tgz x3270-src.tgz pr3287-src.tgz x3270if-src.tgz mitm-src.tgz wc3270-src.tgz ws3270-src.tgz wb3270-src.tgz wpr3287-src.tgz wx3270if-src.tgz wmitm-src.tgz lib-src.tgz
lib-src.tgz:
cd lib && $(MAKE) -f Makefile.aux src.tgz
c3270-src.tgz:
cd c3270 && $(MAKE) -f Makefile.aux src.tgz
s3270-src.tgz:
cd s3270 && $(MAKE) -f Makefile.aux src.tgz
b3270-src.tgz:
cd b3270 && $(MAKE) -f Makefile.aux src.tgz
tcl3270-src.tgz:
cd tcl3270 && $(MAKE) -f Makefile.aux src.tgz
x3270-src.tgz:
cd x3270 && $(MAKE) -f Makefile.aux src.tgz
pr3287-src.tgz:
cd pr3287 && $(MAKE) -f Makefile.aux src.tgz
x3270if-src.tgz:
cd x3270if && $(MAKE) -f Makefile.aux src.tgz
mitm-src.tgz:
cd mitm && $(MAKE) -f Makefile.aux src.tgz
wc3270-src.tgz:
cd wc3270 && $(MAKE) -f Makefile.aux src.tgz
ws3270-src.tgz:
cd ws3270 && $(MAKE) -f Makefile.aux src.tgz
wb3270-src.tgz:
cd wb3270 && $(MAKE) -f Makefile.aux src.tgz
wpr3287-src.tgz:
cd wpr3287 && $(MAKE) -f Makefile.aux src.tgz
wx3270if-src.tgz:
cd wx3270if && $(MAKE) -f Makefile.aux src.tgz
wmitm-src.tgz:
cd wmitm && $(MAKE) -f Makefile.aux src.tgz
# Target for building the Inno Setup .exe file and the .zip file.
windows-release: man
$(MAKE) windows
cd wc3270 && $(MAKE) -f Makefile.aux $@