xref: /aoo41x/main/soltools/mkdepend/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27
28PRJNAME=soltools
29TARGET=make_makedepend
30PRJ=..
31TARGETTYPE=CUI
32LIBTARGET=NO
33# noadjust here to have dependencies over there
34noadjust=TRUE
35nodep=true
36ENABLE_EXCEPTIONS=TRUE
37
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
41EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
42
43.INCLUDE : $(PRJ)$/util$/makefile.pmk
44.INCLUDE : settings.mk
45
46LIBSALCPPRT=
47UWINAPILIB=
48
49CDEFS+=-DNO_X11 -DXP_PC -DHW_THREADS
50
51OBJFILES=  \
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)
60
61APP1TARGET=makedepend
62APP1OBJS=$(OBJFILES)
63APP1RPATH=NONE
64
65.IF "$(COM)"=="MSC"
66.IF "$(dbgutil)"==""
67APP1STDLIBS+=msvcprt.lib
68.ELSE
69APP1STDLIBS+=msvcprtd.lib
70CDEFS+=-D_DEBUG
71.ENDIF                        # "$(DBG_UTIL)"==""
72.ENDIF                        # "$(COM)"=="MSC"
73
74.IF "$(OS)"=="SOLARIS"
75#APP1STDLIBS+=-lstlport
76APP1STDLIBS+=-lCstd
77.ENDIF
78
79
80.INCLUDE : target.mk
81
82
83