root/lang/gauche/bindings/cabocha/trunk/Makefile.in @ 97

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

cabocha: +tree +token +chunk

Line 
1#
2# Makefile.in, 2009-03-15 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   = cabocha
31
32ARCHFILES = cabocha.$(SOEXT)
33SCMFILES  = $(srcdir)/cabocha.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
45cabocha_SRCS = $(srcdir)/cabocha.c $(srcdir)/cabochalib.stub
46
47all : $(TARGET)
48
49cabocha.$(SOEXT): $(cabocha_SRCS)
50        $(GAUCHE_PACKAGE) compile \
51          --local=$(LOCAL_PATHS) --ldflags="-lmecab -lcabocha" --verbose cabocha $(cabocha_SRCS)
52
53check : all
54        @rm -f test.log
55        $(GOSH) -I. -I$(srcdir) $(srcdir)/test.scm > test.log
56
57install : all
58        $(INSTALL) -m 444 -T $(GAUCHE_PKGINCDIR) $(HEADERS)
59        $(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR) $(SCMFILES)
60        $(INSTALL) -m 555 -T $(GAUCHE_PKGARCHDIR) $(ARCHFILES)
61        $(INSTALL) -m 444 -T $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
62
63uninstall :
64        $(INSTALL) -U $(GAUCHE_PKGINCDIR) $(HEADERS)
65        $(INSTALL) -U $(GAUCHE_PKGLIBDIR) $(SCMFILES)
66        $(INSTALL) -U $(GAUCHE_PKGARCHDIR) $(ARCHFILES)
67        $(INSTALL) -U $(GAUCHE_PKGLIBDIR)/.packages $(PACKAGE).gpd
68
69clean :
70        $(GAUCHE_PACKAGE) compile --clean cabocha $(cabocha_SRCS)
71        rm -rf core $(TARGET) $(GENERATED) *~ test.log so_locations
72
73distclean : clean
74        rm -rf $(CONFIG_GENERATED)
75
76maintainer-clean : clean
77        rm -rf $(CONFIG_GENERATED) configure VERSION
78
Note: See TracBrowser for help on using the browser.