automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ultrix and 'missing'?


From: Harlan Stenn
Subject: Re: ultrix and 'missing'?
Date: Mon, 21 May 2001 22:58:30 -0400

Akim> Could the fact that we are using a macro for the dependency be
Akim> responsible?  Harlan, what happens if you replace the macro
Akim> invocation with its value?

This has something to do with it.

With the "late" fragment:

 ...
 a_md5encrypt_.c: a_md5encrypt.c $(ANSI2KNR)
        @echo "ANSI2KNR is <$(ANSI2KNR)>"
        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) ...

I get:

% make
ANSI2KNR is <../util/ansi2knr>
cc -E -DHAVE_CONFIG_H -I. -I../../libntp -I.. -I../../include
-I../../librsaref
  `if test -f ../../libntp/a_md5encrypt.c; then echo
../../libntp/a_md5encrypt.c; else echo a_md5encrypt.c; fi` | sed 's/^#
\([0-9]\)/#line \1/' | ../util/ansi2knr > a_md5encrypt_.c || rm -f
a_md5encrypt_.c
/bin/sh: ../util/ansi2knr: not found

and with the "late" fragment changed to:
 ...
 a_md5encrypt_.c: a_md5encrypt.c ../util/ansi2knr
        @echo "ANSI2KNR is <$(ANSI2KNR)>"
        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) ...

I get:

% make
cd ../util && make  ansi2knr
make[1]: Entering directory `/pogo/users/stenn/ntp/A.rackety/util'
source='../../util/ansi2knr.c' object='ansi2knr.o' libtool=no \
depfile='.deps/ansi2knr.Po' tmpdepfile='.deps/ansi2knr.TPo' \
depmode=none /bin/sh ../../depcomp \
cc -DHAVE_CONFIG_H -I. -I../../util -I.. -I../../include
-I../../librsaref    -g -c `test -f ../../util/ansi2knr.c || echo
'../../util/'`../../util/ansi2knr.c
cc  -g   -o ansi2knr ansi2knr.o -lkvm
make[1]: Leaving directory `/pogo/users/stenn/ntp/A.rackety/util'
ANSI2KNR is <../util/ansi2knr>
cc -E -DHAVE_CONFIG_H -I. -I../../libntp -I.. -I../../include
-I../../librsaref ...

H



reply via email to

[Prev in Thread] Current Thread [Next in Thread]