~ubuntu-branches/ubuntu/hoary/eflite/hoary

« back to all changes in this revision

Viewing changes to Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Mario Lang
  • Date: 2004-02-25 13:55:10 UTC
  • Revision ID: james.westby@ubuntu.com-20040225135510-hei3t1pv7rywewhn
Tags: upstream-0.3.8
ImportĀ upstreamĀ versionĀ 0.3.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- makefile -*-
 
2
#
 
3
# This file is automatically generated by configure.
 
4
# Do not hand edit.
 
5
 
 
6
CC       = @CC@
 
7
CFLAGS   = @CFLAGS@
 
8
CPPFLAGS = @CPPFLAGS@
 
9
DEFS     = @DEFS@
 
10
LIBS = @LIBS@
 
11
 
 
12
AUDIOLIBS   = @AUDIOLIBS@
 
13
 
 
14
FL_LANG  = @FL_LANG@
 
15
FL_VOX   = @FL_VOX@
 
16
FL_LEX   = @FL_LEX@
 
17
 
 
18
exec_prefix   = @exec_prefix@
 
19
prefix        = @prefix@
 
20
EXEEXT        = @EXEEXT@
 
21
INSTALLBINDIR = @bindir@
 
22
INSTALLLIBDIR = @libdir@
 
23
INSTALLINCDIR = @includedir@/flite
 
24
flite_dir:=@flite_dir@
 
25
flite_include_dir:=@flite_include_dir@
 
26
 
 
27
#CFLAGS+= -DDEBUG=2
 
28
 
 
29
# For making releases
 
30
FLITE_LIBS:=$(flite_dir)/lib/libflite_$(FL_VOX).a $(flite_dir)/lib/libflite_$(FL_LEX).a $(flite_dir)/lib/libflite_$(FL_LANG).a $(flite_dir)/lib/libflite.a
 
31
 
 
32
eflite: fs.o es.o soccon.o sockopen.o tone.o $(FLITE_LIBS)
 
33
        $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS)
 
34
 
 
35
fs.o: fs.c
 
36
        $(CC) $(CFLAGS) -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(subst cmu_us_kal16,cmu_us_kal,$(FL_VOX)) -DSTANDALONE -DEFLITE -c -o $@ $<
 
37
 
 
38
tone.o: tone.c
 
39
        $(CC) $(CFLAGS) -I$(flite_include_dir) -DEFLITE -c -o $@ $<
 
40
 
 
41
DISTFILES=es.c fs.c soccon.c sockopen.c tone.c es.h language.h lookup.h synthesizer.h configure configure.in Makefile.in COPYING ChangeLog INSTALL README eflite_test.txt
 
42
release:
 
43
        mkdir ../eflite-$(EFLITE_VERSION) && cp $(DISTFILES) ../eflite-$(EFLITE_VERSION) && tar --owner root --group root -C.. -czf eflite-$(EFLITE_VERSION).tar.gz $(addprefix eflite-$(EFLITE_VERSION)/,$(DISTFILES)) && rm -r ../eflite-$(EFLITE_VERSION)
 
44
 
 
45
DIRFILES:=$(filter-out $(DISTFILES),$(wildcard *))
 
46
pristine:
 
47
ifneq (,$(DIRFILES))
 
48
        rm $(DIRFILES)
 
49
endif
 
50
 
 
51
clean:
 
52
ifneq (,$(wildcard *.o))
 
53
        rm *.o
 
54
endif
 
55
 
 
56
install: eflite
 
57
        mkdir -p $(exec_prefix)/bin && install -c -m 0755 $< $(exec_prefix)/bin
 
58
 
 
59
test: eflite
 
60
        ./eflite -f eflite_test.txt