xref: /trunk/main/stoc/source/corereflection/makefile.mk (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27PRJ=..$/..
28
29PRJNAME=    stoc
30TARGET = reflection.uno
31ENABLE_EXCEPTIONS=TRUE
32COMP1TYPELIST = corefl
33
34# --- Settings -----------------------------------------------------
35
36.INCLUDE :  settings.mk
37DLLPRE =
38
39# ------------------------------------------------------------------
40
41.INCLUDE :  ..$/cppumaker.mk
42
43SLOFILES=   \
44        $(SLO)$/crefl.obj   \
45        $(SLO)$/crbase.obj  \
46        $(SLO)$/crarray.obj \
47        $(SLO)$/crcomp.obj  \
48        $(SLO)$/criface.obj \
49        $(SLO)$/crenum.obj
50
51# internal compiler error with Forte 6 update 1 (x86)
52# to be reconsidered after compiler upgrade
53.IF "$(OS)$(CPU)"=="SOLARISI"
54NOOPTFILES += $(SLO)$/criface.obj
55.ENDIF
56
57SHL1TARGET= $(TARGET)
58SHL1VERSIONMAP = $(SOLARENV)/src/unloadablecomponent.map
59SHL1STDLIBS= \
60        $(CPPULIB)      \
61        $(CPPUHELPERLIB)    \
62        $(SALLIB)
63
64SHL1DEPN=
65SHL1IMPLIB= i$(TARGET)
66SHL1LIBS=   $(SLB)$/$(TARGET).lib
67SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
68SHL1RPATH=  URELIB
69
70DEF1NAME=   $(SHL1TARGET)
71
72# --- Targets ------------------------------------------------------
73
74.INCLUDE :  target.mk
75
76ALLTAR : $(MISC)/reflection.component
77
78$(MISC)/reflection.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
79        reflection.component
80    $(XSLTPROC) --nonet --stringparam uri \
81        '$(COMPONENTPREFIX_URE_NATIVE)$(SHL1TARGETN:f)' -o $@ \
82        $(SOLARENV)/bin/createcomponent.xslt reflection.component
83