]> git.lyx.org Git - features.git/blobdiff - src/support/Makefile.am
makefile cleanup, and avoid some warnings
[features.git] / src / support / Makefile.am
index 0a9458471ae15a2464ae72c9431eb4b231c811c2..5633ecfaa45d58ec1e05e7f56d779fdd208cebc5 100644 (file)
@@ -1,11 +1,8 @@
-AUTOMAKE_OPTIONS = foreign
-DISTCLEANFILES= *.orig *.rej *~ *.bak core
-MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
-noinst_LTLIBRARIES = libsupport.o
-LIBS =
-ETAGS_ARGS = --lang=c++
-BOOST_INCLUDES = -I$(top_srcdir)/boost
-INCLUDES = -I${srcdir}/../ $(BOOST_INCLUDES)
+include $(top_srcdir)/config/common.am
+
+noinst_LTLIBRARIES = libsupport.la
+
+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
@@ -17,7 +14,7 @@ if USE_REGEX
 REGEX = regex.c lyxregex.h
 endif
 
-libsupport_o_SOURCES = \
+libsupport_la_SOURCES = \
        DebugStream.C \
        DebugStream.h \
        FileInfo.C \
@@ -42,6 +39,10 @@ libsupport_o_SOURCES = \
        filetools.C \
        filetools.h \
        fmt.C \
+       forkedcall.C \
+       forkedcall.h \
+       forkedcontr.C \
+       forkedcontr.h \
        getUserName.C \
        getcwd.C \
        kill.C \
@@ -54,6 +55,9 @@ libsupport_o_SOURCES = \
        lyxmanip.h \
        $(LYXSTRING) lyxsum.C \
        mkdir.C \
+       nt_defines.h \
+       os2_defines.h \
+       os2_errortable.h \
        path.C \
        path.h \
        putenv.C \
@@ -71,4 +75,3 @@ libsupport_o_SOURCES = \
        types.h \
        unlink.C \
        utility.h
-