ITS#7160 Support POSIX make: No $< in target rules

This commit is contained in:
Hallvard Furuseth 2012-02-18 18:17:40 +01:00
parent 463c1fa25d
commit 465942e74d
2 changed files with 3 additions and 3 deletions

View 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

View 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