aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 5a683e83a1d16021f19d8812d68cd90cbb3216b2 (plain) (blame)
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
GCLIBTGZ=gc6.1alpha2.tar.gz

all: XXMakefile
	$(MAKE) -f XXMakefile 

install: XXMakefile
	$(MAKE) -f XXMakefile install

install-core: XXMakefile
	$(MAKE) -f XXMakefile install-core

install-helpfile: XXMakefile
	$(MAKE) -f XXMakefile install-helpfile

install-scripts: XXMakefile
	$(MAKE) -f XXMakefile install-scripts

uninstall: XXMakefile
	$(MAKE) -f XXMakefile uninstall

proto: XXMakefile
	$(MAKE) -f XXMakefile proto

clean: XXMakefile
	$(MAKE) -f XXMakefile clean

sweep: XXMakefile
	$(MAKE) -f XXMakefile sweep

veryclean: clean sweep
	rm XXMakefile
	(cd gc; $(MAKE) clean)
	rm -f config.param
	rm -f */*~ */*.orig */*.rej

prepare:
	rm -rf gc
	gzip -dc ../$(GCLIBTGZ) | tar xvf -
#	cp XMakefile.dist XMakefile

dist: XXMakefile
	$(MAKE) -f XXMakefile dist

bindist: XXMakefile
	$(MAKE) -f XXMakefile bindist

indent:
	mv -f config.h config.h-
#	indent -orig -nce -ncdb -i4 -di1 -nbc *.c *.h
	indent -orig -nce -ncdb -i4 -di1 -nbc -l79 -ncs -npcs -nfca -ss \
	   -TAnchor -TAnchorList -TBuffer -TBufferPoint -TBreakpoint \
	   -TDirectory \
	   -TFuncList -TKeyListItem -TKeyList \
	   -TFormList -TFormItemList \
	   -TFormSelectOption -TFormSelectOptionItem \
	   -THist -THistItem -THistList \
	   -THmarkerList -THRequest \
	   -TLine -TLineprop -TLinecolor \
	   -TListItem -TGeneralList -TTextListItem -TTextList \
	   -TMapList -TMatrix \
	   -TMenu -TMenuItem -TMenuList \
	   -TParsedURL \
	   -TRegex \
	   -TStr -TStreamBuffer \
	   -TBaseStream -TFileStream -TStrStream -TSSLStream \
	   -TEncodedStrStream -TInputStream \
	   -TTagAttrInfo \
	   -Ttable_attr \
	   -TTextLine -TTextLineList -TTextLineListItem \
	   -TURLOption -TURLFile \
	   -TVector \
	   *.c *.h
	mv -f config.h- config.h

XXMakefile: XMakefile config.h
	awk '/^#ifdef makefile_parameter/,/^#else/' config.h | cat - XMakefile > XXMakefile