added EXTRA_* files to get `make dist' doing the right thing.
This commit is contained in:
parent
12f1cb58b9
commit
8c1f5f623b
14
Makefile.am
14
Makefile.am
|
@ -2,8 +2,14 @@
|
|||
NULL =
|
||||
DEPTH = .
|
||||
|
||||
EXTRA_DIST =
|
||||
SUBDIRS = \
|
||||
lib \
|
||||
cmd \
|
||||
EXTRA_DIST = \
|
||||
all.dsp \
|
||||
synergy.dsw \
|
||||
doc/doxygen.cfg \
|
||||
examples/synergy.conf \
|
||||
$(NULL)
|
||||
|
||||
SUBDIRS = \
|
||||
lib \
|
||||
cmd \
|
||||
$(NULL)
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
synergy.dsp \
|
||||
synergy.rc \
|
||||
resource.h \
|
||||
$(NULL)
|
||||
|
||||
bin_PROGRAMS = synergy
|
||||
synergy_SOURCES = \
|
||||
synergy.cpp \
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
synergyd.dsp \
|
||||
synergyd.rc \
|
||||
resource.h \
|
||||
$(NULL)
|
||||
|
||||
bin_PROGRAMS = synergyd
|
||||
synergyd_SOURCES = \
|
||||
synergyd.cpp \
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -2,6 +2,10 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
base.dsp \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libbase.a
|
||||
libbase_a_SOURCES = \
|
||||
CFunctionJob.cpp \
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
client.dsp \
|
||||
CMSWindowsSecondaryScreen.cpp \
|
||||
CMSWindowsSecondaryScreen.h \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libclient.a
|
||||
libclient_a_SOURCES = \
|
||||
CClient.cpp \
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
http.dsp \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libhttp.a
|
||||
libhttp_a_SOURCES = \
|
||||
CHTTPProtocol.cpp \
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
io.dsp \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libio.a
|
||||
libio_a_SOURCES = \
|
||||
CBufferedInputStream.cpp \
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
mt.dsp \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libmt.a
|
||||
libmt_a_SOURCES = \
|
||||
CLock.cpp \
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
net.dsp \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libnet.a
|
||||
libnet_a_SOURCES = \
|
||||
CNetwork.cpp \
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
server.dsp \
|
||||
CMSWindowsPrimaryScreen.cpp \
|
||||
CMSWindowsPrimaryScreen.h \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libserver.a
|
||||
libserver_a_SOURCES = \
|
||||
CClientProxy.cpp \
|
||||
|
|
|
@ -2,37 +2,41 @@
|
|||
NULL =
|
||||
DEPTH = ../..
|
||||
|
||||
EXTRA_DIST = \
|
||||
libsynergy.dsp \
|
||||
$(NULL)
|
||||
|
||||
noinst_LIBRARIES = libsynergy.a
|
||||
libsynergy_a_SOURCES = \
|
||||
CInputPacketStream.cpp \
|
||||
COutputPacketStream.cpp \
|
||||
CProtocolUtil.cpp \
|
||||
CClipboard.cpp \
|
||||
XScreen.cpp \
|
||||
XSynergy.cpp \
|
||||
CClipboard.h \
|
||||
CInputPacketStream.h \
|
||||
COutputPacketStream.h \
|
||||
CProtocolUtil.h \
|
||||
ClipboardTypes.h \
|
||||
IClient.h \
|
||||
IClipboard.h \
|
||||
IPrimaryScreenReceiver.h\
|
||||
IScreen.h \
|
||||
IScreenEventHandler.h \
|
||||
IScreenReceiver.h \
|
||||
IScreenSaver.h \
|
||||
IServer.h \
|
||||
KeyTypes.h \
|
||||
MouseTypes.h \
|
||||
ProtocolTypes.h \
|
||||
Version.h \
|
||||
XScreen.h \
|
||||
XSynergy.h \
|
||||
libsynergy_a_SOURCES = \
|
||||
CInputPacketStream.cpp \
|
||||
COutputPacketStream.cpp \
|
||||
CProtocolUtil.cpp \
|
||||
CClipboard.cpp \
|
||||
XScreen.cpp \
|
||||
XSynergy.cpp \
|
||||
CClipboard.h \
|
||||
CInputPacketStream.h \
|
||||
COutputPacketStream.h \
|
||||
CProtocolUtil.h \
|
||||
ClipboardTypes.h \
|
||||
IClient.h \
|
||||
IClipboard.h \
|
||||
IPrimaryScreenReceiver.h \
|
||||
IScreen.h \
|
||||
IScreenEventHandler.h \
|
||||
IScreenReceiver.h \
|
||||
IScreenSaver.h \
|
||||
IServer.h \
|
||||
KeyTypes.h \
|
||||
MouseTypes.h \
|
||||
ProtocolTypes.h \
|
||||
Version.h \
|
||||
XScreen.h \
|
||||
XSynergy.h \
|
||||
$(NULL)
|
||||
INCLUDES = \
|
||||
-I$(DEPTH)/lib/base \
|
||||
-I$(DEPTH)/lib/mt \
|
||||
-I$(DEPTH)/lib/io \
|
||||
-I$(DEPTH)/lib/net \
|
||||
INCLUDES = \
|
||||
-I$(DEPTH)/lib/base \
|
||||
-I$(DEPTH)/lib/mt \
|
||||
-I$(DEPTH)/lib/io \
|
||||
-I$(DEPTH)/lib/net \
|
||||
$(NULL)
|
||||
|
|
Loading…
Reference in New Issue