2001-07-06 13:12:14 +00:00
|
|
|
# generic utility modules
|
|
|
|
|
# (c) 2001 jannet it services
|
|
|
|
|
# contact@jannet.de
|
|
|
|
|
# $Id$
|
|
|
|
|
|
2001-07-27 22:02:40 +00:00
|
|
|
include $(MODDIR)/make/defs.mk
|
2005-04-02 20:05:31 +00:00
|
|
|
include $(MODDIR)/make/rules.mk
|
|
|
|
|
|
2008-04-09 11:20:01 +00:00
|
|
|
all: $(LD_CONF) $(LIB_SO) $(LINKS_SO) $(MSVCPP_IMPLIB) $(STRIP_DONE)
|
2008-05-08 12:28:21 +00:00
|
|
|
install: install_LIB install_LD_CONF
|
2008-04-09 11:20:01 +00:00
|
|
|
clean: libclean local_libclean clean.ld-conf
|
2005-04-02 20:24:19 +00:00
|
|
|
distclean: clean
|
2007-08-21 16:20:30 +00:00
|
|
|
|
2007-07-18 16:41:37 +00:00
|
|
|
local_libclean: clean.mingw clean.unix clean.all
|
|
|
|
|
|
|
|
|
|
clean.unix:
|
|
|
|
|
ifneq ($(TARGET),mingw)
|
|
|
|
|
rm -rf *.so.* *.so st*
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
clean.mingw:
|
|
|
|
|
ifeq ($(TARGET),mingw)
|
2007-09-03 11:47:49 +00:00
|
|
|
rm -rf *.dll *.def *.exp *.lib
|
2007-07-18 16:41:37 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
clean.all:
|
2008-05-06 16:04:08 +00:00
|
|
|
rm -rf *.a *.o *~ st* .*.swp *.done ld-*.conf
|
2008-04-09 11:20:01 +00:00
|
|
|
|
|
|
|
|
ld-%.conf:
|
|
|
|
|
echo $(INSTALL_LIBDIR) > $@.tmp
|
|
|
|
|
mv $@.tmp $@
|
|
|
|
|
|
|
|
|
|
clean.ld-conf:
|
|
|
|
|
rm -f $(LD_CONF)
|