~ubuntu-branches/ubuntu/precise/krb5/precise-updates

« back to all changes in this revision

Viewing changes to src/windows/identity/config/Makefile

  • Committer: Package Import Robot
  • Author(s): Sam Hartman
  • Date: 2011-12-01 19:34:41 UTC
  • mfrom: (28.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20111201193441-9tipg3aru1jsidyv
Tags: 1.10+dfsg~alpha1-6
* Fix segfault with unknown hostnames in krb5_sname_to_principal,
  Closes: #650671
* Indicate that this library breaks libsmbclient versions that depend on
  krb5_locate_kdc, Closes: #650603, #650611

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Copyright (c) 2004,2005,2006 Massachusetts Institute of Technology
3
 
# Copyright (c) 2006 Secure Endpoints Inc.
4
 
#
5
 
# Permission is hereby granted, free of charge, to any person
6
 
# obtaining a copy of this software and associated documentation files
7
 
# (the "Software"), to deal in the Software without restriction,
8
 
# including without limitation the rights to use, copy, modify, merge,
9
 
# publish, distribute, sublicense, and/or sell copies of the Software,
10
 
# and to permit persons to whom the Software is furnished to do so,
11
 
# subject to the following conditions:
12
 
#
13
 
# The above copyright notice and this permission notice shall be
14
 
# included in all copies or substantial portions of the Software.
15
 
#
16
 
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
 
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
 
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
 
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
20
 
# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
21
 
# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
22
 
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
 
# SOFTWARE.
24
 
 
25
 
 
26
 
MODULE=config
27
 
!include <Makefile.w32>
28
 
 
29
 
all: showvars showvers mkalldirs mkversion
30
 
 
31
 
showvars:
32
 
        $(ECHO) SRC= $(SRC)
33
 
        $(ECHO) DESTDIR = $(DESTDIR)
34
 
        $(ECHO) OBJDIR = $(OBJDIR)
35
 
        $(ECHO).
36
 
        $(ECHO) CC = $(CC)
37
 
        $(ECHO) DOXYGEN = $(DOXYGEN)
38
 
        $(ECHO) HHC = $(HHC)
39
 
 
40
 
showvers:
41
 
        $(ECHO) ---- Version Information ----
42
 
        $(ECHO) NETIDMGR_VERSION=    $(NETIDMGR_VERSION)
43
 
        $(ECHO) NETIDMGR_VERSION_API=$(NETIDMGR_VERSION_API)
44
 
        $(ECHO) NETIDMGR_RELEASEDESC=$(NETIDMGR_RELEASEDESC)
45
 
        $(ECHO) Build Type          :$(KH_BUILD), $(KH_RELEASE)
46
 
        $(ECHO) Strings:
47
 
        $(ECHO) Company    = $(NETIDMGR_SRC_COMPANY_1033)
48
 
        $(ECHO) Copyright  = $(NETIDMGR_SRC_COPYRIGHT_1033)
49
 
        $(ECHO) ---- End Version Information ---
50
 
        $(ECHO).
51
 
 
52
 
mkalldirs:
53
 
!       if !exist($(DESTROOT))
54
 
        -$(MKDIR) $(DESTROOT)
55
 
!       endif
56
 
!       if !exist($(OBJROOT))
57
 
        -$(MKDIR) $(OBJROOT)
58
 
!       endif
59
 
!       if !exist($(DESTDIR))
60
 
        -$(MKDIR) $(DESTDIR)
61
 
!       endif
62
 
!       if !exist($(OBJDIR))
63
 
        -$(MKDIR) $(OBJDIR)
64
 
!       endif
65
 
!       if !exist($(INCDIR))
66
 
        -$(MKDIR) $(INCDIR)
67
 
!       endif
68
 
!       if !exist($(BINDIR))
69
 
        -$(MKDIR) $(BINDIR)
70
 
!       endif
71
 
!       if !exist($(LIBDIR))
72
 
        -$(MKDIR) $(LIBDIR)
73
 
!       endif
74
 
!       if !exist($(DOCDIR))
75
 
        -$(MKDIR) $(DOCDIR)
76
 
!       endif
77
 
!       if !exist($(OBJDIR)\W2K)
78
 
        -$(MKDIR) $(OBJDIR)\W2K
79
 
!       endif
80
 
!       if !exist($(BINDIR)\W2K)
81
 
        -$(MKDIR) $(BINDIR)\W2K
82
 
!       endif
83
 
!       if !exist($(LIBDIR)\W2K)
84
 
        -$(MKDIR) $(LIBDIR)\W2K
85
 
!       endif
86
 
        $(ECHO) Done creating directories.
87
 
 
88
 
VERSIONINT=$(INCDIR)\netidmgr_intver.h
89
 
 
90
 
VERSIONEXT=$(INCDIR)\netidmgr_version.h
91
 
 
92
 
# Version related defines
93
 
 
94
 
! if "$(KH_BUILD)"=="RETAIL"
95
 
kh_fileflags=0
96
 
! else
97
 
kh_fileflags=VS_FF_DEBUG
98
 
! endif
99
 
! if "$(KH_RELEASE)"=="PRERELEASE"
100
 
kh_fileflags=$(kh_fileflags) | VS_FF_PRERELEASE
101
 
! elseif "$(KH_RELEASE)"=="PRIVATE"
102
 
kh_fileflags=$(kh_fileflags) | VS_FF_PRIVATEBUILD
103
 
! elseif "$(KH_RELEASE)"=="SPECIAL"
104
 
kh_fileflags=$(kh_fileflags) | VS_FF_SPECIALBUILD
105
 
! endif
106
 
 
107
 
kh_fileos=VOS_NT_WINDOWS32
108
 
kh_filetype_app=VFT_APP
109
 
kh_filetype_dll=VFT_DLL
110
 
 
111
 
mkversion: $(VERSIONINT) $(VERSIONEXT)
112
 
 
113
 
# Version and build strings
114
 
 
115
 
!if "$(KH_RELEASE)" == "OFFICIAL"
116
 
NETIDMGR_VERSION_STR_1033=$(NETIDMGR_VERSION)
117
 
NETIDMGR_COMMENT_STR_1033=Official build.  Please send bug reports to kfw-bugs@MIT.EDU
118
 
!elseif "$(KH_RELEASE)" == "PRERELEASE"
119
 
NETIDMGR_VERSION_STR_1033=$(NETIDMGR_VERSION) Prelease $(NETIDMGR_RELEASEDESC)
120
 
NETIDMGR_COMMENT_STR_1033=Prerelease build.  Please send bug reports to kfw-bugs@MIT.EDU
121
 
!elseif "$(KH_RELEASE)" == "PRIVATE"
122
 
NETIDMGR_VERSION_STR_1033=$(NETIDMGR_VERSION).PRIVATE
123
 
NETIDMGR_PRIVATE_STR_1033=Private build.  Please send bug reports to kfw-bugs@MIT.EDU
124
 
!elseif "$(KH_RELEASE)" == "SPECIAL"
125
 
NETIDMGR_VERSION_STR_1033=$(NETIDMGR_VERSION).SPECIAL
126
 
NETIDMGR_SPECIAL_STR_1033=Special build.  Please send bug reports to kfw-bugs@MIT.EDU
127
 
!endif
128
 
 
129
 
!if "$(KH_BUILD)" == "DEBUG"
130
 
NETIDMGR_VERSION_STR_1033=$(NETIDMGR_VERSION_STR_1033).DEBUG
131
 
!else
132
 
!endif
133
 
 
134
 
NETIDMGR_PRODUCT_1033=NetIDMgr $(NETIDMGR_VERSION_STR_1033)
135
 
 
136
 
!include netidmgr_version.h.in
137
 
 
138
 
!include netidmgr_intver.h.in
139
 
 
140
 
clean::
141
 
!       if exist($(VERSIONINT))
142
 
        $(RM) $(VERSIONINT)
143
 
!       endif
144
 
!       if exist($(VERSIONEXT))
145
 
        $(RM) $(VERSIONEXT)
146
 
!       endif
147