blob: fcfee6cc7ec5580229c27e3386b02d14d14bda56 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# makefile: Constructs the Kerberos for Windows ticket manager
# Works for both k4 and k5 releases.
#
OBJS = $(OUTPRE)gss.obj $(OUTPRE)gss-client.obj $(OUTPRE)gss-misc.obj
RESFILE = $(OUTPRE)gss.res
XOBJS = $(RESFILE)
##### Options
# Set NODEBUG if building release instead of debug
BUILDTOP=..\..
INCLUDES= /I$(BUILDTOP)\include /I$(BUILDTOP)\include\krb5
##### C Compiler
CFLAGS = $(CCOPTS2) $(INCLUDES)
##### RC Compiler
RFLAGS = $(INCLUDES)
RCFLAGS = $(RFLAGS) -D_WIN32 -DGSS_APP
##### Linker
LINK = link
LIBS = $(GLIB) $(CLIB) $(WLIB)
SYSLIBS = kernel32.lib wsock32.lib user32.lib gdi32.lib comdlg32.lib
LFLAGS = /nologo $(LOPTS)
all:: Makefile $(OUTPRE)gss.exe
$(OUTPRE)gss.exe: gss.def $(OBJS) $(XOBJS) $(LIBS)
$(LINK) $(LFLAGS) /map:$*.map /out:$@ $(OBJS) $(XOBJS) \
$(LIBS) $(SYSLIBS)
$(OBJS) $(XOBJS): gss.h
$(RESFILE): ..\version.rc
install::
copy $(OUTPRE)gss.exe ..\floppy
clean::
if exist $(OUTPRE)*.exe del $(OUTPRE)*.exe
if exist ..\floppy\gss.exe del ..\floppy\gss.exe
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
|