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=reg64msi
27
28# --- Settings -----------------------------------------------------
29
30ENABLE_EXCEPTIONS=TRUE
31NO_DEFAULT_STL=TRUE
32DYNAMIC_CRT=
33USE_DEFFILE=TRUE
34EXTERNAL_WARNINGS_NOT_ERRORS := TRUE
35
36.INCLUDE : settings.mk
37
38.IF "$(USE_SYSTEM_STL)" != "YES"
39CFLAGS+=-D_STLP_USE_STATIC_LIB
40.ENDIF
41
42#Disable precompiled header
43CDEFS+=-Dnot_used_define_to_disable_pch
44
45# --- Files --------------------------------------------------------
46
47.IF "$(GUI)"=="WNT"
48
49UWINAPILIB=
50
51SLOFILES = \
52    $(SLO)$/reg64.obj
53
54STDSHL += \
55	$(KERNEL32LIB)\
56	$(USER32LIB)\
57	$(ADVAPI32LIB)\
58	$(SHELL32LIB)\
59	$(MSILIB)\
60	$(SHLWAPILIB)\
61
62#	msvcprt.lib
63
64SHL1TARGET = $(TARGET)
65SHL1IMPLIB = i$(TARGET)
66
67SHL1OBJS=$(SLOFILES)
68SHL1DEF = $(MISC)$/$(SHL1TARGET).def
69SHL1DEPN = $(SLB)$/$(TARGET).lib
70DEF1NAME=$(SHL1TARGET)
71DEF1EXPORTFILE=exports.dxp
72
73.ENDIF
74
75
76# --- mapimailer --------------------------------------------------------
77
78#TARGETTYPE=CUI
79
80#OBJFILES=   $(OBJ)$/reg64.obj
81
82#APP1TARGET=reg64
83#APP1OBJS=$(OBJFILES)
84#APP1STDLIBS=$(KERNEL32LIB)\
85#	$(ADVAPI32LIB)\
86#	$(MSILIB)\
87#   $(SHELL32LIB)\
88#    msvcprt.lib\
89#    $(OLE32LIB)\
90#    $(COMCTL32LIB)\
91#    $(UUIDLIB)
92
93
94#APP1DEF=$(MISC)$/$(APP1TARGET).def
95
96# --- Targets --------------------------------------------------------------
97
98.INCLUDE : target.mk
99INCLUDE!:=$(subst,/stl, $(INCLUDE))
100.EXPORT : INCLUDE
101
102# -------------------------------------------------------------------------
103
104
105