home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.madoka.org
/
2014.12.ftp.madoka.org.tar
/
ftp.madoka.org
/
pub
/
irchat-pj
/
irchat-pj-2.4.24.22.tar.gz
/
irchat-pj-2.4.24.22.tar
/
irchat-pj-2.4.24.22
/
Makefile
< prev
next >
Wrap
Makefile
|
2002-07-18
|
2KB
|
85 lines
#
# Makefile for irchat-pj
#
# $Id: Makefile,v 1.7 1994/02/23 15:05:00 tmo Exp $
# last modified by simm@irc.fan.gr.jp, Fri, 17 Dec 1999 23:39:58 +0900
#
#
# If you don't have jwz's optimizing byte-compiler, uncomment the following
# lines. A better idea would be to get it from archive.cis.ohio-state.edu
# in the file pub/gnu/emacs/elisp-archive/packages/bytecomp.tar.Z. It also
# comes with emacs19
#
DCCDIR = default
LISPDIR = default
PACKAGEDIR = default
EMACS = emacs
#EMACS = mule
XEMACS = xemacs
MANIFEST= contrib/MANIFEST.irchat-pj
MAKE = make.el
THINGATPT= contrib/thingatpt.el
# LDFLAGS for DCC
LDFLAGS =
# LDFLAGS = -lgen -lnsl -lsocket
#
# You shouldn't need to change anything after this point.
#
TAR = tar
CC = cc
LD = $(CC)
CAT = cat
ECHO = echo
TEST = test
MKDIR = mkdir
INSTALL = install
INSTALL_DATA = $(INSTALL) -m644
DCC_SRC = dcc/dcc.c
DCC_BIN = dcc/dcc
all: $(DCC_BIN) pj
dcc: $(DCC_BIN)
irchat: pj
install: install-dcc install-pj
# irchat-pj and browse-url-plus
pj:
$(EMACS) -batch -q -no-site-file -l ./$(MAKE) -f compile-pj
install-pj:
$(EMACS) -batch -q -no-site-file -l ./$(MAKE) -f install-pj $(LISPDIR)
# dcc
$(DCC_BIN): $(DCC_SRC)
$(LD) -o $@ $(DCC_SRC) $(LDFLAGS)
install-dcc: $(DCC_BIN)
$(EMACS) -batch -q -no-site-file -l ./$(MAKE) -f install-dcc $(DCCDIR)
# for XEmacs21 package
package: $(DCC_BIN)
$(XEMACS) -batch -q -no-site-file -l ./$(MAKE) -f compile-pj
install-package:
$(XEMACS) -batch -q -no-site-file -l ./$(MAKE) -f install-package $(PACKAGEDIR)
# for XEmacs20 (also XEmacs21 without fsf-compat package)
thingatpt: $(THINGATPT)
$(EMACS) -batch -q -no-site-file -f batch-byte-compile $(THINGATPT)
install-thingatpt: $(IPATH)
$(INSTALL_DATA) $(THINGATPT) $(THINGATPT)c `$(CAT) $(IPATH)`
# clean up
clean:
-rm -f *~ contrib/*~ dcc/*~ doc/*~ *.elc contrib/*.elc \
$(DCC_BIN) $(DCC_BIN).exe $(DCC_BIN).EXE $(IPATH)