1 include $(top_srcdir)/config/common.am
3 ############################### Core ##############################
5 DISTCLEANFILES += config.h libintl.h
7 AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src $(BOOST_INCLUDES)
8 AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)
10 if BUILD_CLIENT_SUBDIR
14 SUBDIRS = support frontends . $(CLIENT) tex2lyx
16 EXTRA_DIST = Section.h \
23 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(MYTHES_LIBS) $(AIKSAURUS_LIBS) \
24 @LIBS@ $(SOCKET_LIBS) $(LIBSHLWAPI)
26 noinst_LIBRARIES = liblyxcore.a
33 frontends/liblyxfrontends.a \
34 frontends/qt4/liblyxqt4.a \
36 support/liblyxsupport.a \
43 cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
44 windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
49 BUILT_SOURCES = $(PCH_FILE)
52 ASPELL = ASpell.cpp ASpell_local.h
55 # These four objects are linked as object files as they are not
56 # referenced within the core and therefore are not picked up
57 # by the linker without looping over libs. We do not want that,
58 # and in fact libtools seems not able to do that.
74 lyx_SOURCES += lyxwinres.rc
123 LayoutModuleList.cpp \
140 output_plaintext.cpp \
142 paragraph_funcs.cpp \
143 ParagraphMetrics.cpp \
144 ParagraphParameters.cpp \
245 ParagraphParameters.h \
276 @echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
280 BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
281 CLEANFILES += lyxcore.cpp
283 liblyxcore_a_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
287 liblyxcore_a_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
291 ############################### Graphics ##############################
293 noinst_LIBRARIES += liblyxgraphics.a
295 liblyxgraphics_a_SOURCES = \
296 graphics/GraphicsCache.h \
297 graphics/GraphicsCache.cpp \
298 graphics/GraphicsCacheItem.h \
299 graphics/GraphicsCacheItem.cpp \
300 graphics/GraphicsConverter.h \
301 graphics/GraphicsConverter.cpp \
302 graphics/GraphicsImage.h \
303 graphics/GraphicsLoader.h \
304 graphics/GraphicsLoader.cpp \
305 graphics/GraphicsParams.cpp \
306 graphics/GraphicsParams.h \
307 graphics/GraphicsTypes.h \
308 graphics/PreviewImage.h \
309 graphics/PreviewImage.cpp \
310 graphics/PreviewLoader.h \
311 graphics/PreviewLoader.cpp \
312 graphics/Previews.h \
313 graphics/Previews.cpp
316 ############################### Mathed ##############################
318 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
320 noinst_LIBRARIES += liblyxmathed.a
322 SOURCEFILESMATHED = \
323 mathed/InsetMathAMSArray.cpp \
324 mathed/InsetMathArray.cpp \
325 mathed/InsetMathBig.cpp \
326 mathed/InsetMathBoldSymbol.cpp \
327 mathed/InsetMathBox.cpp \
328 mathed/InsetMathBrace.cpp \
329 mathed/InsetMath.cpp \
330 mathed/InsetMathCases.cpp \
331 mathed/InsetMathChar.cpp \
332 mathed/InsetMathColor.cpp \
333 mathed/CommandInset.cpp \
334 mathed/InsetMathComment.cpp \
335 mathed/InsetMathDecoration.cpp \
336 mathed/InsetMathDecoration.h \
337 mathed/InsetMathDelim.cpp \
338 mathed/InsetMathDiff.cpp \
339 mathed/InsetMathDots.cpp \
340 mathed/InsetMathEnsureMath.cpp \
341 mathed/InsetMathEnv.cpp \
342 mathed/InsetMathExFunc.cpp \
343 mathed/InsetMathExInt.cpp \
344 mathed/InsetMathFont.cpp \
345 mathed/InsetMathFontOld.cpp \
346 mathed/InsetMathFrac.cpp \
347 mathed/InsetMathGrid.cpp \
348 mathed/InsetMathHull.cpp \
349 mathed/InsetMathKern.cpp \
350 mathed/InsetMathLefteqn.cpp \
351 mathed/InsetMathLim.cpp \
352 mathed/MathMacro.cpp \
353 mathed/InsetMathMatrix.cpp \
354 mathed/InsetMathNest.cpp \
355 mathed/InsetMathNumber.cpp \
356 mathed/InsetMathOverset.cpp \
357 mathed/InsetMathPar.cpp \
358 mathed/InsetMathPhantom.cpp \
359 mathed/InsetMathRef.cpp \
360 mathed/InsetMathRoot.cpp \
361 mathed/InsetMathScript.cpp \
362 mathed/InsetMathSize.cpp \
363 mathed/InsetMathSpace.cpp \
364 mathed/InsetMathSpecialChar.cpp \
365 mathed/InsetMathSplit.cpp \
366 mathed/InsetMathSqrt.cpp \
367 mathed/InsetMathStackrel.cpp \
368 mathed/InsetMathString.cpp \
369 mathed/InsetMathSubstack.cpp \
370 mathed/InsetMathSymbol.cpp \
371 mathed/InsetMathTabular.cpp \
372 mathed/InsetMathUnderset.cpp \
373 mathed/InsetMathUnknown.cpp \
374 mathed/InsetMathXArrow.cpp \
375 mathed/InsetMathXYMatrix.cpp \
376 mathed/MathAtom.cpp \
377 mathed/MathAutoCorrect.cpp \
378 mathed/MathData.cpp \
379 mathed/MathExtern.cpp \
380 mathed/MathFactory.cpp \
381 mathed/MathMacroArgument.cpp \
382 mathed/MacroTable.cpp \
383 mathed/MathMacroTemplate.cpp \
384 mathed/MathParser.cpp \
385 mathed/MathStream.cpp \
386 mathed/MathSupport.cpp \
387 mathed/TextPainter.cpp
389 HEADERFILESMATHED = \
390 mathed/InsetMathAMSArray.h \
391 mathed/InsetMathArray.h \
392 mathed/InsetMathBig.h \
393 mathed/InsetMathBoldSymbol.h \
394 mathed/InsetMathBox.h \
395 mathed/InsetMathBrace.h \
396 mathed/InsetMathCases.h \
397 mathed/InsetMathChar.h \
398 mathed/InsetMathColor.h \
399 mathed/CommandInset.h \
400 mathed/InsetMathComment.h \
401 mathed/InsetMathDelim.h \
402 mathed/InsetMathDiff.h \
403 mathed/InsetMathDots.h \
404 mathed/InsetMathEnsureMath.h \
405 mathed/InsetMathEnv.h \
406 mathed/InsetMathExFunc.h \
407 mathed/InsetMathExInt.h \
408 mathed/InsetMathFont.h \
409 mathed/InsetMathFontOld.h \
410 mathed/InsetMathFrac.h \
411 mathed/InsetMathGrid.h \
413 mathed/InsetMathHull.h \
414 mathed/InsetMathKern.h \
415 mathed/InsetMathLefteqn.h \
416 mathed/InsetMathLim.h \
418 mathed/InsetMathMatrix.h \
419 mathed/InsetMathNest.h \
420 mathed/InsetMathNumber.h \
421 mathed/InsetMathOverset.h \
422 mathed/InsetMathPar.h \
423 mathed/InsetMathPhantom.h \
424 mathed/InsetMathRef.h \
425 mathed/InsetMathRoot.h \
426 mathed/InsetMathScript.h \
427 mathed/InsetMathSize.h \
428 mathed/InsetMathSpace.h \
429 mathed/InsetMathSpecialChar.h \
430 mathed/InsetMathSplit.h \
431 mathed/InsetMathSqrt.h \
432 mathed/InsetMathStackrel.h \
433 mathed/InsetMathString.h \
434 mathed/InsetMathSubstack.h \
435 mathed/InsetMathSymbol.h \
436 mathed/InsetMathTabular.h \
437 mathed/InsetMathUnderset.h \
438 mathed/InsetMathUnknown.h \
439 mathed/InsetMathXArrow.h \
440 mathed/InsetMathXYMatrix.h \
442 mathed/MathAutoCorrect.h \
444 mathed/MathCompletionList.h \
445 mathed/MathExtern.h \
446 mathed/MathFactory.h \
447 mathed/MathGridInfo.h \
448 mathed/MathMacroArgument.h \
449 mathed/MacroTable.h \
450 mathed/MathMacroTemplate.h \
451 mathed/MathParser.h \
452 mathed/MathParser_flags.h \
453 mathed/ReplaceData.h \
454 mathed/MathStream.h \
455 mathed/MathSupport.h \
459 @echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
463 BUILT_SOURCES += lyxmathed.cpp
464 CLEANFILES += lyxmathed.cpp
466 liblyxmathed_a_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
470 liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
474 ############################### Insets ##############################
476 noinst_LIBRARIES += liblyxinsets.a
478 SOURCEFILESINSETS = \
479 insets/ExternalSupport.cpp \
480 insets/ExternalTemplate.cpp \
481 insets/ExternalTransforms.cpp \
482 insets/RenderButton.cpp \
483 insets/RenderGraphic.cpp \
484 insets/RenderPreview.cpp \
486 insets/InsetBibitem.cpp \
487 insets/InsetBibtex.cpp \
488 insets/InsetBox.cpp \
489 insets/InsetBranch.cpp \
490 insets/InsetCaption.cpp \
491 insets/InsetCitation.cpp \
492 insets/InsetCollapsable.cpp \
493 insets/InsetCommand.cpp \
494 insets/InsetCommandParams.cpp \
495 insets/InsetERT.cpp \
496 insets/InsetExternal.cpp \
497 insets/InsetFlex.cpp \
498 insets/InsetFloat.cpp \
499 insets/InsetFloatList.cpp \
500 insets/InsetFoot.cpp \
501 insets/InsetFootlike.cpp \
502 insets/InsetGraphicsParams.cpp \
503 insets/InsetGraphics.cpp \
504 insets/InsetHyperlink.cpp \
505 insets/InsetInclude.cpp \
506 insets/InsetIndex.cpp \
507 insets/InsetInfo.cpp \
508 insets/InsetLabel.cpp \
509 insets/InsetLayout.cpp \
510 insets/InsetLine.cpp \
511 insets/InsetListings.cpp \
512 insets/InsetListingsParams.cpp \
513 insets/InsetMarginal.cpp \
514 insets/InsetNewline.cpp \
515 insets/InsetNewpage.cpp \
516 insets/InsetNomencl.cpp \
517 insets/InsetNote.cpp \
518 insets/InsetOptArg.cpp \
519 insets/InsetPhantom.cpp \
520 insets/InsetQuotes.cpp \
521 insets/InsetRef.cpp \
522 insets/InsetSpace.cpp \
523 insets/InsetSpecialChar.cpp \
524 insets/InsetTabular.cpp \
525 insets/InsetText.cpp \
526 insets/InsetTOC.cpp \
527 insets/InsetVSpace.cpp \
530 HEADERFILESINSETS = \
531 insets/ExternalSupport.h \
532 insets/ExternalTemplate.h \
533 insets/ExternalTransforms.h \
534 insets/RenderBase.h \
535 insets/RenderButton.h \
536 insets/RenderGraphic.h \
537 insets/RenderPreview.h \
539 insets/InsetBibitem.h \
540 insets/InsetBibtex.h \
542 insets/InsetBranch.h \
543 insets/InsetCaption.h \
544 insets/InsetCitation.h \
546 insets/InsetCollapsable.h \
547 insets/InsetCommand.h \
548 insets/InsetCommandParams.h \
550 insets/InsetExternal.h \
552 insets/InsetFloat.h \
554 insets/InsetFloatList.h \
555 insets/InsetFootlike.h \
556 insets/InsetGraphicsParams.h \
557 insets/InsetGraphics.h \
558 insets/InsetHyperlink.h \
559 insets/InsetInclude.h \
560 insets/InsetIndex.h \
562 insets/InsetLabel.h \
563 insets/InsetLayout.h \
565 insets/InsetListings.h \
566 insets/InsetListingsParams.h \
567 insets/InsetMarginal.h \
568 insets/InsetNewline.h \
569 insets/InsetNewpage.h \
570 insets/InsetNomencl.h \
572 insets/InsetOptArg.h \
573 insets/InsetPhantom.h \
574 insets/InsetQuotes.h \
576 insets/InsetSpace.h \
577 insets/InsetSpecialChar.h \
578 insets/InsetTabular.h \
581 insets/InsetVSpace.h \
584 # insets/InsetList.cpp \
585 # insets/InsetList.h \
586 # insets/InsetSection.h \
587 # insets/InsetSection.cpp
590 @echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
594 BUILT_SOURCES += lyxinsets.cpp
595 CLEANFILES += lyxinsets.cpp
597 liblyxinsets_a_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)
601 liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)