1 include $(top_srcdir)/config/common.am
3 ############################### Core ##############################
5 DISTCLEANFILES += config.h libintl.h
7 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
9 AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src $(BOOST_INCLUDES)
11 SUBDIRS = support frontends .
13 EXTRA_DIST = config.h.in \
21 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
23 noinst_LTLIBRARIES = liblyxcore.la
30 frontends/liblyxfrontends.la \
31 frontends/qt4/liblyxqt4.la \
33 support/liblyxsupport.la \
39 cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
40 windres -I. --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
45 BUILT_SOURCES = $(PCH_FILE)
48 ASPELL = ASpell.cpp ASpell_local.h
51 PSPELL = PSpell.cpp PSpell.h
54 ISPELL = ISpell.cpp ISpell.h
57 # These four objects are linked as object files as they are not
58 # referenced within the core and therefore are not picked up
59 # by the linker without looping over libs. We do not want that,
60 # and in fact libtools seems not able to do that.
63 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
74 lyx_SOURCES += lyxwinres.rc
141 output_plaintext.cpp \
143 paragraph_funcs.cpp \
144 ParagraphParameters.cpp \
168 ParagraphMetrics.cpp \
248 ParagraphParameters.h \
282 @echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
286 BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
287 CLEANFILES += lyxcore.cpp
289 liblyxcore_la_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
293 liblyxcore_la_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
297 ############################### Graphics ##############################
299 noinst_LTLIBRARIES += liblyxgraphics.la
301 liblyxgraphics_la_SOURCES = \
302 graphics/GraphicsCache.h \
303 graphics/GraphicsCache.cpp \
304 graphics/GraphicsCacheItem.h \
305 graphics/GraphicsCacheItem.cpp \
306 graphics/GraphicsConverter.h \
307 graphics/GraphicsConverter.cpp \
308 graphics/GraphicsImage.h \
309 graphics/GraphicsImage.cpp \
310 graphics/GraphicsLoader.h \
311 graphics/GraphicsLoader.cpp \
312 graphics/GraphicsParams.cpp \
313 graphics/GraphicsParams.h \
314 graphics/GraphicsTypes.h \
315 graphics/GraphicsTypes.cpp \
316 graphics/PreviewImage.h \
317 graphics/PreviewImage.cpp \
318 graphics/PreviewLoader.h \
319 graphics/PreviewLoader.cpp \
320 graphics/Previews.h \
321 graphics/Previews.cpp
324 ############################### Mathed ##############################
326 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
328 noinst_LTLIBRARIES += liblyxmathed.la
330 SOURCEFILESMATHED = \
331 mathed/InsetMathAMSArray.cpp \
332 mathed/InsetMathArray.cpp \
333 mathed/InsetMathBig.cpp \
334 mathed/InsetMathBoldSymbol.cpp \
335 mathed/InsetMathBox.cpp \
336 mathed/InsetMathBrace.cpp \
337 mathed/InsetMath.cpp \
338 mathed/InsetMathCases.cpp \
339 mathed/InsetMathChar.cpp \
340 mathed/InsetMathColor.cpp \
341 mathed/CommandInset.cpp \
342 mathed/InsetMathComment.cpp \
343 mathed/InsetMathDecoration.cpp \
344 mathed/InsetMathDecoration.h \
345 mathed/InsetMathDelim.cpp \
346 mathed/InsetMathDiff.cpp \
347 mathed/InsetMathDots.cpp \
348 mathed/InsetMathEnv.cpp \
349 mathed/InsetMathExFunc.cpp \
350 mathed/InsetMathExInt.cpp \
351 mathed/InsetMathFont.cpp \
352 mathed/InsetMathFontOld.cpp \
353 mathed/InsetMathFrac.cpp \
354 mathed/InsetMathGrid.cpp \
355 mathed/InsetMathHull.cpp \
356 mathed/InsetMathKern.cpp \
357 mathed/InsetMathLefteqn.cpp \
358 mathed/InsetMathLim.cpp \
359 mathed/MathMacro.cpp \
360 mathed/InsetMathMatrix.cpp \
361 mathed/InsetMathNest.cpp \
362 mathed/InsetMathNumber.cpp \
363 mathed/InsetMathOverset.cpp \
364 mathed/InsetMathPar.cpp \
365 mathed/InsetMathPhantom.cpp \
366 mathed/InsetMathRef.cpp \
367 mathed/InsetMathRoot.cpp \
368 mathed/InsetMathScript.cpp \
369 mathed/InsetMathSize.cpp \
370 mathed/InsetMathSpace.cpp \
371 mathed/InsetMathSplit.cpp \
372 mathed/InsetMathSqrt.cpp \
373 mathed/InsetMathStackrel.cpp \
374 mathed/InsetMathString.cpp \
375 mathed/InsetMathSubstack.cpp \
376 mathed/InsetMathSymbol.cpp \
377 mathed/InsetMathTabular.cpp \
378 mathed/InsetMathUnderset.cpp \
379 mathed/InsetMathUnknown.cpp \
380 mathed/InsetMathXArrow.cpp \
381 mathed/InsetMathXYMatrix.cpp \
382 mathed/MathAtom.cpp \
383 mathed/MathAutoCorrect.cpp \
384 mathed/MathData.cpp \
385 mathed/MathExtern.cpp \
386 mathed/MathFactory.cpp \
387 mathed/MathMacroArgument.cpp \
388 mathed/MacroTable.cpp \
389 mathed/MathMacroTemplate.cpp \
390 mathed/MathParser.cpp \
391 mathed/MathStream.cpp \
392 mathed/MathSupport.cpp \
393 mathed/TextPainter.cpp
395 HEADERFILESMATHED = \
396 mathed/InsetMathAMSArray.h \
397 mathed/InsetMathArray.h \
398 mathed/InsetMathBig.h \
399 mathed/InsetMathBoldSymbol.h \
400 mathed/InsetMathBox.h \
401 mathed/InsetMathBrace.h \
402 mathed/InsetMathCases.h \
403 mathed/InsetMathChar.h \
404 mathed/InsetMathColor.h \
405 mathed/CommandInset.h \
406 mathed/InsetMathComment.h \
407 mathed/InsetMathDelim.h \
408 mathed/InsetMathDiff.h \
409 mathed/InsetMathDots.h \
410 mathed/InsetMathEnv.h \
411 mathed/InsetMathExFunc.h \
412 mathed/InsetMathExInt.h \
413 mathed/InsetMathFont.h \
414 mathed/InsetMathFontOld.h \
415 mathed/InsetMathFrac.h \
416 mathed/InsetMathGrid.h \
418 mathed/InsetMathHull.h \
419 mathed/InsetMathKern.h \
420 mathed/InsetMathLefteqn.h \
421 mathed/InsetMathLim.h \
423 mathed/InsetMathMatrix.h \
424 mathed/InsetMathNest.h \
425 mathed/InsetMathNumber.h \
426 mathed/InsetMathOverset.h \
427 mathed/InsetMathPar.h \
428 mathed/InsetMathPhantom.h \
429 mathed/InsetMathRef.h \
430 mathed/InsetMathRoot.h \
431 mathed/InsetMathScript.h \
432 mathed/InsetMathSize.h \
433 mathed/InsetMathSpace.h \
434 mathed/InsetMathSplit.h \
435 mathed/InsetMathSqrt.h \
436 mathed/InsetMathStackrel.h \
437 mathed/InsetMathString.h \
438 mathed/InsetMathSubstack.h \
439 mathed/InsetMathSymbol.h \
440 mathed/InsetMathTabular.h \
441 mathed/InsetMathUnderset.h \
442 mathed/InsetMathUnknown.h \
443 mathed/InsetMathXArrow.h \
444 mathed/InsetMathXYMatrix.h \
446 mathed/MathAutoCorrect.h \
448 mathed/MathExtern.h \
449 mathed/MathFactory.h \
450 mathed/MathGridInfo.h \
451 mathed/MathMacroArgument.h \
452 mathed/MacroTable.h \
453 mathed/MathMacroTemplate.h \
454 mathed/MathParser.h \
455 mathed/ReplaceData.h \
456 mathed/MathStream.h \
457 mathed/MathSupport.h \
461 @echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
465 BUILT_SOURCES += lyxmathed.cpp
466 CLEANFILES += lyxmathed.cpp
468 liblyxmathed_la_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
472 liblyxmathed_la_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
476 ############################### Insets ##############################
478 noinst_LTLIBRARIES += liblyxinsets.la
481 insets/InsetTheorem.cpp \
482 insets/InsetTheorem.h
484 SOURCEFILESINSETS = \
485 insets/MailInset.cpp \
486 insets/ExternalSupport.cpp \
487 insets/ExternalTemplate.cpp \
488 insets/ExternalTransforms.cpp \
489 insets/RenderButton.cpp \
490 insets/RenderGraphic.cpp \
491 insets/RenderPreview.cpp \
493 insets/InsetBibitem.cpp \
494 insets/InsetBibtex.cpp \
495 insets/InsetBox.cpp \
496 insets/InsetBranch.cpp \
497 insets/InsetCaption.cpp \
498 insets/InsetCitation.cpp \
499 insets/InsetCollapsable.cpp \
500 insets/InsetCommand.cpp \
501 insets/InsetCommandParams.cpp \
502 insets/InsetEnvironment.cpp \
503 insets/InsetERT.cpp \
504 insets/InsetExternal.cpp \
505 insets/InsetFlex.cpp \
506 insets/InsetFloat.cpp \
507 insets/InsetFloatList.cpp \
508 insets/InsetFoot.cpp \
509 insets/InsetFootlike.cpp \
510 insets/InsetGraphicsParams.cpp \
511 insets/InsetGraphics.cpp \
512 insets/InsetHFill.cpp \
513 insets/InsetHyperlink.cpp \
514 insets/InsetInclude.cpp \
515 insets/InsetIndex.cpp \
516 insets/InsetInfo.cpp \
517 insets/InsetLabel.cpp \
518 insets/InsetLine.cpp \
519 insets/InsetListings.cpp \
520 insets/InsetListingsParams.cpp \
521 insets/InsetMarginal.cpp \
522 insets/InsetNewline.cpp \
523 insets/InsetNewpage.cpp \
524 insets/InsetNomencl.cpp \
525 insets/InsetNote.cpp \
526 insets/InsetOptArg.cpp \
527 insets/InsetQuotes.cpp \
528 insets/InsetRef.cpp \
529 insets/InsetSpace.cpp \
530 insets/InsetSpecialChar.cpp \
531 insets/InsetTabular.cpp \
532 insets/InsetText.cpp \
533 insets/InsetTOC.cpp \
534 insets/InsetVSpace.cpp \
537 HEADERFILESINSETS = \
539 insets/ExternalSupport.h \
540 insets/ExternalTemplate.h \
541 insets/ExternalTransforms.h \
542 insets/RenderBase.h \
543 insets/RenderButton.h \
544 insets/RenderGraphic.h \
545 insets/RenderPreview.h \
547 insets/InsetBibitem.h \
548 insets/InsetBibtex.h \
550 insets/InsetBranch.h \
551 insets/InsetCaption.h \
552 insets/InsetCitation.h \
554 insets/InsetCollapsable.h \
555 insets/InsetCommand.h \
556 insets/InsetCommandParams.h \
558 insets/InsetEnvironment.h \
559 insets/InsetExternal.h \
561 insets/InsetFloat.h \
563 insets/InsetFloatList.h \
564 insets/InsetFootlike.h \
565 insets/InsetGraphicsParams.h \
566 insets/InsetGraphics.h \
567 insets/InsetHFill.h \
568 insets/InsetHyperlink.h \
569 insets/InsetInclude.h \
570 insets/InsetIndex.h \
572 insets/InsetLabel.h \
573 insets/InsetLayout.h \
575 insets/InsetListings.h \
576 insets/InsetListingsParams.h \
577 insets/InsetMarginal.h \
578 insets/InsetNewline.h \
579 insets/InsetNewpage.h \
580 insets/InsetNomencl.h \
582 insets/InsetOptArg.h \
583 insets/InsetQuotes.h \
585 insets/InsetSpace.h \
586 insets/InsetSpecialChar.h \
587 insets/InsetTabular.h \
590 insets/InsetVSpace.h \
593 # insets/InsetList.cpp \
594 # insets/InsetList.h \
595 # insets/InsetSection.h \
596 # insets/InsetSection.cpp \
597 # insets/InsetTheorem.cpp \
598 # insets/InsetTheorem.h
601 @echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
605 BUILT_SOURCES += lyxinsets.cpp
606 CLEANFILES += lyxinsets.cpp
608 liblyxinsets_la_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)
612 liblyxinsets_la_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)