Mercurial > audlegacy-plugins
comparison mk/objective.mk @ 541:db5f05be1752 trunk
[svn] - portability fixes for solaris
author | nenolod |
---|---|
date | Tue, 23 Jan 2007 09:21:15 -0800 |
parents | ed8782827a59 |
children | f19e6748d8eb |
comparison
equal
deleted
inserted
replaced
540:62c4c304a997 | 541:db5f05be1752 |
---|---|
13 @if [ "x$(OVERLAYS)" != "x" ]; then \ | 13 @if [ "x$(OVERLAYS)" != "x" ]; then \ |
14 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ | 14 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ |
15 if [ $(VERBOSITY) -gt 0 ]; then \ | 15 if [ $(VERBOSITY) -gt 0 ]; then \ |
16 echo "[installing overlay: $$i]"; \ | 16 echo "[installing overlay: $$i]"; \ |
17 fi; \ | 17 fi; \ |
18 (pushd $$i > /dev/null; OVERLAYS="" $(MAKE) install || exit; cd ..); \ | 18 cd $$i; OVERLAYS="" $(MAKE) install || exit; cd ..; \ |
19 done; \ | 19 done; \ |
20 fi | 20 fi |
21 @if [ "x$(SUBDIRS)" != "x" ]; then \ | 21 @if [ "x$(SUBDIRS)" != "x" ]; then \ |
22 for i in $(SUBDIRS); do \ | 22 for i in $(SUBDIRS); do \ |
23 if [ $(VERBOSITY) -gt 0 ]; then \ | 23 if [ $(VERBOSITY) -gt 0 ]; then \ |
24 echo "[installing subobjective: $$i]"; \ | 24 echo "[installing subobjective: $$i]"; \ |
25 fi; \ | 25 fi; \ |
26 (cd $$i; OVERLAYS="" $(MAKE) install || exit; cd ..); \ | 26 cd $$i; OVERLAYS="" $(MAKE) install || exit; cd ..; \ |
27 done; \ | 27 done; \ |
28 fi | 28 fi |
29 @if [ "x$(OBJECTIVE_DIRECTORIES)" != "x" ]; then \ | 29 @if [ "x$(OBJECTIVE_DIRECTORIES)" != "x" ]; then \ |
30 for i in $(OBJECTIVE_DIRECTORIES); do \ | 30 for i in $(OBJECTIVE_DIRECTORIES); do \ |
31 printf "%10s %-20s\n" MKDIR $$i; \ | 31 printf "%10s %-20s\n" MKDIR $$i; \ |
71 @if [ "x$(OVERLAYS)" != "x" ]; then \ | 71 @if [ "x$(OVERLAYS)" != "x" ]; then \ |
72 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ | 72 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ |
73 if [ $(VERBOSITY) -gt 0 ]; then \ | 73 if [ $(VERBOSITY) -gt 0 ]; then \ |
74 echo "[cleaning overlay: $$i]"; \ | 74 echo "[cleaning overlay: $$i]"; \ |
75 fi; \ | 75 fi; \ |
76 (pushd $$i > /dev/null; OVERLAYS="" $(MAKE) clean || exit; popd); \ | 76 cd $$i; OVERLAYS="" $(MAKE) clean || exit; cd ..; \ |
77 done; \ | 77 done; \ |
78 fi | 78 fi |
79 @if [ "x$(SUBDIRS)" != "x" ]; then \ | 79 @if [ "x$(SUBDIRS)" != "x" ]; then \ |
80 for i in $(SUBDIRS); do \ | 80 for i in $(SUBDIRS); do \ |
81 if [ $(VERBOSITY) -gt 0 ]; then \ | 81 if [ $(VERBOSITY) -gt 0 ]; then \ |
82 echo "[cleaning subobjective: $$i]"; \ | 82 echo "[cleaning subobjective: $$i]"; \ |
83 fi; \ | 83 fi; \ |
84 (cd $$i; OVERLAYS="" $(MAKE) clean || exit; cd ..); \ | 84 cd $$i; OVERLAYS="" $(MAKE) clean || exit; cd ..; \ |
85 done; \ | 85 done; \ |
86 fi | 86 fi |
87 $(MAKE) clean-posthook | 87 $(MAKE) clean-posthook |
88 rm -f *.o *.lo *.so *.a *.sl .depend-done .depend | 88 rm -f *.o *.lo *.so *.a *.sl .depend-done .depend |
89 touch .depend | 89 touch .depend |
110 @if [ "x$(OVERLAYS)" != "x" ]; then \ | 110 @if [ "x$(OVERLAYS)" != "x" ]; then \ |
111 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ | 111 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ |
112 if [ $(VERBOSITY) -gt 0 ]; then \ | 112 if [ $(VERBOSITY) -gt 0 ]; then \ |
113 echo "[distcleaning overlay: $$i]"; \ | 113 echo "[distcleaning overlay: $$i]"; \ |
114 fi; \ | 114 fi; \ |
115 (pushd $$i > /dev/null; OVERLAYS="" $(MAKE) distclean || exit; popd); \ | 115 cd $$i; OVERLAYS="" $(MAKE) distclean || exit; cd ..; \ |
116 done; \ | 116 done; \ |
117 fi | 117 fi |
118 @if [ "x$(SUBDIRS)" != "x" ]; then \ | 118 @if [ "x$(SUBDIRS)" != "x" ]; then \ |
119 for i in $(SUBDIRS); do \ | 119 for i in $(SUBDIRS); do \ |
120 if [ $(VERBOSITY) -gt 0 ]; then \ | 120 if [ $(VERBOSITY) -gt 0 ]; then \ |
121 echo "[distcleaning subobjective: $$i]"; \ | 121 echo "[distcleaning subobjective: $$i]"; \ |
122 fi; \ | 122 fi; \ |
123 (cd $$i; OVERLAYS="" $(MAKE) distclean || exit; cd ..); \ | 123 cd $$i; OVERLAYS="" $(MAKE) distclean || exit; cd ..; \ |
124 done; \ | 124 done; \ |
125 fi | 125 fi |
126 @if [ -f Makefile.in ]; then \ | 126 @if [ -f Makefile.in ]; then \ |
127 rm -f Makefile; \ | 127 rm -f Makefile; \ |
128 fi | 128 fi |
135 @if [ "x$(OVERLAYS)" != "x" ]; then \ | 135 @if [ "x$(OVERLAYS)" != "x" ]; then \ |
136 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ | 136 for i in `find $(OVERLAYS) -type d -maxdepth 1 -mindepth 1`; do \ |
137 if [ $(VERBOSITY) -gt 0 ]; then \ | 137 if [ $(VERBOSITY) -gt 0 ]; then \ |
138 echo "[building overlay: $$i]"; \ | 138 echo "[building overlay: $$i]"; \ |
139 fi; \ | 139 fi; \ |
140 (pushd $$i > /dev/null; OVERLAYS="" $(MAKE) || exit; popd); \ | 140 cd $$i; OVERLAYS="" $(MAKE) || exit; cd ..; \ |
141 if [ $(VERBOSITY) -gt 0 ]; then \ | 141 if [ $(VERBOSITY) -gt 0 ]; then \ |
142 echo "[finished overlay: $$i]"; \ | 142 echo "[finished overlay: $$i]"; \ |
143 fi; \ | 143 fi; \ |
144 done; \ | 144 done; \ |
145 fi | 145 fi |
146 @if [ "x$(SUBDIRS)" != "x" ]; then \ | 146 @if [ "x$(SUBDIRS)" != "x" ]; then \ |
147 for i in $(SUBDIRS); do \ | 147 for i in $(SUBDIRS); do \ |
148 if [ $(VERBOSITY) -gt 0 ]; then \ | 148 if [ $(VERBOSITY) -gt 0 ]; then \ |
149 echo "[building subobjective: $$i]"; \ | 149 echo "[building subobjective: $$i]"; \ |
150 fi; \ | 150 fi; \ |
151 (cd $$i; OVERLAYS="" $(MAKE) || exit; cd ..); \ | 151 cd $$i; OVERLAYS="" $(MAKE) || exit; cd ..; \ |
152 if [ $(VERBOSITY) -gt 0 ]; then \ | 152 if [ $(VERBOSITY) -gt 0 ]; then \ |
153 echo "[finished subobjective: $$i]"; \ | 153 echo "[finished subobjective: $$i]"; \ |
154 fi; \ | 154 fi; \ |
155 done; \ | 155 done; \ |
156 fi | 156 fi |