xref: /AOO41X/main/setup_native/source/win32/customactions/rebase/makefile.mk (revision 54628ca40d27d15cc98fe861da7fff7e60c2f7d6)
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
24PRJ=..$/..$/..$/..
25PRJNAME=setup_native
26TARGET=rebase
27
28# --- Settings -----------------------------------------------------
29
30LIBTARGET=NO
31ENABLE_EXCEPTIONS=TRUE
32NO_DEFAULT_STL=TRUE
33DYNAMIC_CRT=
34USE_DEFFILE=TRUE
35MINGW_NODLL=YES
36
37.INCLUDE : settings.mk
38
39.IF "$(USE_SYSTEM_STL)" != "YES"
40CFLAGS+=-D_STLP_USE_STATIC_LIB
41.ENDIF
42
43UWINAPILIB=
44
45# --- Files --------------------------------------------------------
46
47.IF "$(GUI)"=="WNT"
48
49STDSHL += \
50    $(ADVAPI32LIB)\
51    $(SHELL32LIB)\
52    $(MSILIB)
53
54.IF "$(USE_SYSTEM_STL)" != "YES"
55STDSHL += $(LIBSTLPORTST)
56.ENDIF
57
58.IF "$(COM)"=="GCC"
59STDSHL+=    \
60    $(KERNEL32LIB)\
61    -lmsvcrt \
62    $(PSDK_HOME)$/lib$/imagehlp.lib
63.ELSE
64STDSHL+=    \
65    Imagehlp.lib
66.ENDIF
67
68SHL1OBJS =  \
69    $(SLO)$/rebase.obj
70
71SHL1TARGET = $(TARGET)
72SHL1IMPLIB = i$(TARGET)
73
74SHL1DEF = $(MISC)$/$(SHL1TARGET).def
75SHL1BASE = 0x1c000000
76DEF1NAME=$(SHL1TARGET)
77SHL1DEPN=$(SHL1OBJS)
78DEF1EXPORTFILE=$(TARGET).dxp
79
80.ENDIF
81
82# --- Targets --------------------------------------------------------------
83
84.INCLUDE : target.mk
85
86# -------------------------------------------------------------------------
87