Commit Graph

19 Commits

Author SHA1 Message Date
crs23 8f9896038d Renamed nmake.mak to Makefile.win everywhere. 2007-09-06 05:07:29 +00:00
crs23 5c29ae9967 Applied patch by maruel:
- Fixed taking the address of begin() on an empty std::vector.
- Fixed nsis makefile to use %ProgramFiles% environment variable.
- Fixed nsis makefile to pass the output directory and file to makensis.
- Fixed synergy.nsi to get the files from the output directory. That
  enables a debug build of the installer.
- Fixes to compile under VS2005.

I did not apply VS2005 project files, instead adding nmake files.
nmake is pretty weak but the makefiles can be modified without having
visual studio.  Also modified the .rc files to not use winres.h.
This plus nmake means synergy can now be built using the freely
downloadable Microsoft Windows SDK for Vista, available from
microsoft's web site.  This change removes all of the old VC++6
project files in favor of the nmake files.  It also removes the
XCode project in favor of ./configure and make.

All of the nmake files are named nmake.mak.  Only the top level
makefile is directly useful (the rest are included by it) so all
builds are from the top level directory.  nmake knows the following
targets:

  all:  build synergy.exe, synergyc.exe and synergys.exe
  clean:  remove all intermediate files, keep programs
  clobber:  clean and remove programs
  installer:  build programs and an installer
  debug:  build a debug version of 'all'
  release:  build a release version of 'all'
  debug-installer:  build an installer of the debug build
  release-installer:  build an installer of the release build

The default build version is release so 'all' and 'installer' will
build a release version.  The installer itself never has debug
symbols, just the stuff it installs.  The default target is 'all'.
To build use:

  nmake /nologo /f nmake.mak <target>

VC++ and VisualStudio users may need to manually run vcvars.bat in a
command.exe or cmd.exe window before invoking nmake.  The Window 98/Me
command.exe may not handle potentially long command lines;  I haven't
tried to verify if that works.
2007-09-06 05:01:44 +00:00
crs cab52ae6a6 Updated packagers to handle new documentation. 2004-08-01 16:31:47 +00:00
crs 4be61c3817 Updated documentation. Converted most documation to HTML. 2004-08-01 16:00:18 +00:00
crs d9387dbed7 Added bertrand landry hetu's mac OS X port to date. 2004-05-15 19:41:46 +00:00
crs 083607345a Removed DEPTH, VDEPTH, and VPATH from makefiles. 2004-04-04 12:12:32 +00:00
crs 75603c25f9 Added a dist-pkg target to put the binary distribution files into
a tar gzip file.  This is to ease distribution of the binaries on
systems without a packaging system supported by synergy (which
currently supports only RPM).
2003-01-18 10:49:13 +00:00
crs 1d9efb0e3a added TODO file and top-level rule to make zip file of distribution
files.
2002-08-11 11:50:49 +00:00
crs bebef102e5 added document files to distribution list and to RPMs. also
changed doxygen.cfg to doxygen.cfg.in EXTRA_DIST.
2002-08-02 21:55:51 +00:00
crs f6c3a9453b added copyright to top of each file. 2002-08-02 19:57:46 +00:00
crs 17d3ef6bdc finished RPM build rules and changed doxygen configuration to be
built by configure and the doxygen documentation to be removed
by maintainer-clean.
2002-08-02 17:57:54 +00:00
crs ed38bc0818 Added preliminary RPM spec file. 2002-08-01 18:56:54 +00:00
crs 7900d9fe41 added simple rule to build doxygen. 2002-07-31 17:40:36 +00:00
crs 5c654d531e removed two programs from files to clean. 2002-07-31 17:35:43 +00:00
crs 5bb5542a13 fixes to get vpath builds working (necessary for `make distcheck'). 2002-07-31 17:34:05 +00:00
crs fae797e220 Moved version header to base and it now uses VERSION macro
from config.h if available (which means version is now a
string, not three integers).  Changed version to 1.0.0 and
protocol version to 1.0.  And added MAINTAINERCLEANFILES
to makefiles to remove generated files.
2002-07-31 16:57:26 +00:00
crs 8c1f5f623b added EXTRA_* files to get `make dist' doing the right thing. 2002-07-31 16:27:06 +00:00
crs fee4095624 Reorganized source tree. Moved client.cpp into cmd/synergy as
synergy.cpp and server.cpp into cmd/synergyd as synergyd.cpp.
Moved and renamed related files.  Moved remaining source files
into lib/....  Modified and added makefiles as appropriate.
Result is that library files are under lib with each library
in its own directory and program files are under cmd with each
command in its own directory.
2002-07-30 16:52:46 +00:00
crs 1c604ecc3d started to convert to autoconf/automake. 2002-06-18 19:44:34 +00:00