aboutsummaryrefslogtreecommitdiffstats
path: root/spo256/Makefile.in
blob: 6e21ea462f4ec5ed4aa543668bd8f5a175db921f (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
#
# Template to build spo256-AL2 text-to-speech server.
# $Id: Makefile.in 1.2 Mon, 24 Mar 1997 12:25:37 -0500 dyfet $
# Copyright (c) 1997 by Tycho Softworks.
# 

OBJS	= speak.o spo.o getspo.o words.o chars.o getidx.o client.o \
	  number.o currency.o 
PROGS	= spo256
START   = 10
RUNLVLS = 3

all:		$(PROGS)

install:	$(PROGS)
	install -s -g bin $(PROGS) $(SBINDIR)
	ln -sf $(SBINDIR)/spo256 $(BINDIR)/speak
	install -g bin speak.conf $(SYSCONFDIR)
	../sdk/bin/instinit speak $(START) $(RUNLVLS)
	../sdk/bin/instsvc services speak 800/tcp \# SPO256-AL2 Text-to-Speech service
	../sdk/bin/instman $(MANDIR) 1 speak
	../sdk/bin/instman $(MANDIR) 7 speak.conf
	../sdk/bin/instman $(MANDIR) 8 spo256

clean:	
	-rm $(PROGS)
	-rm $(OBJS)

.c.o:
	$(CC) $(CFLAGS) $(OPTIMIZE) -I../sdk -o $@ -c $<

spo256:	$(OBJS)
	$(CC) $(CFLAGS) -L../sdk/lib $(LIBS) -o $@ $(OBJS) $(LIBS)