34 lines
655 B
Makefile
34 lines
655 B
Makefile
# generic utility modules
|
|||
# (c) 2001 jannet it services
|
|||
# contact@jannet.de
|
|||
# $Id$
|
|||
|
|||
|
|
include $(MODDIR)/make/defs.mk
|
||
include $(MODDIR)/make/rules.mk
|
|||
|
|||
|
|
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
|
||
|
|
|
||
|
lib.mk: Improve wine support
- Link import dlls via MS_LD alias wine lib.exe
- Niftify clean targets
|
local_libclean: clean.mingw clean.unix clean.all
|
||
|
|||
clean.unix:
|
|||
ifneq ($(TARGET),mingw)
|
|||
rm -rf *.so.* *.so st*
|
|||
endif
|
|||
|
|||
clean.mingw:
|
|||
ifeq ($(TARGET),mingw)
|
|||
|
|
rm -rf *.dll *.def *.exp *.lib
|
||
|
lib.mk: Improve wine support
- Link import dlls via MS_LD alias wine lib.exe
- Niftify clean targets
|
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)
|