SUBDIRS = config macros INCLUDES = @DLL_DEFINE@ -I$(top_srcdir) -I$(top_builddir) M4_DIR = $(top_srcdir)/sigc++/macros M4_INCLUDES = -I$(M4_DIR) BUILT_SOURCES = slot.h object_slot.h func_slot.h class_slot.h \ basic_signal.h \ convert.h bind.h rettype.h retbind.h libsigc_la_SOURCES= \ object.cc scope.cc marshal.cc slot.cc\ basic_signal.cc adaptor.cc thread.cc $(SIGC_RC) EXTRA_libsigc_la_SOURCES = sigc_res.rc libsigc_la_LDFLAGS = -version-info $(LIBSIGC_SO_VERSION) \ -release $(SIGC_RELEASE) -no-undefined lib_LTLIBRARIES = libsigc.la libsigcincludedir=$(includedir)/sigc++-1.0/sigc++ libsigcinclude_HEADERS = \ marshal.h handle_system.h signal_system.h \ generator.h $(BUILT_SOURCES) type.h\ handle.h object.h scope.h adaptor.h thread.h %.h: $(M4_DIR)/%.h.m4 $(M4_DIR)/template.macros.m4 $(M4) $(M4_INCLUDES) $(DEFINES) $< > $@ all-local: $(LTLIBRARIES) EXTRA_DIST = README install-data-hook: @if test -d "$(includedir)/sigc++" ; then \ echo ;\ echo "*** WARNING ***:" ;\ echo "You seem to have old libsigc++ header files installed in:" ;\ echo ;\ echo " \"$(includedir)/sigc++\"" ;\ echo ;\ echo "The entire directory will be removed now." ;\ echo "To allow parallel installation of sigc++-1.0 and sigc++-1.2," ;\ echo "the header files are now installed in a version specific subdirectory:" ;\ echo ;\ echo " \"$(libsigcincludedir)\"" ;\ echo ;\ rm -rf "$(includedir)/sigc++" ;\ fi #--------------------------------------- # Win32 related rules (resource file) #--------------------------------------- if SIGCRC SIGC_RC = sigc_res.rc else SIGC_RC = endif #--------------------------------------- # Win32 related rules .rc.lo: windres --include-dir $(top_builddir)/sigc++/config $< -o $*.o echo timestamp > $@ SUFFIXES = .rc bin_SCRIPTS = @SIGC_DLL@ EXTRA_SCRIPTS = sigc.dll %.dll : lib%.la dllwrap --output-def $*.def --driver-name=g++ --export-all -o $@ `ar t .libs/lib$*.a` $(LDFLAGS) $(LIBS) $(THREAD_LIB) dlltool --dllname $@ --def $*.def --output-lib .libs/lib$*.a clean-local : rm -f sigc.dll sigc.def