OOO330
[LibreOffice.git] / soltools / mkdepend / makefile.mk
blob630c688faba21fe5babe22133aeb0ab4e43a68d6
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
28 PRJNAME=soltools
29 TARGET=make_makedepend
30 PRJ=..
31 TARGETTYPE=CUI
32 LIBTARGET=NO
33 # noadjust here to have dependencies over there
34 noadjust=TRUE
35 nodep=true
36 ENABLE_EXCEPTIONS=TRUE
38 # "mkdepend" is written in K&R style C. Modern compilers will generate
39 # lots of warning. There is no point in cleaning this up, so we just
40 # ignore warnings
41 EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
43 .INCLUDE : $(PRJ)$/util$/makefile.pmk
44 .INCLUDE : settings.mk
46 LIBSALCPPRT=
47 UWINAPILIB=
49 CDEFS+=-DNO_X11 -DXP_PC -DHW_THREADS
51 OBJFILES= \
52 $(OBJ)$/cppsetup.obj \
53 $(OBJ)$/ifparser.obj \
54 $(OBJ)$/include.obj \
55 $(OBJ)$/main.obj \
56 $(OBJ)$/parse.obj \
57 $(OBJ)$/pr.obj \
58 $(OBJ)$/collectdircontent.obj \
59 $(NULL)
61 APP1TARGET=makedepend
62 APP1OBJS=$(OBJFILES)
63 APP1RPATH=NONE
65 .IF "$(COM)"=="MSC"
66 .IF "$(dbgutil)"==""
67 APP1STDLIBS+=msvcprt.lib
68 .ELSE
69 APP1STDLIBS+=msvcprtd.lib
70 CDEFS+=-D_DEBUG
71 .ENDIF # "$(DBG_UTIL)"==""
72 .ENDIF # "$(COM)"=="MSC"
74 .IF "$(OS)"=="SOLARIS"
75 #APP1STDLIBS+=-lstlport
76 APP1STDLIBS+=-lCstd
77 .ENDIF
80 .INCLUDE : target.mk