2000-01-31 06:02:49 +01:00
|
|
|
TOPSRCDIR = @top_srcdir@
|
|
|
|
TOPOBJDIR = ..
|
|
|
|
SRCDIR = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
2008-03-03 15:18:57 +01:00
|
|
|
INSTALLDIRS = $(DESTDIR)$(dlldir)
|
|
|
|
|
2008-08-25 12:12:28 +02:00
|
|
|
DLLSUBDIRS = @ALL_DLL_DIRS@
|
|
|
|
IMPLIBSUBDIRS = @ALL_IMPLIB_DIRS@
|
|
|
|
TESTSUBDIRS = @ALL_TEST_DIRS@
|
|
|
|
SUBDIRS = $(DLLSUBDIRS) $(IMPLIBSUBDIRS) $(TESTSUBDIRS)
|
|
|
|
BUILDSUBDIRS = $(DLLSUBDIRS) $(TESTSUBDIRS)
|
|
|
|
INSTALLSUBDIRS = $(DLLSUBDIRS) $(IMPLIBSUBDIRS)
|
|
|
|
DOCSUBDIRS = $(DLLSUBDIRS)
|
2002-06-15 01:48:27 +02:00
|
|
|
|
2007-01-10 13:58:00 +01:00
|
|
|
@MAKE_RULES@
|
2002-03-20 23:19:06 +01:00
|
|
|
|
2003-05-15 06:30:46 +02:00
|
|
|
# Main target
|
|
|
|
|
2009-12-29 12:45:37 +01:00
|
|
|
all: $(BUILDSUBDIRS)
|
2004-01-23 06:00:37 +01:00
|
|
|
|
2002-12-12 23:03:14 +01:00
|
|
|
# Import libraries
|
|
|
|
|
2010-01-26 20:40:12 +01:00
|
|
|
STATIC_LIBS = @ALL_STATIC_LIBS@
|
2010-01-26 21:10:14 +01:00
|
|
|
IMPORT_LIBS = @ALL_IMPORT_LIBS@
|
2005-05-10 15:21:04 +02:00
|
|
|
|
2010-01-26 21:10:14 +01:00
|
|
|
$(TESTSUBDIRS:%=%/__crosstest__): $(STATIC_LIBS:.a=.cross.a) $(IMPORT_LIBS:.def=.cross.a)
|
2008-07-09 11:55:00 +02:00
|
|
|
|
2010-01-26 21:10:14 +01:00
|
|
|
implib: $(STATIC_LIBS) $(IMPORT_LIBS)
|
2004-03-12 20:49:46 +01:00
|
|
|
|
2008-11-19 15:31:44 +01:00
|
|
|
testsubdirs: $(TESTSUBDIRS)
|
|
|
|
|
|
|
|
.PHONY: implib testsubdirs
|
2007-01-10 13:58:00 +01:00
|
|
|
|
2010-01-26 21:10:14 +01:00
|
|
|
$(BUILDSUBDIRS): $(STATIC_LIBS) $(IMPORT_LIBS)
|
|
|
|
$(INSTALLSUBDIRS:%=%/__install__) $(INSTALLSUBDIRS:%=%/__install-lib__): $(STATIC_LIBS) $(IMPORT_LIBS)
|
2002-12-12 23:03:14 +01:00
|
|
|
|
2010-01-26 20:40:12 +01:00
|
|
|
@ALL_IMPORTLIB_RULES@
|
2004-01-26 22:29:05 +01:00
|
|
|
|
2001-09-17 22:09:08 +02:00
|
|
|
# Misc rules
|
|
|
|
|
2002-06-15 01:48:27 +02:00
|
|
|
uninstall::
|
2009-08-18 11:33:26 +02:00
|
|
|
-rmdir $(DESTDIR)$(fakedlldir) $(DESTDIR)$(dlldir)
|