Layout.cpp \
TextClass.cpp
-if MONOLITHIC_CORE
lyxcore.cpp:
@echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
+if MONOLITHIC_CORE
+
BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
+CLEANFILES += lyxcore.cpp
liblyxcore_la_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
mathed/MathSupport.h \
mathed/TextPainter.h
-if MONOLITHIC_MATHED
-
lyxmathed.cpp:
@echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
+if MONOLITHIC_MATHED
+
BUILT_SOURCES += lyxmathed.cpp
+CLEANFILES += lyxmathed.cpp
liblyxmathed_la_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
# insets/InsetTheorem.cpp \
# insets/InsetTheorem.h
-if MONOLITHIC_INSETS
-
lyxinsets.cpp:
@echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
+if MONOLITHIC_INSETS
+
BUILT_SOURCES += lyxinsets.cpp
+CLEANFILES += lyxinsets.cpp
liblyxinsets_la_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)