xref: /aoo42x/main/solenv/inc/startup/wnt/macros.mk (revision bb113e63)
1*bb113e63SAndrew Rist# *************************************************************
2*bb113e63SAndrew Rist#
3*bb113e63SAndrew Rist#  Licensed to the Apache Software Foundation (ASF) under one
4*bb113e63SAndrew Rist#  or more contributor license agreements.  See the NOTICE file
5*bb113e63SAndrew Rist#  distributed with this work for additional information
6*bb113e63SAndrew Rist#  regarding copyright ownership.  The ASF licenses this file
7*bb113e63SAndrew Rist#  to you under the Apache License, Version 2.0 (the
8*bb113e63SAndrew Rist#  "License"); you may not use this file except in compliance
9*bb113e63SAndrew Rist#  with the License.  You may obtain a copy of the License at
10*bb113e63SAndrew Rist#
11*bb113e63SAndrew Rist#    http://www.apache.org/licenses/LICENSE-2.0
12*bb113e63SAndrew Rist#
13*bb113e63SAndrew Rist#  Unless required by applicable law or agreed to in writing,
14*bb113e63SAndrew Rist#  software distributed under the License is distributed on an
15*bb113e63SAndrew Rist#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*bb113e63SAndrew Rist#  KIND, either express or implied.  See the License for the
17*bb113e63SAndrew Rist#  specific language governing permissions and limitations
18*bb113e63SAndrew Rist#  under the License.
19*bb113e63SAndrew Rist#
20*bb113e63SAndrew Rist# *************************************************************
21cdf0e10cSrcweir# Define additional MSDOS specific settings.
22cdf0e10cSrcweir#
23cdf0e10cSrcweir
24cdf0e10cSrcweir# --- Set Wrapper command ---
25cdf0e10cSrcweir# Provide a macro that can be used to access the wrapper and to avoid
26cdf0e10cSrcweir# hardcoding the program name everywhere
27cdf0e10cSrcweirGUWCMD*=guw.exe
28cdf0e10cSrcweir
29cdf0e10cSrcweir# This is a no-op for native W32 dmake
30cdf0e10cSrcweir.WINPATH !:= yes
31cdf0e10cSrcweir
32cdf0e10cSrcweir# Directory cache configuration.
33cdf0e10cSrcweir.DIRCACHE  *:= no
34cdf0e10cSrcweir
35cdf0e10cSrcweir# Applicable suffix definitions
36cdf0e10cSrcweirE *:= .exe	# Executables
37cdf0e10cSrcweir
38cdf0e10cSrcweir# This is hopefully not used. Only in: dmake/msdos/spawn.c
39cdf0e10cSrcweir#  .MKSARGS         *:= yes
40cdf0e10cSrcweir   DIVFILE          *=  $(TMPFILE:s,/,${__.DIVSEP-sh-${USESHELL}})
41cdf0e10cSrcweir   RM               *=  $/bin$/rm
42cdf0e10cSrcweir   MV	            *=  $/bin$/mv
43cdf0e10cSrcweir   __.DIVSEP-sh-yes *:= \\\
44cdf0e10cSrcweir   __.DIVSEP-sh-no  *:= \\
45cdf0e10cSrcweir   DIRSEPSTR :=/
46cdf0e10cSrcweir
47cdf0e10cSrcweir.EXPORT : GUWCMD
48cdf0e10cSrcweir
49cdf0e10cSrcweir# Does not respect case of filenames.
50cdf0e10cSrcweir.DIRCACHERESPCASE := no
51cdf0e10cSrcweirNAMEMAX	=	256
52cdf0e10cSrcweir
53