]> git.sur5r.net Git - openldap/commitdiff
ITS#7160 Support POSIX make: No $< in target rules
authorHallvard Furuseth <hallvard@openldap.org>
Sat, 18 Feb 2012 17:17:40 +0000 (18:17 +0100)
committerHallvard Furuseth <hallvard@openldap.org>
Sat, 18 Feb 2012 17:17:40 +0000 (18:17 +0100)
contrib/ldaptcl/Makefile.in
servers/slapd/back-mdb/Makefile.in

index d9c9d5ffed59578fc377c7b37215ad2fb5a43986..a66c7453d84db9b6d055c67c5f105320af7a96e7 100644 (file)
@@ -140,7 +140,7 @@ all:        @NEO_LIB_FILE@ ldaptclsh @LDAPWISH@
        $(RANLIB) @NEO_LIB_FILE@
 
 neoXldap.o: neoXldap.c ldaptclerr.h
-       $(CC) -c $(LDAP_CFLAGS) $(CC_SWITCHES) $<
+       $(CC) -c $(LDAP_CFLAGS) $(CC_SWITCHES) neoXldap.c
 
 ldaptclerr.h: ldaperr.tcl
        tcl ldaperr.tcl $(LDAP_INCDIR)/ldap.h > ldaptclerr.h
index 4dbacb4aaa945cd6d68d051a2755726e2263d0f2..9b01d2a5ed96857758abf793c265d85df699e958 100644 (file)
@@ -53,10 +53,10 @@ all-local-lib:      ../.backend
        @touch $@
 
 mdb.lo:        $(MDB_SUBDIR)/mdb.c
-       $(LTCOMPILE_MOD) $<
+       $(LTCOMPILE_MOD) $(MDB_SUBDIR)/mdb.c
 
 midl.lo:       $(MDB_SUBDIR)/midl.c
-       $(LTCOMPILE_MOD) $<
+       $(LTCOMPILE_MOD) $(MDB_SUBDIR)/midl.c
 
 veryclean-local-lib: FORCE
        $(RM) $(XXHEADERS) $(XXSRCS) .links