Source

eicq / Makefile

# Makefile for eicq code

# This file is part of XEmacs.

# XEmacs is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2, or (at your option) any
# later version.

# XEmacs is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# for more details.

# You should have received a copy of the GNU General Public License
# along with XEmacs; see the file COPYING.  If not, write to
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.

VERSION = 1.05
AUTHOR_VERSION = 0.2.14
MAINTAINER = Steve Youngs <youngs@xemacs.org>
PACKAGE = eicq
PKG_TYPE = regular
REQUIRES = xemacs-base mail-lib eicq gnus fsf-compat cookie
CATEGORY = standard

ELCS = eicq.elc eicq-toolbar.elc eicq-report.elc

DATA_FILES = $(wildcard etc/*.xpm) etc/world
DATA_DEST = $(PACKAGE)

INFO_FILES = $(PACKAGE).info
HTML_FILES = $(PACKAGE)*.html
HTML_DEP = $(PACKAGE).html
TEXI_FILES = $(PACKAGE).texi
MANUALS = $(PACKAGE)

CC = g++
CFLAGS = -O2 -Wall -static
STRIP = /usr/bin/strip

USERSH = eicq-user-install.sh
BIN_BASE = udp2tcp
LIBSRC_FILES = $(BIN) $(USERSH)

include ../../XEmacs.rules

ifeq ($(XEMACS_NATIVE_NT),t)
BIN = $(BIN_BASE).exe
else
BIN = $(BIN_BASE)
endif

EXTRA_SOURCES = Makefile.upstream README NEWS INSTALL TODO $(BIN_BASE).cc

EXTRA_OBJS = $(BIN)

GENERATED += custom-load.elc


all:: $(BIN) $(ELCS) auto-autoloads.elc custom-load.elc texinfo

$(BIN): $(BIN_BASE).cc
	${CC} -o $(BIN) $(BIN_BASE).cc ${CFLAGS}
	${STRIP} $(BIN)

texinfo: $(TEXI_FILES)
	$(XEMACS) -vanilla -batch -insert eicq.texi $(FORMAT_INFO_USING_XEMACS_ARGS)

srckit: srckit-std

binkit: binkit-common