make: Add LD_CONF support (automatically added to all projects in lib.mk)

This commit is contained in:
Jan Lindemann 2008-04-09 11:20:01 +00:00 committed by Jan Lindemann
commit 1ebb79d5d6
5 changed files with 30 additions and 4 deletions

View file

@ -6,9 +6,9 @@
include $(MODDIR)/make/defs.mk
include $(MODDIR)/make/rules.mk
all: $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
install: install_LIB
clean: libclean local_libclean
all: $(LD_CONF) $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
install: install_LIB $(INSTALLED_LD_CONF)
clean: libclean local_libclean clean.ld-conf
distclean: clean
local_libclean: clean.mingw clean.unix clean.all
@ -25,3 +25,10 @@ endif
clean.all:
rm -rf *.a *.o *~ st* .*.swp *.done
ld-%.conf:
echo $(INSTALL_LIBDIR) > $@.tmp
mv $@.tmp $@
clean.ld-conf:
rm -f $(LD_CONF)