Fix TGS client to request renewable/forwardable/proxiable if possible
[heimdal.git] / base / NTMakefile
blob87abf3b9357e6acd88448589466d501874d90a01
1 ########################################################################
3 # Copyright (c) 2010, Secure Endpoints Inc.
4 # All rights reserved.
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
10 # - Redistributions of source code must retain the above copyright
11 #   notice, this list of conditions and the following disclaimer.
13 # - Redistributions in binary form must reproduce the above copyright
14 #   notice, this list of conditions and the following disclaimer in
15 #   the documentation and/or other materials provided with the
16 #   distribution.
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22 # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 # POSSIBILITY OF SUCH DAMAGE.
32 RELDIR=base
34 intcflags=-I$(SRCDIR) -I$(OBJ)
36 !include ../windows/NTMakefile.w32
38 INCFILES=$(INCDIR)\heimbase.h
40 test_binaries = $(OBJ)\test_base.exe
42 libheimbase_OBJS =              \
43         $(OBJ)\array.obj        \
44         $(OBJ)\bool.obj         \
45         $(OBJ)\bsearch.obj      \
46         $(OBJ)\data.obj         \
47         $(OBJ)\db.obj           \
48         $(OBJ)\dict.obj         \
49         $(OBJ)\error.obj        \
50         $(OBJ)\heimbase.obj     \
51         $(OBJ)\json.obj         \
52         $(OBJ)\null.obj         \
53         $(OBJ)\number.obj       \
54         $(OBJ)\string.obj
56 $(LIBHEIMBASE): $(libheimbase_OBJS)
57         $(LIBCON_C) -OUT:$@ $(LIBROKEN) @<<
58 $(libheimbase_OBJS: =
62 test:: test-binaries test-run
64 test-run:
65         cd $(OBJ)
66         test_base.exe
67         cd $(SRCDIR)
69 all:: $(INCFILES) $(LIBHEIMBASE)
71 clean::
72         -$(RM) $(INCFILES)
74 test-binaries: $(test_binaries)
76 $(test_binaries): $$(@R).obj $(LIBHEIMBASE) $(LIBVERS) $(LIBROKEN)
77         $(EXECONLINK)
78         $(EXEPREP_NODIST)
80 $(test_binaries:.exe=.obj): $$(@B).c
81         $(C2OBJ_C) -Fo$@ -Fd$(@D)\ $** -DBlah