xref: /aoo42x/main/soltools/mkdepend/makefile.mk (revision 23f1be86)
1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23
24PRJNAME=soltools
25TARGET=make_makedepend
26PRJ=..
27TARGETTYPE=CUI
28LIBTARGET=NO
29# noadjust here to have dependencies over there
30noadjust=TRUE
31nodep=true
32ENABLE_EXCEPTIONS=TRUE
33
34# "mkdepend" is written in K&R style C. Modern compilers will generate
35# lots of warning. There is no point in cleaning this up, so we just
36# ignore warnings
37EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
38
39.INCLUDE : $(PRJ)$/util$/makefile.pmk
40.INCLUDE : settings.mk
41
42LIBSALCPPRT=
43UWINAPILIB=
44
45CDEFS+=-DNO_X11 -DXP_PC -DHW_THREADS
46
47OBJFILES=  \
48		$(OBJ)$/cppsetup.obj \
49		$(OBJ)$/ifparser.obj \
50		$(OBJ)$/include.obj \
51		$(OBJ)$/main.obj \
52		$(OBJ)$/parse.obj \
53		$(OBJ)$/pr.obj \
54		$(OBJ)$/collectdircontent.obj \
55		$(NULL)
56
57APP1TARGET=makedepend
58APP1OBJS=$(OBJFILES)
59APP1RPATH=NONE
60
61.IF "$(COM)"=="MSC"
62APP1STDLIBS+=msvcprt.lib
63.ENDIF                        # "$(COM)"=="MSC"
64
65.IF "$(OS)"=="SOLARIS"
66#APP1STDLIBS+=-lstlport
67APP1STDLIBS+=-lCstd
68.ENDIF
69
70
71.INCLUDE : target.mk
72
73
74