]> git.lyx.org Git - features.git/blobdiff - src/support/Makefile.am
makefile cleanup, and avoid some warnings
[features.git] / src / support / Makefile.am
index 8580cbaf58c2a9820c707859e8f284c3589adbe4..5633ecfaa45d58ec1e05e7f56d779fdd208cebc5 100644 (file)
@@ -1,12 +1,8 @@
-AUTOMAKE_OPTIONS = foreign
-DISTCLEANFILES= *.orig *.rej *~ *.bak core
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
+include $(top_srcdir)/config/common.am
+
 noinst_LTLIBRARIES = libsupport.la
-LIBS =
-ETAGS_ARGS = --lang=c++
-BOOST_INCLUDES = -I$(top_srcdir)/boost
-SIGC_INCLUDES = -I$(top_srcdir) -I$(top_builddir)
-INCLUDES = -I${srcdir}/../ $(SIGC_INCLUDES) $(BOOST_INCLUDES)
+
+INCLUDES = -I$(srcdir)/../ $(SIGC_INCLUDES) $(BOOST_INCLUDES)
 
 EXTRA_DIST = lyxstring.C lyxstring.h regex.c lyxregex.h \
              os_unix.C os_win32.C os_os2.C
@@ -79,8 +75,3 @@ libsupport_la_SOURCES = \
        types.h \
        unlink.C \
        utility.h
-
-libsupport.la: libsupport.o
-
-libsupport.o: $(libsupport_la_OBJECTS) $(libsupport_la_DEPENDENCIES)
-       $(CXXLINK) $(libsupport_la_OBJECTS)