unitools.mk (62840caa) | unitools.mk (534c536d) |
---|---|
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 --- 40 unchanged lines hidden (view full) --- 49 50# iz29675: 4nt must not quote special characters, but tcsh has to. 51# *NIX shells needs to use " quotes, but 4nt must not. 52# EMQ .. extra meta quote (\\ at line end is \) 53# USQ .. unix shell quote 54EMQ:=\\ 55USQ:=" 56 | 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 --- 40 unchanged lines hidden (view full) --- 49 50# iz29675: 4nt must not quote special characters, but tcsh has to. 51# *NIX shells needs to use " quotes, but 4nt must not. 52# EMQ .. extra meta quote (\\ at line end is \) 53# USQ .. unix shell quote 54EMQ:=\\ 55USQ:=" 56 |
57.IF "$(GUI)" == "OS2" 58NULLDEV:=NUL 59.ELSE |
|
57NULLDEV:=/dev/null | 60NULLDEV:=/dev/null |
61.ENDIF |
|
58 59 60# iz29609 helpmacro to check if file exists 61IFEXIST:=if [ -f 62IFNOTEXIST:= if ! test -f 63THEN:= ] ; then 64FI:= ; fi 65PIPEERROR=2>&1 | --- 74 unchanged lines hidden (view full) --- 140ECHON=echo -n 141ECHONL=echo 142.ELIF "$(GUI)"=="OS2" 143SED*=sed 144SORT*=sort 145PERL*=perl 146TYPE=cat 147CDD=@cd | 62 63 64# iz29609 helpmacro to check if file exists 65IFEXIST:=if [ -f 66IFNOTEXIST:= if ! test -f 67THEN:= ] ; then 68FI:= ; fi 69PIPEERROR=2>&1 | --- 74 unchanged lines hidden (view full) --- 144ECHON=echo -n 145ECHONL=echo 146.ELIF "$(GUI)"=="OS2" 147SED*=sed 148SORT*=sort 149PERL*=perl 150TYPE=cat 151CDD=@cd |
148COPY*=$(SHELL) /c copy /b 149COPYRECURSE=/s 150COPYUPDATE=/u | 152COPY=cp -f 153COPYRECURSE=-r 154COPYUPDATE=-u |
151DELAY=sleep 152ECHON*=echos | 155DELAY=sleep 156ECHON*=echos |
153ECHONL=+echo. | 157ECHONL=echo |
154AWK*=awk 155GNUCOPY*=cp 156GNUPATCH*=gnupatch 157GNUMAKE*=make | 158AWK*=awk 159GNUCOPY*=cp 160GNUPATCH*=gnupatch 161GNUMAKE*=make |
158TOUCH=touch /c | 162TOUCH=touch |
159#YD rename doesn't work across different drives! 160RENAME=mv | 163#YD rename doesn't work across different drives! 164RENAME=mv |
161MKDIR=+md 162MKDIRHIER=+md /s | 165MKDIR*=mkdir$E 166MKDIRHIER*=mkdir$E -p |
163GREP=grep 164FIND=find 165LS=ls 166DUMPBIN=echo | 167GREP=grep 168FIND=find 169LS=ls 170DUMPBIN=echo |
1674nt_force_shell:=+ | |
168 169.ENDIF # "$(GUI)"=="UNX" 170 171# (Global) Set if not set before 172DELAY*=sleep 173MKDIR*=mkdir$E 174MKDIRHIER*=mkdir$E -p 175RMDIR*=rmdir --- 14 unchanged lines hidden --- | 171 172.ENDIF # "$(GUI)"=="UNX" 173 174# (Global) Set if not set before 175DELAY*=sleep 176MKDIR*=mkdir$E 177MKDIRHIER*=mkdir$E -p 178RMDIR*=rmdir --- 14 unchanged lines hidden --- |