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