2002-08-02 19:57:46 +00:00
|
|
|
# synergy -- mouse and keyboard sharing utility
|
|
|
|
# Copyright (C) 2002 Chris Schoeneman
|
|
|
|
#
|
|
|
|
# This package is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# found in the file COPYING that should have accompanied this file.
|
|
|
|
#
|
|
|
|
# This package 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.
|
|
|
|
|
2002-06-18 19:44:34 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
NULL =
|
|
|
|
DEPTH = .
|
2002-07-31 17:34:05 +00:00
|
|
|
VDEPTH = ./$(VPATH)
|
2002-06-18 19:44:34 +00:00
|
|
|
|
2002-07-31 16:57:26 +00:00
|
|
|
SUBDIRS = \
|
|
|
|
lib \
|
|
|
|
cmd \
|
2002-08-01 18:56:54 +00:00
|
|
|
dist \
|
2002-07-31 16:27:06 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2002-07-31 16:57:26 +00:00
|
|
|
EXTRA_DIST = \
|
2002-08-02 21:55:51 +00:00
|
|
|
BUGS \
|
|
|
|
FAQ \
|
|
|
|
HISTORY \
|
|
|
|
PORTING \
|
2002-08-11 11:50:49 +00:00
|
|
|
TODO \
|
2002-07-31 16:57:26 +00:00
|
|
|
all.dsp \
|
|
|
|
synergy.dsw \
|
2002-08-02 21:55:51 +00:00
|
|
|
doc/doxygen.cfg.in \
|
2002-07-31 16:57:26 +00:00
|
|
|
examples/synergy.conf \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
Makefile.in \
|
|
|
|
aclocal.m4 \
|
|
|
|
config.h \
|
|
|
|
config.h.in \
|
|
|
|
config.log \
|
|
|
|
config.status \
|
|
|
|
configure \
|
|
|
|
stamp-h.in \
|
|
|
|
stamp-h1 \
|
2002-08-02 17:57:54 +00:00
|
|
|
doc/doxygen.cfg \
|
|
|
|
doc/doxygen/html/* \
|
2002-06-18 19:44:34 +00:00
|
|
|
$(NULL)
|
2002-07-31 17:40:36 +00:00
|
|
|
|
|
|
|
# build doxygen documentation
|
|
|
|
doxygen:
|
|
|
|
doxygen doc/doxygen.cfg
|
2002-08-02 17:57:54 +00:00
|
|
|
|
|
|
|
# build RPMs
|
|
|
|
RPMTOPDIR=/var/tmp/@PACKAGE@-@VERSION@
|
|
|
|
dist-rpm: dist
|
|
|
|
rm -rf $(RPMTOPDIR)
|
|
|
|
mkdir $(RPMTOPDIR)
|
|
|
|
(cd $(RPMTOPDIR); mkdir BUILD SOURCES SPECS SRPMS RPMS)
|
|
|
|
cp @PACKAGE@-@VERSION@.tar.gz $(RPMTOPDIR)/SOURCES
|
|
|
|
rpm --define '_topdir $(RPMTOPDIR)' -ba dist/rpm/synergy.spec && \
|
|
|
|
mv -f $(RPMTOPDIR)/SRPMS/*.rpm . && \
|
|
|
|
mv -f $(RPMTOPDIR)/RPMS/*/*.rpm . && \
|
|
|
|
rm -rf $(RPMTOPDIR)
|
2002-08-11 11:50:49 +00:00
|
|
|
|
|
|
|
# build zip
|
|
|
|
# FIXME -- have automake generate this rule for us
|
|
|
|
dist-zip: distdir
|
|
|
|
zip -r $(distdir).zip $(distdir)
|
|
|
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|