summaryrefslogtreecommitdiffstats
path: root/src/windows/gss/Makefile.in
blob: 29c5c7bead192d1ce1d434d0e348fa65506e1848 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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

##### Options
DEBUG 	 = 1
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)
##WIN32##RFLAGS 	 = $(INCLUDES)


##### Linker
LINK 	 = link
LIBS 	 = $(GLIB) $(CLIB) $(WLIB)
##WIN16##SYSLIBS  = libw llibcew
##WIN32##SYSLIBS  = libc.lib kernel32.lib wsock32.lib user32.lib \
##WIN32##	gdi32.lib comdlg32.lib
!if $(DEBUG)
##WIN16##LFLAGS = /co /nologo /nod /nopackcode /map:full
##WIN32##LFLAGS = /nologo /nod /debug
!else
##WIN16##LFLAGS = /nologo /nod /nopackcode
##WIN32##LFLAGS = /nologo /nod
!endif

all:: makefile gss.exe

gss.exe: $*.def $*.res $(OBJS) $(XOBJS) $(LIBS)
##WIN16##	$(LINK) $(LFLAGS) $(OBJS), $@, $*.map, \
##WIN16##	  $(LIBS) $(SYSLIBS), $*.def
##WIN16##	$(RC) $(RFLAGS) /k $*.res $@
##WIN32##	$(LINK) $(LFLAGS) /map:$*.map /out:$@ $(OBJS) $(XOBJS) \
##WIN32##	  $(LIBS) $(SYSLIBS)

##WIN32##gss.res: gss.rc
##WIN32##	$(RC) $(RFLAGS) /r $*.rc

##WIN32##resource.obj: gss.res
##WIN32##	$(CVTRES) /nologo /out:$@ gss.res

$(OBJS) gss.res: gss.h

install::
	copy gss.exe ..\floppy

clean:: 
	if exist *.exe del *.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 *.err del *.err