aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
blob: 55dfe1b09fac841e7d43763fe9c11bb7cd838a55 (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
#
# Top level project Makefile for "speak".
# $ProjectHeader: speak 0.4 Mon, 24 Mar 1997 12:25:37 -0500 dyfet $
# Copyright (c) 1997 by Tycho Softworks.
#
# Targets:
#	[none]		default as 'make all'
#	[all]		create config if missing, then build all
#	[install]	build and install spo server and utils
#	[dist]		create distribution archive
#	[web]		build online (web) published distribution
#	[clean]		clean up a build
#	[config]	build initial configuration
#	[reconfig]	rebuild changed configuration
#	[diag]		send diagnostic e-mail
#	[get] and [put]	replicate source tree

# Insert any default configuration values in CONFIGURE. 

CONFIGURE=

# Internal use for source tree replication

SOURCES = /mnt/share/source/shared/speak
EXCLUDE = --exclude Makefile --exclude config.cache
RSYNC	= rsync -auSC $(EXCLUDE) 

all:	config
	@cd sdk/std ; make
	@cd sdk/dev ; make
	@cd sdk/net ; make
	@cd sdk/other ; make
	@cd sdk/proc ; make
	@cd spo256 ; make
	@cd utils ; make

get:
	$(RSYNC) $(SOURCES)/* .
	./config

put:
	$(RSYNC) * $(SOURCES)

install:
	@cd spo256 ; make install
	@cd utils ; make install

dist:
	@cp -f /etc/speak.conf spo256
	@sdk/bin/dist $(DISTDIR)

web:
	@sdk/bin/disthtml $(HTMLDIR) $(MANDIR)

clean:
	@cd sdk/std ; make clean
	@cd sdk/net ; make clean
	@cd sdk/dev ; make clean
	@cd sdk/other ; make clean
	@cd sdk/proc ; make clean
	@cd spo256 ; make clean
	@cd utils ; make clean
	@build/clean

config:
	@echo "Creating Speak Project Configuration ---"
	@sdk/bin/config
	
reconfig:
	-@rm config.cache
	@sdk/bin/config

diag:
	@sdk/bin/diag | mail -s "Speak Diagnostic Report" dyfet@tycho.com