summaryrefslogtreecommitdiffstats
path: root/src/windows/cns
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-06-02 18:55:30 +0000
committerKeith Vetter <keithv@fusion.com>1995-06-02 18:55:30 +0000
commit7050cd49620aa8882a481dba8870ea9e37011ba9 (patch)
tree8198656377d4fd0f14cb524ab1cdb37f0beeb394 /src/windows/cns
parentc752d322e26e5479b70e281abe0c3e2aa3cc7788 (diff)
downloadkrb5-7050cd49620aa8882a481dba8870ea9e37011ba9.tar.gz
krb5-7050cd49620aa8882a481dba8870ea9e37011ba9.tar.xz
krb5-7050cd49620aa8882a481dba8870ea9e37011ba9.zip
Windows telnet changes to enable the cursor keys
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5934 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/cns')
-rw-r--r--src/windows/cns/changelo4
-rw-r--r--src/windows/cns/makefile27
2 files changed, 21 insertions, 10 deletions
diff --git a/src/windows/cns/changelo b/src/windows/cns/changelo
index 4dee962fd..721abbdba 100644
--- a/src/windows/cns/changelo
+++ b/src/windows/cns/changelo
@@ -1,3 +1,7 @@
+Fri Jun 2 11:45:23 1995 Keith Vetter (keithv@fusion.com)
+
+ * makefile: cleaned up and made consistent with telnet's makefile.
+
Tue May 30 17:28:04 1995 Keith Vetter (keithv@fusion.com)
* kpasswd.c: new file for k5 password changing.
diff --git a/src/windows/cns/makefile b/src/windows/cns/makefile
index 0f3fff350..0163c874f 100644
--- a/src/windows/cns/makefile
+++ b/src/windows/cns/makefile
@@ -2,7 +2,7 @@
# Works for both k4 and k5 releases.
#
NAME = cns
-OBJS = cns.obj tktlist.obj kpasswd.obj
+OBJS = $(NAME).obj tktlist.obj
##### Options
DEBUG = 1
@@ -17,6 +17,7 @@ LIBDIR = $(BUILDTOP)\lib\krb
KLIB = $(LIBDIR)\kerberos.lib
WLIB = $(LIBDIR)\winsock.lib
INCLUDES = /I$(BUILDTOP)\include
+XOBJS =
!endif
!if $(KVERSION) == 5
@@ -25,12 +26,13 @@ LIBDIR = $(BUILDTOP)\lib
KLIB = $(LIBDIR)\libkrb5.lib
WLIB = $(LIBDIR)\winsock.lib
INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
+XOBJS = kpasswd.obj
!endif
##### C Compiler
CC = cl
-CFLAGS_RELEASE = /f- /nologo /W3 /AL /GAs /G2 /Zp /O2 /DNDEBUG=1
-CFLAGS_DEBUG = /f /nologo /W3 /AL /GAs /G2 /Zp /O2 /Od /Zi
+CFLAGS_RELEASE = /nologo /W3 /AL /GAs /G2 /Zp /O2 /DNDEBUG=1
+CFLAGS_DEBUG = /nologo /W3 /AL /GAs /G2 /Zp /O2 /Od /Zi
!if $(DEBUG)
CFLAGS = $(CFLAGS_DEBUG) $(INCLUDES) /D$(KRB)=1
!else
@@ -53,21 +55,26 @@ LFLAGS = /nologo /nod /nopackcode
all:: makefile $(NAME).exe
-$(NAME).exe: $*.def $*.res $(OBJS) $(LIBS)
- $(LINK) $(LFLAGS) $(OBJS), $@, $*.map, $(LIBS) $(SYSLIBS), $*.def
+$(NAME).exe: $*.def $*.res $(OBJS) $(XOBJS) $(LIBS)
+ $(LINK) $(LFLAGS) $(OBJS) $(XOBJS), $@, $*.map, \
+ $(LIBS) $(SYSLIBS), $*.def
$(RC) $(RFLAGS) /k $*.res $@
-$(OBJS) cns.res: cns.h tktlist.h
-
install:
- copy cns.exe ..\floppy
+ copy $(NAME).exe ..\floppy
clean::
- if exist *.exe del *.exe
- if exist ..\floppy\cns.exe del ..\floppy\cns.exe
if exist *.obj del *.obj
+ if exist *.exe del *.exe
if exist *.res del *.res
if exist *.map del *.map
if exist *.pdb del *.pdb
if exist *.err del *.err
+ if exist ..\floppy\$(NAME).exe del ..\floppy\$(NAME).exe
+
+$(OBJS) $(NAME).res: $(NAME).h tktlist.h
+$(NAME).res: clock00.ico clock05.ico clock10.ico clock15.ico clock20.ico \
+ clock25.ico clock30.ico clock35.ico clock40.ico clock45.ico \
+ clock50.ico clock55.ico clock60.ico clockexp.ico clocktkt.ico \
+ cns.ico