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=reg4msdocmsi
27
28# --- Settings -----------------------------------------------------
29
30ENABLE_EXCEPTIONS=TRUE
31NO_DEFAULT_STL=TRUE
32DYNAMIC_CRT=
33USE_DEFFILE=TRUE
34MINGW_NODLL=YES
35
36.INCLUDE : settings.mk
37
38CFLAGS+=-DUNICODE -D_UNICODE
39
40# --- Files --------------------------------------------------------
41
42.IF "$(GUI)"=="WNT"
43
44UWINAPILIB=
45
46SLOFILES =	$(SLO)$/msihelper.obj\
47            $(SLO)$/windowsregistry.obj\
48            $(SLO)$/userregistrar.obj\
49            $(SLO)$/stringconverter.obj\
50            $(SLO)$/registrywnt.obj\
51            $(SLO)$/registryw9x.obj\
52            $(SLO)$/registryvalueimpl.obj\
53            $(SLO)$/registryexception.obj\
54            $(SLO)$/registry.obj\
55            $(SLO)$/registrationcontextinformation.obj\
56            $(SLO)$/registrar.obj\
57            $(SLO)$/register.obj\
58            $(SLO)$/reg4msdocmsi.obj
59
60SHL1STDLIBS=	$(KERNEL32LIB)\
61				$(USER32LIB)\
62				$(ADVAPI32LIB)\
63				$(SHELL32LIB)\
64				$(MSILIB)\
65				$(SHLWAPILIB)
66
67SHL1LIBS = $(SLB)$/$(TARGET).lib
68
69SHL1TARGET = $(TARGET)
70SHL1IMPLIB = i$(TARGET)
71
72SHL1DEF = $(MISC)$/$(SHL1TARGET).def
73SHL1DEPN = $(SLB)$/$(TARGET).lib
74SHL1BASE = 0x1c000000
75DEF1NAME=$(SHL1TARGET)
76DEF1EXPORTFILE=exports.dxp
77
78.ENDIF
79
80# --- Targets --------------------------------------------------------------
81
82.INCLUDE : target.mk
83
84# -------------------------------------------------------------------------
85
86