xref: /aoo41x/main/shell/source/win32/makefile.mk (revision 7871dc3e)
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=shell
26TARGET=syssh
27LIBTARGET=NO
28ENABLE_EXCEPTIONS=TRUE
29COMP1TYPELIST=$(TARGET)
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :  settings.mk
34
35# --- Files --------------------------------------------------------
36
37SLOFILES=$(SLO)$/SysShentry.obj\
38		 $(SLO)$/SysShExec.obj
39
40SHL1TARGET=$(TARGET).uno
41
42SHL1STDLIBS=$(CPPULIB)\
43			$(CPPUHELPERLIB)\
44			$(SALLIB)\
45			$(UWINAPILIB) \
46			$(ADVAPI32LIB) \
47			$(OLE32LIB) \
48			$(SHELL32LIB)
49
50SHL1DEPN=
51SHL1IMPLIB=i$(SHL1TARGET)
52
53SHL1OBJS=$(SLOFILES)
54SHL1DEF=$(MISC)$/$(SHL1TARGET).def
55
56DEF1NAME=$(SHL1TARGET)
57DEF1EXPORTFILE=	exports.dxp
58
59
60# --- Targets ------------------------------------------------------
61
62.INCLUDE :	target.mk
63INCLUDE!:=$(subst,/stl, $(INCLUDE))
64.EXPORT : INCLUDE
65
66
67ALLTAR : $(MISC)/syssh.component
68
69$(MISC)/syssh.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
70        syssh.component
71    $(XSLTPROC) --nonet --stringparam uri \
72        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
73        $(SOLARENV)/bin/createcomponent.xslt syssh.component
74