1*6a653dafSJuergen Schmidt#**************************************************************
2*6a653dafSJuergen Schmidt#
3*6a653dafSJuergen Schmidt#  Licensed to the Apache Software Foundation (ASF) under one
4*6a653dafSJuergen Schmidt#  or more contributor license agreements.  See the NOTICE file
5*6a653dafSJuergen Schmidt#  distributed with this work for additional information
6*6a653dafSJuergen Schmidt#  regarding copyright ownership.  The ASF licenses this file
7*6a653dafSJuergen Schmidt#  to you under the Apache License, Version 2.0 (the
8*6a653dafSJuergen Schmidt#  "License"); you may not use this file except in compliance
9*6a653dafSJuergen Schmidt#  with the License.  You may obtain a copy of the License at
10*6a653dafSJuergen Schmidt#
11*6a653dafSJuergen Schmidt#    http://www.apache.org/licenses/LICENSE-2.0
12*6a653dafSJuergen Schmidt#
13*6a653dafSJuergen Schmidt#  Unless required by applicable law or agreed to in writing,
14*6a653dafSJuergen Schmidt#  software distributed under the License is distributed on an
15*6a653dafSJuergen Schmidt#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*6a653dafSJuergen Schmidt#  KIND, either express or implied.  See the License for the
17*6a653dafSJuergen Schmidt#  specific language governing permissions and limitations
18*6a653dafSJuergen Schmidt#  under the License.
19*6a653dafSJuergen Schmidt#
20*6a653dafSJuergen Schmidt#**************************************************************
21*6a653dafSJuergen Schmidt
22*6a653dafSJuergen SchmidtCALL_CDECL=TRUE
23*6a653dafSJuergen Schmidt
24*6a653dafSJuergen SchmidtPRJ=..$/..
25*6a653dafSJuergen SchmidtPRJNAME=extensions
26*6a653dafSJuergen SchmidtTARGET=mozbootstrap
27*6a653dafSJuergen Schmidt
28*6a653dafSJuergen Schmidt.IF "$(OS)" == "OS2" || "$(OS)" == "WNT"
29*6a653dafSJuergen Schmidtall:
30*6a653dafSJuergen Schmidt	@echo "    Not building under Windows / OS/2"
31*6a653dafSJuergen Schmidt.ENDIF
32*6a653dafSJuergen Schmidt
33*6a653dafSJuergen Schmidt# --- Settings ----------------------------------
34*6a653dafSJuergen Schmidt
35*6a653dafSJuergen SchmidtLIBTARGET=NO
36*6a653dafSJuergen SchmidtENABLE_EXCEPTIONS=TRUE
37*6a653dafSJuergen SchmidtVISIBILITY_HIDDEN=TRUE
38*6a653dafSJuergen Schmidt
39*6a653dafSJuergen Schmidt.INCLUDE : settings.mk
40*6a653dafSJuergen Schmidt
41*6a653dafSJuergen Schmidt# no "lib" prefix
42*6a653dafSJuergen SchmidtDLLPRE =
43*6a653dafSJuergen Schmidt
44*6a653dafSJuergen Schmidt# --- Files -------------------------------------
45*6a653dafSJuergen Schmidt
46*6a653dafSJuergen SchmidtSLOFILES += \
47*6a653dafSJuergen Schmidt	$(SLO)$/MNSINIParser.obj \
48*6a653dafSJuergen Schmidt	$(SLO)$/MNSProfileDiscover.obj \
49*6a653dafSJuergen Schmidt	$(SLO)$/MMozillaBootstrap.obj \
50*6a653dafSJuergen Schmidt	$(SLO)$/MNSFolders.obj
51*6a653dafSJuergen Schmidt
52*6a653dafSJuergen Schmidt# CDEFS+=-DMINIMAL_PROFILEDISCOVER
53*6a653dafSJuergen Schmidt
54*6a653dafSJuergen SchmidtSHL1TARGET=$(TARGET).uno
55*6a653dafSJuergen SchmidtSHL1VERSIONMAP=$(SOLARENV)/src/component.map
56*6a653dafSJuergen SchmidtSHL1OBJS=$(SLOFILES)
57*6a653dafSJuergen SchmidtSHL1DEF=$(MISC)$/$(SHL1TARGET).def
58*6a653dafSJuergen SchmidtDEF1NAME=$(SHL1TARGET)
59*6a653dafSJuergen Schmidt
60*6a653dafSJuergen SchmidtSHL1STDLIBS=\
61*6a653dafSJuergen Schmidt        $(CPPULIB)       \
62*6a653dafSJuergen Schmidt        $(CPPUHELPERLIB) \
63*6a653dafSJuergen Schmidt        $(SALLIB)        \
64*6a653dafSJuergen Schmidt        $(COMPHELPERLIB)
65*6a653dafSJuergen Schmidt
66*6a653dafSJuergen SchmidtALLTAR : $(MISC)/mozbootstrap.component
67*6a653dafSJuergen Schmidt
68*6a653dafSJuergen Schmidt$(MISC)/mozbootstrap.component .ERRREMOVE : \
69*6a653dafSJuergen Schmidt	$(SOLARENV)/bin/createcomponent.xslt mozbootstrap.component
70*6a653dafSJuergen Schmidt	$(XSLTPROC) --nonet --stringparam uri \
71*6a653dafSJuergen Schmidt	'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
72*6a653dafSJuergen Schmidt	$(SOLARENV)/bin/createcomponent.xslt mozbootstrap.component
73*6a653dafSJuergen Schmidt
74*6a653dafSJuergen Schmidt# --- Targets ----------------------------------
75*6a653dafSJuergen Schmidt
76*6a653dafSJuergen Schmidt.INCLUDE : target.mk
77