]> git.lyx.org Git - lyx.git/blob - sigc++/Makefile.am
Herbert's compile fix
[lyx.git] / sigc++ / Makefile.am
1 SUBDIRS =  macros
2 DISTCLEANFILES = *.orig *.rej *~ *.bak core config.log config.status \
3         slot.h object_slot.h func_slot.h class_slot.h basic_signal.h \
4         convert.h bind.h rettype.h retbind.h
5 MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/configure \
6         $(srcdir)/sigc++config* $(srcdir)/stamp* $(srcdir)/aclocal.m4 \
7         $(srcdir)/acinclude.m4
8 ETAGS_ARGS = --lang=c++
9
10 INCLUDES = -I$(top_srcdir)/.. -I$(top_builddir)/..
11 M4_DIR = $(top_srcdir)/macros
12 M4_INCLUDES = -I$(M4_DIR)
13
14 BUILT_SOURCES = slot.h object_slot.h func_slot.h class_slot.h \
15                 basic_signal.h \
16                 convert.h bind.h rettype.h retbind.h
17
18 EXTRA_DIST = $(BUILT_SOURCES)
19
20 libsigc_la_SOURCES= $(BUILT_SOURCES) \
21    object.cc   scope.cc   marshal.cc   slot.cc\
22    basic_signal.cc adaptor.cc thread.cc
23
24 libsigc_la_LDFLAGS =  \
25                       -no-undefined
26
27 noinst_LTLIBRARIES = libsigc.la
28
29 noinst_HEADERS = \
30     marshal.h handle_system.h signal_system.h \
31      $(BUILT_SOURCES) type.h\
32     handle.h object.h scope.h adaptor.h thread.h
33
34
35 Makefile: $(BUILT_SOURCES)
36
37 %.h: $(M4_DIR)/%.h.m4 $(M4_DIR)/template.macros.m4
38         $(M4) $(M4_INCLUDES) $(DEFINES) $<  > $(top_builddir)/$@
39
40 all-local: $(noinst_LTLIBRARIES)