Update of /cvsroot/netrek/client/netrekxp/src/winkey
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29199/src/winkey

Modified Files:
	makefile 
Added Files:
	makecyg 
Log Message:
Following COW patch "50 fps, accept new UPS feature packet", client and server now negotiate
a update rate.  Default is 50, but it still works with older servers running at 10 fps.
Preliminary work on compiling with cygwin - added some headers for compile purposes, a few new
Cygwin #ifdefs, 3 new cygwin makefiles that don't work yet (and probably never will without outside
help).

Index: makefile
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/winkey/makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- makefile	30 Nov 2006 01:25:05 -0000	1.3
+++ makefile	23 Feb 2007 13:43:57 -0000	1.4
@@ -2,7 +2,7 @@
 # This makefile is written for Borland C++ 5.5
 #
 
-#DEBUG = 1
+DEBUG = 1
 
 # Borland C++ 5.5
 cc     = bcc32

--- NEW FILE: makecyg ---
#
# This makefile is written for Cygwin
#

#DEBUG = 1

# Cygwin
cc     = bcc32
rc     = brcc32
link   = ilink32
compileandlink = bcc32

!IFDEF DEBUG
cflags = -O2 -5 -v -pr -DWIN32 -DBorland -tW -tWM
ccompileonly = -c
!ELSE
cflags = -O2 -5 -pr -DWIN32 -DBorland -tW -tWM
ccompileonly = -c
!ENDIF

all: winkey.dll

.cpp.obj:
	$(cc) $(cflags) $(ccompileonly) $<

winkey.dll:  winkey.obj winkeyshared.obj
	$(link) $(LIBOPTS) -Tpd -aa -V4.0 -c -x -GS:SHSEG=rws C0d32.OBJ winkey.obj winkeyshared.obj, winkey.dll,, import32.lib cw32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib, winkeybcc.def

clean:
	del winkey.dll *.obj *.ilc *.ild *.ilf *.ils *.tds