Below I have included the rule that fails and the "-n" output.
The reason I decided to write is that after searching on the internet I ran across 4-5 other people having this error.
Best regards, Andrei Lenkei
Here is the rule that fails.
clean:
@dirlist="$(SRC1) $(INCLUDE1) $(SRC2) $(INCLUDE2) $(SRC3) $(INCLUDE3)" ; \
for dir in $$dirlist ; \
do \
$(RM) $$dir/*pure_* $$dir/#* ##dir/,* $$dir/*~ ; \
done
@$(RM) $(PROGOBJECTS1) $(PROGRAM1) \
$(PROGOBJECTS2) $(PROGRAM2) \
$(PROGOBJECTS3) $(PROGRAM3) \
$(JLIBOBJECTS1) $(JLIBRARY1) \
$(JLIBOBJECTS2) $(JLIBRARY2) \
$(JLIBOBJECTS3) $(JLIBRARY3) \
$(JAR1) \
$(JAR2) \
$(JAR3) \
$(IDL_GEN_HEADER) \
$(LIBOBJECTS1) $(LIBRARY1) \
$(LIBOBJECTS2) $(LIBRARY2) \
$(LIBOBJECTS3) $(LIBRARY3) \
./,* ./*~ \
core *.a
@$(RMR) ./.sb Templates.DB SunWS_cache
@dirlist="$(SUBDIRS)" ; \
for dir in $$dirlist ; \
do \
dir=`echo $$dir | sed '[EMAIL PROTECTED]/@@'` ; \
if [ -d $$dir -a -f $$dir/Makefile ]; then \
echo "$(INDENT)Cleaning in $(DIRNAME)/$$dir" ;\
( cd $$dir ; make BUILDVERSION=$(BUILDVERSION) PROJECT=$(PROJECT) SILENT=$(SILENT) INDENT="$(INDENT)__" DIRNAME=$(DIRNAME)/$$dir clean ) ; \
fi \
done
and here is the output from "make -n" :
>make -n clean
dirlist=" " ; \
for dir in $dirlist ; \
do \
/usr/bin/rm -f $dir/*pure_* $dir/#* ##dir/,* $dir/*~ ; \
done
/usr/bin/rm -f \
\
\
\
\
\
\
\
\
\
libCorbaGen. \
\
\
./,* ./*~ \
core *.a
/usr/bin/rm -rf ./.sb Templates.DB SunWS_cache
dirlist="cpp java" ; \
for dir in $dirlist ; \
do \
dir=`echo $dir | sed '[EMAIL PROTECTED]/@@'` ; \
if [ -d $dir -a -f $dir/Makefile ]; then \
echo "Cleaning in ./$dir" ;\
( cd $dir ; make BUILDVERSION=5 PROJECT=common_libs SILENT= INDENT="__" DIRNAME=./$dir clean ) ; \
fi \
done
Andrei Lenkei wrote:
Hello all,
I have a problem with GNU make 3.80 on Solaris 8. and zsh v3.0.
Whenever I try to make my application I get
/bin/sh: syntax error at line 1: `end of file' unexpected make: *** [clean] Error 2
I have serached the bug list and on the net but the only thing I have found is that is seems to be related to the make file containing an echo of a string with spaces in it. Something like
echo "la di da"
/usr/ccs/binmake works fine.
Any help would be greatly appreciated.
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.
E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments.
_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
