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
|
thisconfigdir=./..
myfulldir=util
mydir=util
MY_SUBDIRS=et ss profile pty dyn db2 send-pr
BUILDTOP=$(REL)$(U)
MAC_SUBDIRS = profile et
editsh = sed -e 's,@''ARADD''@,$(ARADD),g' -e 's,@''ARCHIVE''@,$(ARCHIVE),g'
HOST_TYPE=@HOST_TYPE@
HAVE_GCC=@HAVE_GCC@
SLIBSH=sed -e 's,@''CC''@,$(CC),g' -e 's,@''HOST_TYPE''@,$(HOST_TYPE),g' -e 's,@''HAVE_GCC''@,$(HAVE_GCC),g'
all-recurse: libupdate makeshlib
all-mac::
NO_OUTDIR=1
all-windows::
@echo Making in util\windows
cd windows
$(MAKE) -$(MFLAGS)
@echo Making in util\et
cd ..\et
$(MAKE) -$(MFLAGS)
@echo Making in util\profile
cd ..\profile
$(MAKE) -$(MFLAGS)
cd ..
clean-windows::
@echo Making clean in util\windows
cd windows
$(MAKE) -$(MFLAGS) clean
@echo Making clean in util\et
cd ..\et
$(MAKE) -$(MFLAGS) clean
@echo Making clean in util\profile
cd ..\profile
$(MAKE) -$(MFLAGS) clean
cd ..
libupdate: $(srcdir)/libupdate.sh
$(RM) $@ $@.tmp
$(editsh) $(srcdir)/libupdate.sh > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
makeshlib: $(srcdir)/makeshlib.sh Makefile
$(RM) $@ $@.tmp
$(SLIBSH) $(srcdir)/makeshlib.sh >$@.tmp&&chmod a+x $@.tmp&&mv $@.tmp $@
clean::
$(RM) libupdate makeshlib
install::
@echo nothing to install in util
|