root/lang/scheme/gauche/bindings/mecab/trunk/Makefile.in @ 115

Revision 84, 2.0 kB (checked in by naoya_t, 16 years ago)

mecab-gauche binding by naoya_t; first import

Line 
1#
2# Makefile.in, 2009-03-13 naoya_t
3#
4
5# General info
6SHELL       = @SHELL@
7prefix      = @prefix@
8exec_prefix = @exec_prefix@
9bindir      = @bindir@
10libdir      = @libdir@
11datadir     = @datadir@
12datarootdir = @datarootdir@
13srcdir      = @srcdir@
14VPATH       = $(srcdir)
15
16# These may be overridden by make invocators
17DESTDIR        =
18GOSH           = @GOSH@
19GAUCHE_CONFIG  = @GAUCHE_CONFIG@
20GAUCHE_PACKAGE = @GAUCHE_PACKAGE@
21INSTALL        = @GAUCHE_INSTALL@
22
23# Other parameters
24SOEXT  = @SOEXT@
25OBJEXT = @OBJEXT@
26EXEEXT = @EXEEXT@
27LOCAL_PATHS = @LOCAL_PATHS@
28
29# Module-specific stuff
30PACKAGE   = mecab
31
32ARCHFILES = mecab.$(SOEXT)
33SCMFILES  = $(srcdir)/mecab.scm
34HEADERS   =
35
36TARGET    = $(ARCHFILES)
37GENERATED =
38CONFIG_GENERATED = Makefile config.cache config.log config.status \
39                   configure.lineno autom4te*.cache $(PACKAGE).gpd
40
41GAUCHE_PKGINCDIR  = $(DESTDIR)@GAUCHE_PKGINCDIR@
42GAUCHE_PKGLIBDIR  = $(DESTDIR)@GAUCHE_PKGLIBDIR@
43GAUCHE_PKGARCHDIR = $(DESTDIR)@GAUCHE_PKGARCHDIR@
44
45mecab_SRCS = $(srcdir)/mecab.c $(srcdir)/mecablib.stub
46
47all : $(TARGET)
48
49mecablib.c: $(srcdir)/mecablib.stub
50        $(GOSH) genstub $(srcdir)/mecablib.stub
51
52mecab.$(SOEXT): $(mecab_SRCS)
53        $(GAUCHE_PACKAGE) compile \
54          --local=$(LOCAL_PATHS) --ldflags=-lmecab --verbose mecab $(mecab_SRCS)
55
56check : all
57        @rm -f test.log
58        $(GOSH) -I. -I$(srcdir) $(srcdir)/test.scm > test.log
59
60install : all
61        $(INSTALL) -m 444 -T $(GAUCHE_PKGINCDIR) $(HEADERS)
62        $(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR) $(SCMFILES)
63        $(INSTALL) -m 555 -T $(GAUCHE_PKGARCHDIR) $(ARCHFILES)
64        $(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
65
66uninstall :
67        $(INSTALL) -U $(GAUCHE_PKGINCDIR) $(HEADERS)
68        $(INSTALL) -U $(GAUCHE_PKGLIBDIR) $(SCMFILES)
69        $(INSTALL) -U $(GAUCHE_PKGARCHDIR) $(ARCHFILES)
70        $(INSTALL) -U $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
71
72clean :
73        $(GAUCHE_PACKAGE) compile --clean mecab $(mecab_SRCS)
74        rm -rf core $(TARGET) $(GENERATED) *~ test.log so_locations
75
76distclean : clean
77        rm -rf $(CONFIG_GENERATED)
78
79maintainer-clean : clean
80        rm -rf $(CONFIG_GENERATED) configure VERSION
81
Note: See TracBrowser for help on using the browser.