make fails on solaris2.5.1

Amol Karnik amol at memcad.com
Wed Nov 25 17:40:28 GMT 1998


hi all,

OS : Solaris 2.5.1
comnpilers : Sun C++ Compiler 4.2

just a cvs update on the source code, and did a fresh configure, make in
a clean dir.
configure goes ok.

when i type make it says :

make: Fatal error in reader: Makefile, line 349: Macro assignment on
dependency line


lines 348 to 356 from the Makefile are pasted below.

any thoughts?

- amol

# this is for IRIX
.c.po32: # .deps/.dummy
        @if (: >> $@ || : > $@) >/dev/null 2>&1; then rm -f $@; else \
          dir=`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` $(MAKEDIR); fi
#       @if (: >> .deps/$@ || : > .deps/$@) >/dev/null 2>&1; then :; \
#        else dir=.deps/`echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,'` \
#             $(MAKEDIR); fi; rm -f .deps/$@ .deps/$@d
        @echo Compiling $*.c with -Kpic and -32
        @$(CC) -32 -I. -I$(srcdir) $(FLAGS) -Kpic -c $< \
          -o $*.po32.o # -Wp,-MD,.deps/$@ && \
#       sed 's|^'`echo $*.po32.o | sed 's,.*/,,'`':|$@:|' \
#         <.deps/$@ >.deps/$@d && \
#       rm -f .deps/$@ && : >.deps/.stamp
        @mv $*.po32.o $@
 
bin/.dummy:
        @if (: >> $@ || : > $@) >/dev/null 2>&1; then :; else \
          dir=bin $(MAKEDIR); fi
        @: >> $@ || : > $@ # what a fancy emoticon!


More information about the samba-ntdom mailing list