ws changes and make distclean work for sigc as well

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4023 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-04-18 13:11:28 +00:00
parent 78fd880838
commit d7ed6f5c3c
2 changed files with 12 additions and 9 deletions

View File

@ -13,7 +13,7 @@ echo -n "Locating GNU m4... "
for prog in $M4 gm4 gnum4 m4 ; do
case `$prog --version 2>&1` in
*GNU*) ok=yes
GNUM4=$prog
GNUM4=$prog
echo "found: $GNUM4"
break ;;
*) ;;

View File

@ -1,6 +1,10 @@
SUBDIRS = macros
DISTCLEANFILES= *.orig *.rej *~ *.bak core config.log config.status
MAINTAINERCLEANFILES= $(srcdir)/Makefile.in $(srcdir)/configure $(srcdir)/sigc++config* $(srcdir)/stamp* $(srcdir)/aclocal.m4 $(srcdir)/acinclude.m4
DISTCLEANFILES = *.orig *.rej *~ *.bak core config.log config.status \
slot.h object_slot.h func_slot.h class_slot.h basic_signal.h \
convert.h bind.h rettype.h retbind.h
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in $(srcdir)/configure \
$(srcdir)/sigc++config* $(srcdir)/stamp* $(srcdir)/aclocal.m4 \
$(srcdir)/acinclude.m4
ETAGS_ARGS = --lang=c++
INCLUDES = -I$(top_srcdir)/.. -I$(top_builddir)/..
@ -8,8 +12,8 @@ M4_DIR = $(top_srcdir)/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
basic_signal.h \
convert.h bind.h rettype.h retbind.h
EXTRA_DIST = $(BUILT_SOURCES)
@ -18,7 +22,7 @@ libsigc_la_SOURCES= $(BUILT_SOURCES) \
basic_signal.cc adaptor.cc thread.cc
libsigc_la_LDFLAGS = \
-no-undefined
-no-undefined
noinst_LTLIBRARIES = libsigc.la
@ -30,8 +34,7 @@ noinst_HEADERS = \
Makefile: $(BUILT_SOURCES)
%.h: $(M4_DIR)/%.h.m4 $(M4_DIR)/template.macros.m4
%.h: $(M4_DIR)/%.h.m4 $(M4_DIR)/template.macros.m4
$(M4) $(M4_INCLUDES) $(DEFINES) $< > $(top_builddir)/$@
all-local: $(noinst_LTLIBRARIES)
all-local: $(noinst_LTLIBRARIES)