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
24
25PRJ=..$/..$/..$/..
26
27PRJNAME=shell
28TARGET=shlxthdl
29
30# --- Settings -----------------------------------------------------
31
32.INCLUDE :	settings.mk
33
34INCPRE+=$(MFC_INCLUDE)
35
36# --- Files --------------------------------------------------------
37
38
39RCFILES=$(RES)$/$(TARGET).rc
40
41ULFFILES=$(TARGET).ulf
42
43.IF "$(WITH_LANG)"!=""
44ULFDIR:=$(COMMONMISC)$/$(TARGET)
45.ELSE			# "$(WITH_LANG)"!=""
46ULFDIR:=.
47.ENDIF			# "$(WITH_LANG)"!=""
48
49# --- Targets ------------------------------------------------------
50
51.IF "$(BUILD_X64)"!=""
52$(RES)$/x64$/$(TARGET).res : $(RES)$/$(TARGET).res
53    -$(MKDIR) $(RES)$/x64
54    @@cp $< $@
55.ENDIF # "$(BUILD_X64)"!=""
56
57.INCLUDE :	set_wntx64.mk
58.INCLUDE :	target.mk
59.INCLUDE :	tg_wntx64.mk
60
61
62
63# Generate the native Windows resource file
64# using lngconvex.exe
65
66$(RCFILES) : $(ULFDIR)$/shlxthdl.ulf makefile.mk rcfooter.txt rcheader.txt rctmpl.txt
67    $(subst,$(SOLARBINDIR)$/lngconvex,$(BIN)$/lngconvex $(LNGCONVEX)) -ulf $(ULFDIR)$/shlxthdl.ulf -rc $(RES)$/shlxthdl.rc -rct rctmpl.txt -rch rcheader.txt -rcf rcfooter.txt
68
69