From: Todd C. Miller Date: Thu, 5 Aug 1999 10:55:14 +0000 (+0000) Subject: Sigh, some versions of make (like Solaris's) don't deal with $< like X-Git-Tag: SUDO_1_6_0~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93c2367743268d06bd2d38a8d2ebdc18da54bb87;p=sudo Sigh, some versions of make (like Solaris's) don't deal with $< like I would expect. Both GNU and BSD makes get this right but... So, we just expand $< inline at the cost of some ugliness. --- diff --git a/Makefile.in b/Makefile.in index e9452166a..0c00c937c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -186,31 +186,31 @@ $(SUDOBJS) $(LIBOBJS): $(HDRS) config.h pathnames.h # Authentication functions live in "auth" dir and so need extra care $(AUTH_OBJS): logging.h sudo.h auth/sudo_auth.h sudo_auth.o: $(srcdir)/auth/sudo_auth.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/sudo_auth.c afs.o: $(srcdir)/auth/afs.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/afs.c aix_auth.o: $(srcdir)/auth/aix_auth.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/aix_auth.c dce.o: $(srcdir)/auth/dce.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/dce.c fwtk.o: $(srcdir)/auth/fwtk.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/fwtk.c kerb4.o: $(srcdir)/auth/kerb4.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/kerb4.c kerb5.o: $(srcdir)/auth/kerb5.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/kerb5.c pam.o: $(srcdir)/auth/pam.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/pam.c passwd.o: $(srcdir)/auth/passwd.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/passwd.c rfc1938.o: $(srcdir)/auth/rfc1938.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/rfc1938.c secureware.o: $(srcdir)/auth/secureware.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/secureware.c securid.o: $(srcdir)/auth/securid.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/securid.c sia.o: $(srcdir)/auth/sia.c - $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $< + $(CC) -c $(CPPFLAGS) $(CFLAGS) $(DEFS) $(OPTIONS) $(srcdir)/auth/sia.c sudo.html: $(srcdir)/sudo.pod @rm -f $(srcdir)/$@