X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FMakefile.am;h=d1137290ee4646dcf0e6eeb4fb5020f269ee616e;hb=127e5b1955af5edc9000c8c8c9fb40494a5f2096;hp=3ba391f6fc120d13646fc6186278dd526fdd8df8;hpb=83bee109db2f535b1a92b02eef811c1476d9f9cf;p=lyx.git diff --git a/src/support/Makefile.am b/src/support/Makefile.am index 3ba391f6fc..d1137290ee 100644 --- a/src/support/Makefile.am +++ b/src/support/Makefile.am @@ -1,24 +1,22 @@ include $(top_srcdir)/config/common.am -CLEANFILES += $(BUILT_SOURCES) - -EXTRA_DIST = pch.h \ - os_cygwin.cpp os_unix.cpp os_win32.cpp os_win32.h \ +EXTRA_DIST = os_cygwin.cpp os_unix.cpp os_win32.cpp os_win32.h \ CMakeLists.txt tests/CMakeLists.txt tests/supporttest.cmake noinst_LIBRARIES = liblyxsupport.a -BUILT_SOURCES = $(PCH_FILE) ######################### Qt stuff ############################# # -MOCHEADER = SystemcallPrivate.h +MOCHEADER = \ + ConsoleApplicationPrivate.h \ + SystemcallPrivate.h MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp) -CLEANFILES += $(MOCEDFILES) -BUILT_SOURCES += $(MOCEDFILES) +CLEANFILES = $(MOCEDFILES) +BUILT_SOURCES = $(MOCEDFILES) moc_%.cpp: %.h $(QT_MOC) -o $@ $< @@ -28,14 +26,17 @@ liblyxsupport_a_DEPENDENCIES = $(MOCEDFILES) # ################################################################## -AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES) -AM_CPPFLAGS += $(QT_CPPFLAGS) $(QT_INCLUDES) +AM_CPPFLAGS += -I$(srcdir)/.. $(BOOST_INCLUDES) $(ZLIB_INCLUDES) \ + $(QT_CPPFLAGS) $(QT_INCLUDES) liblyxsupport_a_SOURCES = \ FileMonitor.h \ FileMonitor.cpp \ RandomAccessList.h \ bind.h \ + ConsoleApplication.cpp \ + ConsoleApplication.h \ + ConsoleApplicationPrivate.h \ convert.cpp \ convert.h \ copied_ptr.h \ @@ -143,6 +144,7 @@ EXTRA_DIST += \ tests/test_convert \ tests/test_filetools \ tests/test_lstrings \ + tests/test_trivstring \ tests/regfiles/convert \ tests/regfiles/filetools \ tests/regfiles/lstrings \ @@ -162,11 +164,11 @@ check_PROGRAMS = \ check_trivstring if INSTALL_MACOSX -ADD_FRAMEWORKS = -framework QtGui -framework QtCore -framework AppKit -framework ApplicationServices +ADD_FRAMEWORKS = -framework QtCore -framework AppKit -framework ApplicationServices endif check_convert_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@ -check_convert_LDFLAGS = $(QT_LDFLAGS) $(ADD_FRAMEWORKS) +check_convert_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS) check_convert_SOURCES = \ tests/check_convert.cpp \ tests/dummy_functions.cpp \