+++ /dev/null
-#
-# Makefile for emacs-canna.
-#
-
-EMACS = emacs
-EMACS_FLAGS = -batch -q -no-site-file -l CANNA-MK
-
-EMACS_SRC_DIR = /usr/users/tomo/src/Emacs-DL/src
-CC = gcc
-CANNA_DEFINES = -DCANNA_EMACS -DCANNA_EMACS_DL
-CANNA_HEADERDIR = /usr/users/tomo/src/elisp/emacs-canna/include
-CANNA_CFLAGS = $(CANNA_DEFINES) -I$(CANNA_HEADERDIR)
-CANNA_LDFLAGS = -L/usr/lib -lcanna
-
-DL_INSTALLDIR = /usr/local/libexec/emacs/20.4/i686-pc-linux-gnu/
-
-CFLAGS = -g -O2 -c -nostdlib -fPIC
-
-LINKER = $(CC) -shared -o
-
-VERSION = 1.4
-
-PACKAGE = emacs-canna
-TAR = tar
-RM = /bin/rm -f
-CP = /bin/cp -p
-
-
-all: canna.so canna.elc
-
-canna.elc: canna.el
- $(EMACS) $(EMACS_FLAGS) -f compile-canna $(PREFIX) $(LISPDIR)
-
-canna.o: canna.c Makefile
- $(CC) $(CFLAGS) -I$(EMACS_SRC_DIR) $(CANNA_CFLAGS) canna.c
-
-canna.so: canna.o
- $(LINKER) canna.so $(CANNA_LDFLAGS) canna.o
-
-
-install: install.elc install.so
-
-install.elc: canna.elc
- $(EMACS) $(EMACS_FLAGS) -f install-canna $(PREFIX) $(LISPDIR)
-
-install.so: canna.so
- install -c canna.so $(DL_INSTALLDIR)/canna.so.$(VERSION)
- (cd $(DL_INSTALLDIR); ln -sf canna.so.$(VERSION) canna.so)
-
-
-clean:
- -rm -f canna.o canna.so canna.elc
-
-
-tar:
- cvs commit
- sh -c 'cvs tag -RF $(PACKAGE)-`echo $(VERSION) | tr . _`; \
- cd /tmp; \
- cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root \
- export -d $(PACKAGE)-$(VERSION) \
- -r $(PACKAGE)-`echo $(VERSION) | tr . _` \
- emacs-canna'
- $(RM) /tmp/$(PACKAGE)-$(VERSION)/ftp.in
- cd /tmp; $(TAR) cvzf $(PACKAGE)-$(VERSION).tar.gz $(PACKAGE)-$(VERSION)
- cd /tmp; $(RM) -r $(PACKAGE)-$(VERSION)
- sed "s/VERSION/$(VERSION)/" < ftp.in | sed "s/API/$(API)/" \
- | sed "s/PACKAGE/$(PACKAGE)/" > ftp