0
|
1 # FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
2 # This file is part of FreeWnn.
|
|
3 #
|
|
4 # Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
5 # Copyright 1991 by Massachusetts Institute of Technology
|
|
6 # Copyright FreeWnn Project 2001
|
|
7 #
|
|
8 # Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
|
9 # Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
|
10 #
|
|
11 # This program is free software; you can redistribute it and/or modify
|
|
12 # it under the terms of the GNU General Public License as published by
|
|
13 # the Free Software Foundation; either version 2, or (at your option)
|
|
14 # any later version.
|
|
15 #
|
|
16 # This program is distributed in the hope that it will be useful,
|
|
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19 # GNU General Public License for more details.
|
|
20 #
|
|
21 # You should have received a copy of the GNU General Public License
|
|
22 # along with GNU Emacs; see the file COPYING. If not, write to the
|
|
23 # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
24
|
|
25 # for gcc: CDEBUGFLAGS=$(CDEBUGFLAGS)
|
|
26 # for cc: CDEBUGFLAGS= -O
|
|
27 # CDEBUGFLAGS = -O -traditional
|
|
28
|
|
29 include @top_srcdir@/makerule.mk
|
|
30 top_builddir = ..
|
|
31
|
|
32 SUBDIRS = jd cd ld kd td romkan_m jlib xwnmo xjutil
|
|
33
|
|
34 lintlib::
|
|
35 @for flag in ${MAKEFLAGS} ''; do \
|
|
36 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
|
37 for i in $(SUBDIRS) ;\
|
|
38 do \
|
|
39 echo "linting" for lintlib and lintlib "in $(CURRENT_DIR)/$$i..."; \
|
|
40 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \
|
|
41 DESTDIR=$(DESTDIR) LINTOPTS='$(LINTOPTS)' lintlib); \
|
|
42 done
|
|
43
|
|
44 install.ln::
|
|
45 @for flag in ${MAKEFLAGS} ''; do \
|
|
46 case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
|
47 for i in $(SUBDIRS) ;\
|
|
48 do \
|
|
49 echo "linting" for install.ln and install.ln "in $(CURRENT_DIR)/$$i..."; \
|
|
50 (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \
|
|
51 DESTDIR=$(DESTDIR) LINTOPTS='$(LINTOPTS)' install.ln); \
|
|
52 done
|
|
53
|