added EXTRA_* files to get `make dist' doing the right thing.

This commit is contained in:
crs 2002-07-31 16:27:06 +00:00
parent 12f1cb58b9
commit 8c1f5f623b
15 changed files with 115 additions and 186 deletions

View File

@ -2,7 +2,13 @@
NULL =
DEPTH = .
EXTRA_DIST =
EXTRA_DIST = \
all.dsp \
synergy.dsw \
doc/doxygen.cfg \
examples/synergy.conf \
$(NULL)
SUBDIRS = \
lib \
cmd \

View File

@ -2,6 +2,12 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
synergy.dsp \
synergy.rc \
resource.h \
$(NULL)
bin_PROGRAMS = synergy
synergy_SOURCES = \
synergy.cpp \

View File

@ -2,6 +2,12 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
synergyd.dsp \
synergyd.rc \
resource.h \
$(NULL)
bin_PROGRAMS = synergyd
synergyd_SOURCES = \
synergyd.cpp \

View File

@ -1,75 +0,0 @@
#!/bin/sh
#
# Startup script for synergy client
#
# chkconfig: 5 98 02
# description: Starts/stops synergy client
#
# processname: synergy
#
### BEGIN INIT INFO
# Provides: synergy
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
# Default-Start: 5
# Default-Stop: 0 1 2 3 6
# Description: Start synergy client daemon.
### END INIT INFO
SYNERGY_BIN=/usr/sbin/synergy
test -x $SYNERGY_BIN || exit 5
# startup command line arguments
ARGS=192.168.1.3
# load function library
if test -f /etc/rc.status; then
. /etc/rc.status
rc_reset
else
. /etc/rc.d/init.d/functions
function startproc ()
{
daemon $*
}
function checkproc ()
{
status $*
}
function rc_status ()
{
RETVAL=$?
}
function rc_exit ()
{
exit $RETVAL
}
fi
case "$1" in
start)
echo -n "Starting synergy client: "
startproc $SYNERGY_BIN $ARGS
rc_status -v
;;
stop)
echo -n "Stopping synergy client: "
killproc -TERM $SYNERGY_BIN
rc_status -v
;;
restart)
$0 stop
$0 start
rc_status
;;
status)
echo -n "Checking for synergy client: "
checkproc $SYNERGY_BIN
rc_status -v
;;
*)
echo "Usage: synergy {start|stop|status|restart}"
exit 1
esac
rc_exit

View File

@ -1,75 +0,0 @@
#!/bin/sh
#
# Startup script for synergy server
#
# chkconfig: 5 98 02
# description: Starts/stops synergy server
#
# processname: synergyd
#
### BEGIN INIT INFO
# Provides: synergyd
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
# Default-Start: 5
# Default-Stop: 0 1 2 3 6
# Description: Start synergy server daemon.
### END INIT INFO
SYNERGYD_BIN=/usr/sbin/synergyd
test -x $SYNERGYD_BIN || exit 5
# startup command line arguments
ARGS=
# load function library
if test -f /etc/rc.status; then
. /etc/rc.status
rc_reset
else
. /etc/rc.d/init.d/functions
function startproc ()
{
daemon $*
}
function checkproc ()
{
status $*
}
function rc_status ()
{
RETVAL=$?
}
function rc_exit ()
{
exit $RETVAL
}
fi
case "$1" in
start)
echo -n "Starting synergy server: "
startproc $SYNERGYD_BIN $ARGS
rc_status -v
;;
stop)
echo -n "Stopping synergy server: "
killproc -TERM $SYNERGYD_BIN
rc_status -v
;;
restart)
$0 stop
$0 start
rc_status
;;
status)
echo -n "Checking for synergy server: "
checkproc $SYNERGYD_BIN
rc_status -v
;;
*)
echo "Usage: synergyd {start|stop|status|restart}"
exit 1
esac
rc_exit

View File

@ -2,6 +2,10 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
base.dsp \
$(NULL)
noinst_LIBRARIES = libbase.a
libbase_a_SOURCES = \
CFunctionJob.cpp \

View File

@ -2,6 +2,12 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
client.dsp \
CMSWindowsSecondaryScreen.cpp \
CMSWindowsSecondaryScreen.h \
$(NULL)
noinst_LIBRARIES = libclient.a
libclient_a_SOURCES = \
CClient.cpp \

View File

@ -2,6 +2,10 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
http.dsp \
$(NULL)
noinst_LIBRARIES = libhttp.a
libhttp_a_SOURCES = \
CHTTPProtocol.cpp \

View File

@ -2,6 +2,10 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
io.dsp \
$(NULL)
noinst_LIBRARIES = libio.a
libio_a_SOURCES = \
CBufferedInputStream.cpp \

View File

@ -2,6 +2,10 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
mt.dsp \
$(NULL)
noinst_LIBRARIES = libmt.a
libmt_a_SOURCES = \
CLock.cpp \

View File

@ -2,6 +2,10 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
net.dsp \
$(NULL)
noinst_LIBRARIES = libnet.a
libnet_a_SOURCES = \
CNetwork.cpp \

View File

@ -2,7 +2,29 @@
NULL =
DEPTH = ../..
# FIXME -- add CUnixPlatform.cpp as an unbuilt source
EXTRA_DIST = \
makehook.dsp \
platform.dsp \
synrgyhk.dsp \
CMSWindowsClipboard.cpp \
CMSWindowsClipboardAnyTextConverter.cpp \
CMSWindowsClipboardTextConverter.cpp \
CMSWindowsClipboardUTF16Converter.cpp \
CMSWindowsScreen.cpp \
CMSWindowsScreenSaver.cpp \
CSynergyHook.cpp \
CWin32Platform.cpp \
CMSWindowsClipboard.h \
CMSWindowsClipboardAnyTextConverter.h \
CMSWindowsClipboardTextConverter.h \
CMSWindowsClipboardUTF16Converter.h \
CMSWindowsScreen.h \
CMSWindowsScreenSaver.h \
CSynergyHook.h \
CWin32Platform.h \
IMSWindowsScreenEventHandler.h \
$(NULL)
noinst_LIBRARIES = libplatform.a
libplatform_a_SOURCES = \
CPlatform.cpp \
@ -24,6 +46,9 @@ libplatform_a_SOURCES = \
CXWindowsUtil.h \
IPlatform.h \
$(NULL)
EXTRA_libplatform_a_SOURCES = \
CUnixPlatform.cpp \
$(NULL)
INCLUDES = \
-I$(DEPTH)/lib/base \
-I$(DEPTH)/lib/mt \

View File

@ -2,6 +2,12 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
server.dsp \
CMSWindowsPrimaryScreen.cpp \
CMSWindowsPrimaryScreen.h \
$(NULL)
noinst_LIBRARIES = libserver.a
libserver_a_SOURCES = \
CClientProxy.cpp \

View File

@ -2,6 +2,10 @@
NULL =
DEPTH = ../..
EXTRA_DIST = \
libsynergy.dsp \
$(NULL)
noinst_LIBRARIES = libsynergy.a
libsynergy_a_SOURCES = \
CInputPacketStream.cpp \
@ -17,7 +21,7 @@ libsynergy_a_SOURCES = \
ClipboardTypes.h \
IClient.h \
IClipboard.h \
IPrimaryScreenReceiver.h\
IPrimaryScreenReceiver.h \
IScreen.h \
IScreenEventHandler.h \
IScreenReceiver.h \

View File