File: Makefile

package info (click to toggle)
skk 10.47.2.p1u-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 7,284 kB
  • ctags: 1,607
  • sloc: lisp: 11,786; ansic: 3,717; asm: 2,931; sh: 529; makefile: 357; awk: 172; sql: 169
file content (70 lines) | stat: -rw-r--r-- 1,685 bytes parent folder | download
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Generated automatically from Makefile.in by configure.
# Makefile for compiling SKK 9.6 and Emacs 19
# Mikio Nakajima <gy2m-nkjm@asahi-net.or.jp> created on May 27, 1996.
# Shuhei KOBAYASHI <shuhei-k@jaist.ac.jp> modified on Dec 19, 1996.
#
SHELL = /bin/sh


srcdir = .
top_srcdir = .

CC = gcc
CFLAGS = -g -O2
INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
LDFLAGS = 
LIBS = 

prefix = /usr
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin
libexecdir = /usr/sbin
datadir = /usr/share
infodir = ${prefix}/info

EMACS = emacs
TEXI2DVI = texi2dvi
ELISPDIR = $(datadir)/emacs/site-lisp
SKKDIR = $(datadir)/skk

## SKK JISYO which skkserv uses
JISYO = SKK-JISYO.L
JISYODIR = $(datadir)/skk

SUBDIRS = lisp skkserv jisyo-tools doc etc

MDEFINES = CC='$(CC)' CFLAGS='$(CFLAGS)' LDFLAGS='$(LDFLAGS)' \
	EMACS='$(EMACS)' JISYO='$(JISYO)' JISYODIR='$(JISYODIR)' \
	ELISPDIR='$(ELISPDIR)' SKKDIR='$(SKKDIR)' TEXI2DVI='$(TEXI2DVI)'

all: config.h
	for subdir in $(SUBDIRS); do \
	  echo making $@ in $$subdir; \
	  (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
	done

install: config.h
	for subdir in $(SUBDIRS); do \
	  echo making $@ in $$subdir; \
	  (cd $$subdir && $(MAKE) $(MDEFINES) $@) || exit 1; \
	done
	$(INSTALL_DATA) jisyo/$(JISYO) $(JISYODIR)/$(JISYO)

clean:
	cd lisp; $(MAKE) clean
	cd skkserv; $(MAKE) clean
	cd jisyo-tools; $(MAKE) clean

distclean: clean
	rm -f etc/Makefile doc/Makefile skkserv/Makefile jisyo-tools/Makefile
	rm -f config.cache config.log config.status config.h Makefile

TAGS: $(SRCS)
	cd lisp; $(MAKE) TAGS
	cd skkserv; $(MAKE) TAGS
	cd jisyo-tools; $(MAKE) TAGS

.PHONY: clean
# Makefile ends here.