summaryrefslogtreecommitdiffstats
path: root/src/windows/gss
diff options
context:
space:
mode:
authorDanilo Almeida <dalmeida@mit.edu>1999-05-10 19:43:50 +0000
committerDanilo Almeida <dalmeida@mit.edu>1999-05-10 19:43:50 +0000
commita852ce8806833825df450316321c5bee06a08d98 (patch)
tree24f8a2540efcd83a3f189d2728b686e175957325 /src/windows/gss
parentdc23272cbb13d0fdc9751ac4e13dc0459303ce0e (diff)
downloadkrb5-a852ce8806833825df450316321c5bee06a08d98.tar.gz
krb5-a852ce8806833825df450316321c5bee06a08d98.tar.xz
krb5-a852ce8806833825df450316321c5bee06a08d98.zip
Do win32 build in subdir
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11432 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/gss')
-rw-r--r--src/windows/gss/ChangeLog4
-rw-r--r--src/windows/gss/Makefile.in47
2 files changed, 25 insertions, 26 deletions
diff --git a/src/windows/gss/ChangeLog b/src/windows/gss/ChangeLog
index 97c6fc7d16..199831594c 100644
--- a/src/windows/gss/ChangeLog
+++ b/src/windows/gss/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 10 15:28:27 1999 Danilo Almeida <dalmeida@mit.edu>
+
+ * Makefile.in: Do win32 build in subdir.
+
Tue Aug 5 18:45:35 1997 Theodore Y. Ts'o <tytso@mit.edu>
* Makefile.in, gss.rc: Use the version resource from
diff --git a/src/windows/gss/Makefile.in b/src/windows/gss/Makefile.in
index a6be399ae5..0ac7837054 100644
--- a/src/windows/gss/Makefile.in
+++ b/src/windows/gss/Makefile.in
@@ -1,20 +1,16 @@
# makefile: Constructs the Kerberos for Windows ticket manager
# Works for both k4 and k5 releases.
#
-OBJS = gss.obj gss-client.obj gss-misc.obj
-##WIN32##XOBJS = resource.obj
+OBJS = $(OUTPRE)gss.obj $(OUTPRE)gss-client.obj $(OUTPRE)gss-misc.obj
+##WIN32##XOBJS = $(OUTPRE)resource.obj
##### Options
-DEBUG = 1
+# Set NODEBUG if building release instead of debug
BUILDTOP =..\..
INCLUDES = /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
##### C Compiler
-!if $(DEBUG)
-CFLAGS = $(CCOPTS2) $(INCLUDES) /Zi
-!else
CFLAGS = $(CCOPTS2) $(INCLUDES)
-!endif
##### RC Compiler
##WIN16##RFLAGS = /nologo $(INCLUDES)
@@ -26,40 +22,39 @@ LINK = link
LIBS = $(GLIB) $(CLIB) $(WLIB)
##WIN16##SYSLIBS = libw llibcew
##WIN32##SYSLIBS = kernel32.lib wsock32.lib user32.lib gdi32.lib comdlg32.lib
-!if $(DEBUG)
-##WIN16##LFLAGS = /co /nologo /nod /nopackcode /map:full
-##WIN32##LFLAGS = /nologo /debug
-!else
+!ifdef NODEBUG
##WIN16##LFLAGS = /nologo /nod /nopackcode
-##WIN32##LFLAGS = /nologo
+!else
+##WIN16##LFLAGS = /co /nologo /nod /nopackcode /map:full
!endif
+##WIN32##LFLAGS = /nologo $(LOPTS)
-all:: makefile gss.exe
+all:: makefile $(OUTPRE)gss.exe
-gss.exe: $*.def $(OBJS) $(XOBJS) $(LIBS)
+$(OUTPRE)gss.exe: gss.def $(OBJS) $(XOBJS) $(LIBS)
##WIN16## $(LINK) $(LFLAGS) $(OBJS), $@, $*.map, \
-##WIN16## $(LIBS) $(SYSLIBS), $*.def
+##WIN16## $(LIBS) $(SYSLIBS), gss.def
##WIN16## $(RC) $(RFLAGS) /k -DGSS_APP $*.rc $@
##WIN32## $(LINK) $(LFLAGS) /map:$*.map /out:$@ $(OBJS) $(XOBJS) \
##WIN32## $(LIBS) $(SYSLIBS)
-##WIN32##gss.res: gss.rc
-##WIN32## $(RC) $(RFLAGS) -D_WIN32 -DGSS_APP /r $*.rc
+##WIN32##$(OUTPRE)gss.res: gss.rc
+##WIN32## $(RC) $(RFLAGS) -D_WIN32 -DGSS_APP -fo $@ /r gss.rc
-##WIN32##resource.obj: gss.res
-##WIN32## $(CVTRES) /nologo /out:$@ gss.res
+##WIN32##$(OUTPRE)resource.obj: $(OUTPRE)gss.res
+##WIN32## $(CVTRES) /nologo /out:$@ $(OUTPRE)gss.res
-$(OBJS) gss.res: gss.h
+$(OBJS) $(OUTPRE)gss.res: gss.h
install::
- copy gss.exe ..\floppy
+ copy $(OUTPRE)gss.exe ..\floppy
clean::
- if exist *.exe del *.exe
+ if exist $(OUTPRE)*.exe del $(OUTPRE)*.exe
if exist ..\floppy\gss.exe del ..\floppy\gss.exe
- if exist *.obj del *.obj
- if exist *.res del *.res
- if exist *.map del *.map
- if exist *.pdb del *.pdb
+ if exist $(OUTPRE)*.obj del $(OUTPRE)*.obj
+ if exist $(OUTPRE)*.res del $(OUTPRE)*.res
+ if exist $(OUTPRE)*.map del $(OUTPRE)*.map
+ if exist $(OUTPRE)*.pdb del $(OUTPRE)*.pdb
if exist *.err del *.err