forked from deskflow/deskflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
425 changed files
with
85,087 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
See doc/authors.html. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# 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. | ||
|
||
## Process this file with automake to produce Makefile.in | ||
NULL = | ||
|
||
SUBDIRS = \ | ||
lib \ | ||
cmd \ | ||
doc \ | ||
dist \ | ||
$(NULL) | ||
|
||
EXTRA_DIST = \ | ||
Makefile.win \ | ||
examples/synergy.conf \ | ||
win32util/autodep.cpp \ | ||
$(NULL) | ||
|
||
MAINTAINERCLEANFILES = \ | ||
Makefile.in \ | ||
aclocal.m4 \ | ||
config.h \ | ||
config.h.in \ | ||
config.log \ | ||
config.status \ | ||
configure \ | ||
stamp-h.in \ | ||
stamp-h1 \ | ||
$(NULL) | ||
|
||
PKG_FILES = \ | ||
ChangeLog \ | ||
README \ | ||
cmd/synergyc/synergyc \ | ||
cmd/synergys/synergys \ | ||
examples/synergy.conf \ | ||
$(NULL) | ||
PKG_DOC_FILES = \ | ||
doc/PORTING \ | ||
doc/*.html \ | ||
doc/*.css \ | ||
$(NULL) | ||
PKG_PROG_FILES = \ | ||
synergyc \ | ||
synergys \ | ||
$(NULL) | ||
|
||
# build doxygen documentation | ||
doxygen: | ||
doxygen doc/doxygen.cfg | ||
|
||
# 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@-@[email protected] $(RPMTOPDIR)/SOURCES | ||
rpm --define '_topdir $(RPMTOPDIR)' -ba dist/rpm/synergy.spec && \ | ||
mv -f $(RPMTOPDIR)/SRPMS/*.rpm . && \ | ||
mv -f $(RPMTOPDIR)/RPMS/*/*.rpm . && \ | ||
rm -rf $(RPMTOPDIR) | ||
|
||
# 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) | ||
|
||
# build binary package. owner/group of packaged files will be | ||
# owner/group of user running make. | ||
PKGTOPDIR=/var/tmp/@PACKAGE@-@VERSION@ | ||
dist-pkg: all | ||
rm -rf $(PKGTOPDIR) | ||
mkdir $(PKGTOPDIR) | ||
mkdir $(PKGTOPDIR)/@PACKAGE@-@VERSION@ | ||
mkdir $(PKGTOPDIR)/@PACKAGE@-@VERSION@/doc | ||
cp $(PKG_FILES) $(PKGTOPDIR)/@PACKAGE@-@VERSION@ | ||
cp $(PKG_DOC_FILES) $(PKGTOPDIR)/@PACKAGE@-@VERSION@/doc | ||
(cd $(PKGTOPDIR)/@PACKAGE@-@VERSION@; \ | ||
chmod 644 *; \ | ||
chmod 755 doc $(PKG_PROG_FILES); \ | ||
strip $(PKG_PROG_FILES) ) | ||
type=`uname -s -m | tr '[A-Z] ' '[a-z].'`; \ | ||
(cd $(PKGTOPDIR); tar cf - @PACKAGE@-@VERSION@ | \ | ||
gzip - ) > @PACKAGE@-@VERSION@-1.$${type}.tar.gz && \ | ||
rm -rf $(PKGTOPDIR) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
# synergy -- mouse and keyboard sharing utility | ||
# Copyright (C) 2007 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. | ||
|
||
# Name of this file for recursive make | ||
MAKEFILE = Makefile.win | ||
|
||
# Default build is release is NODEBUG is defined, debug otherwise. | ||
!if !DEFINED(DEBUG) | ||
NODEBUG = 1 | ||
!else | ||
!undef NODEBUG | ||
!endif | ||
|
||
# Build all by default | ||
default: all | ||
|
||
# Redefine implicit rule suffixes | ||
.SUFFIXES: | ||
.SUFFIXES: .cpp .rc .obj | ||
|
||
# Shut up | ||
.SILENT: | ||
|
||
# Include system macros | ||
#APPVER = 5.0 | ||
#TARGETOS = WINNT | ||
!include <win32.mak> | ||
|
||
# Be explicit about C++ compiler | ||
cpp = $(cc) | ||
cppdebug = $(cdebug) | ||
cppflags = $(cflags) | ||
cppvarsmt = $(cvarsmt) | ||
|
||
# Library tool options | ||
ildebug = | ||
ilflags = /nologo | ||
|
||
# Handy macro for defining list macros | ||
NULL = | ||
|
||
# System commands | ||
ECHO = echo | ||
MKDIR = mkdir | ||
RM = del /f | ||
RMR = rmdir /q /s | ||
|
||
# Local build utilities | ||
UTIL_DIR = win32util | ||
AUTODEP = "$(UTIL_DIR)\autodep.exe" | ||
|
||
# Destination for intermediate build targets | ||
BUILD_DIR = build | ||
BUILD_DEBUG_DIR = $(BUILD_DIR)\Debug | ||
BUILD_RELEASE_DIR = $(BUILD_DIR)\Release | ||
!if DEFINED(NODEBUG) | ||
BUILD_DST = $(BUILD_RELEASE_DIR) | ||
!else | ||
BUILD_DST = $(BUILD_DEBUG_DIR) | ||
!endif | ||
|
||
# Compiler argument changes | ||
cflags = $(cflags:-W3=-W4) /WX | ||
cflags = $(cflags) -D_CRT_SECURE_NO_DEPRECATE | ||
cflags = $(cflags) /GR | ||
!if !DEFINED(OLDCOMPILER) | ||
cflags = $(cflags) /EHsc | ||
!else | ||
cflags = $(cflags) /GX | ||
!endif | ||
!if !DEFINED(NODEBUG) | ||
!if !DEFINED(OLDCOMPILER) | ||
cdebug = $(cdebug) /RTC1 | ||
!else | ||
cdebug = $(cdebug) /GZ | ||
!endif | ||
!endif | ||
|
||
# Initialize variables for library and program makefiles | ||
C_FILES = | ||
CPP_FILES = | ||
OBJ_FILES = | ||
LIB_FILES = | ||
PROGRAMS = | ||
OPTPROGRAMS = $(AUTODEP) | ||
|
||
# Include subdirectory makefiles | ||
!include lib\common\$(MAKEFILE) | ||
!include lib\arch\$(MAKEFILE) | ||
!include lib\base\$(MAKEFILE) | ||
!include lib\mt\$(MAKEFILE) | ||
!include lib\io\$(MAKEFILE) | ||
!include lib\net\$(MAKEFILE) | ||
!include lib\synergy\$(MAKEFILE) | ||
!include lib\platform\$(MAKEFILE) | ||
!include lib\client\$(MAKEFILE) | ||
!include lib\server\$(MAKEFILE) | ||
!include cmd\synergyc\$(MAKEFILE) | ||
!include cmd\synergys\$(MAKEFILE) | ||
!include cmd\launcher\$(MAKEFILE) | ||
!include dist\nullsoft\$(MAKEFILE) | ||
|
||
# Collect library and program variables | ||
INTERMEDIATES = $(OBJ_FILES) $(AUTODEP:.exe=.obj) | ||
TARGETS = $(LIB_FILES) $(PROGRAMS) | ||
OPTTARGETS = $(OPTPROGRAMS) | ||
|
||
# Build release by reinvoking make with NODEBUG defined | ||
release: | ||
@$(MAKE) /nologo /f $(MAKEFILE) NODEBUG=1 | ||
|
||
# Build debug by reinvoking make with DEBUG defined | ||
debug: | ||
@$(MAKE) /nologo /f $(MAKEFILE) DEBUG=1 | ||
|
||
# Build all targets | ||
all: $(TARGETS) | ||
|
||
# Clean intermediate targets | ||
clean: | ||
-$(RMR) $(BUILD_DEBUG_DIR) | ||
-$(RMR) $(BUILD_RELEASE_DIR) | ||
|
||
# Clean all targets | ||
clobber: clean | ||
-$(RMR) $(BUILD_DIR) | ||
|
||
# Utility command build rules | ||
$(AUTODEP): $(AUTODEP:.exe=.cpp) | ||
!if DEFINED(NODEBUG) | ||
@$(ECHO) Build $(@F) | ||
$(cpp) $(cppdebug) $(cppflags) $(cppvars) /Fo"$(**:.cpp=.obj)" $** | ||
$(link) $(ldebug) $(conflags) -out:$@ $(**:.cpp=.obj) $(conlibs) | ||
!else | ||
@$(MAKE) /nologo /f $(MAKEFILE) NODEBUG=1 $@ | ||
!endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
See doc/news.html. |
Oops, something went wrong.