~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/windows/kfwlogon/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman, Russ Allbery, Sam Hartman
  • Date: 2008-08-21 10:41:41 UTC
  • mfrom: (11.1.15 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080821104141-a0f9c4o4cpo8xd0o
Tags: 1.6.dfsg.4~beta1-4
[ Russ Allbery ]
* Translation updates:
  - Swedish, thanks Martin Bagge.  (Closes: #487669, #491774)
  - Italian, thanks Luca Monducci.  (Closes: #493962)

[ Sam Hartman ]
* Translation Updates:
    - Dutch, Thanks Vincent Zweije, Closes: #495733

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile for the KFW Network Provider
2
 
#
3
 
 
4
 
thisconfigdir=./..
5
 
myfulldir=windows/nplogon
6
 
mydir=.
7
 
BUILDTOP=$(REL)..$(S)..
8
 
DEFINES = 
9
 
LOCALINCLUDES = -I$(BUILDTOP) -I$(PISMERE)\athena\util\loadfuncs \
10
 
        -I$(PISMERE)\athena\auth\krb5\src\include\kerberosIV \
11
 
        -I$(PISMERE)\athena\auth\krb4\include \
12
 
        -I$(PISMERE)\athena\auth\leash\include
13
 
PROG_LIBPATH=-L$(TOPLIBD) -L$(KRB5_LIBDIR)
14
 
 
15
 
SYSLIBS = kernel32.lib user32.lib advapi32.lib wsock32.lib secur32.lib userenv.lib
16
 
RFLAGS = $(LOCALINCLUDES)
17
 
RCFLAGS = $(RFLAGS) -D_WIN32
18
 
 
19
 
all-windows:: $(OUTPRE)kfwlogon.dll $(OUTPRE)kfwcpcc.exe
20
 
 
21
 
$(OUTPRE)kfwlogon.res: kfwlogon.rc ..\version.rc
22
 
 
23
 
$(OUTPRE)kfwcpcc.res: kfwcpcc.rc ..\version.rc
24
 
 
25
 
$(OUTPRE)kfwlogon.dll: $(OUTPRE)kfwlogon.obj $(OUTPRE)kfwcommon.obj $(OUTPRE)kfwlogon.res
26
 
    link $(DLL_LINKOPTS) -out:$@ $(OUTPRE)kfwlogon.obj $(OUTPRE)kfwcommon.obj -entry:DllEntryPoint -def:kfwlogon.def $(SYSLIBS) $(KLIB) $(CLIB)
27
 
 
28
 
$(OUTPRE)kfwcpcc.exe: $(OUTPRE)kfwcpcc.obj $(OUTPRE)kfwcommon.obj $(OUTPRE)kfwcpcc.res
29
 
    link $(EXE_LINKOPTS) -out:$@ $(OUTPRE)kfwcpcc.obj $(OUTPRE)kfwcommon.obj $(SYSLIBS) $(KLIB) $(CLIB)
30
 
 
31
 
install::
32
 
        copy $(OUTPRE)kfwlogon.dll $(DESTDIR)
33
 
        copy $(OUTPRE)kfwcpcc.exe  $(DESTDIR)
34
 
 
35
 
clean::
36
 
        $(RM) $(OUTPRE)*.exe $(OUTPRE)*.dll $(OUTPRE)*.res
37
 
 
 
1
# Makefile for the KFW Network Provider
 
2
#
 
3
 
 
4
thisconfigdir=./..
 
5
myfulldir=windows/nplogon
 
6
mydir=.
 
7
BUILDTOP=$(REL)..$(S)..
 
8
DEFINES = 
 
9
LOCALINCLUDES = -I$(BUILDTOP) -I$(PISMERE)\athena\util\loadfuncs \
 
10
        -I$(PISMERE)\athena\auth\krb5\src\include\kerberosIV \
 
11
        -I$(PISMERE)\athena\auth\krb4\include \
 
12
        -I$(PISMERE)\athena\auth\leash\include
 
13
PROG_LIBPATH=-L$(TOPLIBD) -L$(KRB5_LIBDIR)
 
14
 
 
15
SYSLIBS = kernel32.lib user32.lib advapi32.lib wsock32.lib secur32.lib userenv.lib
 
16
 
 
17
VERSIONRC = $(BUILDTOP)\windows\version.rc
 
18
RCFLAGS=$(CPPFLAGS) -I$(SRCTOP) -D_WIN32 -DRES_ONLY
 
19
 
 
20
KFWLOGON=$(OUTPRE)kfwlogon.dll
 
21
KFWCPCC=$(OUTPRE)kfwcpcc.exe
 
22
 
 
23
LIBRES=$(KFWLOGON:.dll=.res)
 
24
EXERES=$(KFWCPCC:.exe=.res)
 
25
 
 
26
$(LIBRES): $(VERSIONRC)
 
27
        $(RC) $(RCFLAGS) -DKFWLOGON_LIB -fo $@ -r $**
 
28
$(EXERES): $(VERSIONRC)
 
29
        $(RC) $(RCFLAGS) -DKFWCPCC_APP -fo $@ -r $**
 
30
 
 
31
all-windows:: $(OUTPRE)kfwlogon.dll $(OUTPRE)kfwcpcc.exe
 
32
 
 
33
$(KFWLOGON): $(OUTPRE)kfwlogon.obj $(OUTPRE)kfwcommon.obj $(LIBRES)
 
34
    link $(DLL_LINKOPTS) -out:$@ $(OUTPRE)kfwlogon.obj $(OUTPRE)kfwcommon.obj -entry:DllEntryPoint -def:kfwlogon.def $(SYSLIBS) $(KLIB) $(CLIB) $(SCLIB) $(LIBRES)
 
35
    $(_VC_MANIFEST_EMBED_DLL)
 
36
 
 
37
$(KFWCPCC): $(OUTPRE)kfwcpcc.obj $(OUTPRE)kfwcommon.obj $(EXERES)
 
38
    link $(EXE_LINKOPTS) -out:$@ $(OUTPRE)kfwcpcc.obj $(OUTPRE)kfwcommon.obj $(SYSLIBS) $(KLIB) $(CLIB) $(SCLIB) $(EXERES)
 
39
    $(_VC_MANIFEST_EMBED_EXE)
 
40
 
 
41
install::
 
42
        copy $(OUTPRE)kfwlogon.dll $(DESTDIR)
 
43
        copy $(OUTPRE)kfwcpcc.exe  $(DESTDIR)
 
44
 
 
45
clean::
 
46
        $(RM) $(OUTPRE)*.exe $(OUTPRE)*.dll $(OUTPRE)*.res
 
47