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
144 output_plaintext.cpp \
146 paragraph_funcs.cpp \
147 ParagraphParameters.cpp \
171 ParagraphMetrics.cpp \
254 ParagraphParameters.h \
289 @echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
291 BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
293 liblyxcore_la_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
297 liblyxcore_la_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
301 ############################### Graphics ##############################
303 noinst_LTLIBRARIES += liblyxgraphics.la
305 liblyxgraphics_la_SOURCES = \
306 graphics/GraphicsCache.h \
307 graphics/GraphicsCache.cpp \
308 graphics/GraphicsCacheItem.h \
309 graphics/GraphicsCacheItem.cpp \
310 graphics/GraphicsConverter.h \
311 graphics/GraphicsConverter.cpp \
312 graphics/GraphicsImage.h \
313 graphics/GraphicsImage.cpp \
314 graphics/GraphicsLoader.h \
315 graphics/GraphicsLoader.cpp \
316 graphics/GraphicsParams.cpp \
317 graphics/GraphicsParams.h \
318 graphics/GraphicsTypes.h \
319 graphics/GraphicsTypes.cpp \
320 graphics/PreviewImage.h \
321 graphics/PreviewImage.cpp \
322 graphics/PreviewLoader.h \
323 graphics/PreviewLoader.cpp \
324 graphics/Previews.h \
325 graphics/Previews.cpp
328 ############################### Mathed ##############################
330 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
332 noinst_LTLIBRARIES += liblyxmathed.la
334 SOURCEFILESMATHED = \
335 mathed/InsetMathAMSArray.cpp \
336 mathed/InsetMathArray.cpp \
337 mathed/InsetMathBig.cpp \
338 mathed/InsetMathBoldSymbol.cpp \
339 mathed/InsetMathBox.cpp \
340 mathed/InsetMathBrace.cpp \
341 mathed/InsetMath.cpp \
342 mathed/InsetMathCases.cpp \
343 mathed/InsetMathChar.cpp \
344 mathed/InsetMathColor.cpp \
345 mathed/CommandInset.cpp \
346 mathed/InsetMathComment.cpp \
347 mathed/InsetMathDecoration.cpp \
348 mathed/InsetMathDecoration.h \
349 mathed/InsetMathDelim.cpp \
350 mathed/InsetMathDiff.cpp \
351 mathed/InsetMathDots.cpp \
352 mathed/InsetMathEnv.cpp \
353 mathed/InsetMathExFunc.cpp \
354 mathed/InsetMathExInt.cpp \
355 mathed/InsetMathFont.cpp \
356 mathed/InsetMathFontOld.cpp \
357 mathed/InsetMathFrac.cpp \
358 mathed/InsetMathGrid.cpp \
359 mathed/InsetMathHull.cpp \
360 mathed/InsetMathKern.cpp \
361 mathed/InsetMathLefteqn.cpp \
362 mathed/InsetMathLim.cpp \
363 mathed/MathMacro.cpp \
364 mathed/InsetMathMatrix.cpp \
365 mathed/InsetMathNest.cpp \
366 mathed/InsetMathNumber.cpp \
367 mathed/InsetMathOverset.cpp \
368 mathed/InsetMathPar.cpp \
369 mathed/InsetMathPhantom.cpp \
370 mathed/InsetMathRef.cpp \
371 mathed/InsetMathRoot.cpp \
372 mathed/InsetMathScript.cpp \
373 mathed/InsetMathSize.cpp \
374 mathed/InsetMathSpace.cpp \
375 mathed/InsetMathSplit.cpp \
376 mathed/InsetMathSqrt.cpp \
377 mathed/InsetMathStackrel.cpp \
378 mathed/InsetMathString.cpp \
379 mathed/InsetMathSubstack.cpp \
380 mathed/InsetMathSymbol.cpp \
381 mathed/InsetMathTabular.cpp \
382 mathed/InsetMathUnderset.cpp \
383 mathed/InsetMathUnknown.cpp \
384 mathed/InsetMathXArrow.cpp \
385 mathed/InsetMathXYMatrix.cpp \
386 mathed/MathAtom.cpp \
387 mathed/MathAutoCorrect.cpp \
388 mathed/MathData.cpp \
389 mathed/MathExtern.cpp \
390 mathed/MathFactory.cpp \
391 mathed/MathMacroArgument.cpp \
392 mathed/MacroTable.cpp \
393 mathed/MathMacroTemplate.cpp \
394 mathed/MathParser.cpp \
395 mathed/MathStream.cpp \
396 mathed/MathSupport.cpp \
397 mathed/TextPainter.cpp
399 HEADERFILESMATHED = \
400 mathed/InsetMathAMSArray.h \
401 mathed/InsetMathArray.h \
402 mathed/InsetMathBig.h \
403 mathed/InsetMathBoldSymbol.h \
404 mathed/InsetMathBox.h \
405 mathed/InsetMathBrace.h \
406 mathed/InsetMathCases.h \
407 mathed/InsetMathChar.h \
408 mathed/InsetMathColor.h \
409 mathed/CommandInset.h \
410 mathed/InsetMathComment.h \
411 mathed/InsetMathDelim.h \
412 mathed/InsetMathDiff.h \
413 mathed/InsetMathDots.h \
414 mathed/InsetMathEnv.h \
415 mathed/InsetMathExFunc.h \
416 mathed/InsetMathExInt.h \
417 mathed/InsetMathFont.h \
418 mathed/InsetMathFontOld.h \
419 mathed/InsetMathFrac.h \
420 mathed/InsetMathGrid.h \
422 mathed/InsetMathHull.h \
423 mathed/InsetMathKern.h \
424 mathed/InsetMathLefteqn.h \
425 mathed/InsetMathLim.h \
427 mathed/InsetMathMatrix.h \
428 mathed/InsetMathNest.h \
429 mathed/InsetMathNumber.h \
430 mathed/InsetMathOverset.h \
431 mathed/InsetMathPar.h \
432 mathed/InsetMathPhantom.h \
433 mathed/InsetMathRef.h \
434 mathed/InsetMathRoot.h \
435 mathed/InsetMathScript.h \
436 mathed/InsetMathSize.h \
437 mathed/InsetMathSpace.h \
438 mathed/InsetMathSplit.h \
439 mathed/InsetMathSqrt.h \
440 mathed/InsetMathStackrel.h \
441 mathed/InsetMathString.h \
442 mathed/InsetMathSubstack.h \
443 mathed/InsetMathSymbol.h \
444 mathed/InsetMathTabular.h \
445 mathed/InsetMathUnderset.h \
446 mathed/InsetMathUnknown.h \
447 mathed/InsetMathXArrow.h \
448 mathed/InsetMathXYMatrix.h \
450 mathed/MathAutoCorrect.h \
452 mathed/MathExtern.h \
453 mathed/MathFactory.h \
454 mathed/MathGridInfo.h \
455 mathed/MathMacroArgument.h \
456 mathed/MacroTable.h \
457 mathed/MathMacroTemplate.h \
458 mathed/MathParser.h \
459 mathed/ReplaceData.h \
460 mathed/MathStream.h \
461 mathed/MathSupport.h \
467 @echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
469 BUILT_SOURCES += lyxmathed.cpp
471 liblyxmathed_la_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
475 liblyxmathed_la_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
479 ############################### Insets ##############################
481 noinst_LTLIBRARIES += liblyxinsets.la
484 insets/InsetTheorem.cpp \
485 insets/InsetTheorem.h
487 SOURCEFILESINSETS = \
488 insets/MailInset.cpp \
489 insets/ExternalSupport.cpp \
490 insets/ExternalTemplate.cpp \
491 insets/ExternalTransforms.cpp \
492 insets/RenderButton.cpp \
493 insets/RenderGraphic.cpp \
494 insets/RenderPreview.cpp \
496 insets/InsetBibitem.cpp \
497 insets/InsetBibtex.cpp \
498 insets/InsetBox.cpp \
499 insets/InsetBranch.cpp \
500 insets/InsetCaption.cpp \
501 insets/InsetCitation.cpp \
502 insets/InsetCollapsable.cpp \
503 insets/InsetCommand.cpp \
504 insets/InsetCommandParams.cpp \
505 insets/InsetEnvironment.cpp \
506 insets/InsetERT.cpp \
507 insets/InsetExternal.cpp \
508 insets/InsetFlex.cpp \
509 insets/InsetFloat.cpp \
510 insets/InsetFloatList.cpp \
511 insets/InsetFoot.cpp \
512 insets/InsetFootlike.cpp \
513 insets/InsetGraphicsParams.cpp \
514 insets/InsetGraphics.cpp \
515 insets/InsetHFill.cpp \
516 insets/InsetHyperlink.cpp \
517 insets/InsetInclude.cpp \
518 insets/InsetIndex.cpp \
519 insets/InsetInfo.cpp \
520 insets/InsetLabel.cpp \
521 insets/InsetLine.cpp \
522 insets/InsetListings.cpp \
523 insets/InsetListingsParams.cpp \
524 insets/InsetMarginal.cpp \
525 insets/InsetNewline.cpp \
526 insets/InsetNewpage.cpp \
527 insets/InsetNomencl.cpp \
528 insets/InsetNote.cpp \
529 insets/InsetOptArg.cpp \
530 insets/InsetQuotes.cpp \
531 insets/InsetRef.cpp \
532 insets/InsetSpace.cpp \
533 insets/InsetSpecialChar.cpp \
534 insets/InsetTabular.cpp \
535 insets/InsetText.cpp \
536 insets/InsetTOC.cpp \
537 insets/InsetVSpace.cpp \
540 HEADERFILESINSETS = \
542 insets/ExternalSupport.h \
543 insets/ExternalTemplate.h \
544 insets/ExternalTransforms.h \
545 insets/RenderBase.h \
546 insets/RenderButton.h \
547 insets/RenderGraphic.h \
548 insets/RenderPreview.h \
550 insets/InsetBibitem.h \
551 insets/InsetBibtex.h \
553 insets/InsetBranch.h \
554 insets/InsetCaption.h \
555 insets/InsetCitation.h \
557 insets/InsetCollapsable.h \
558 insets/InsetCommand.h \
559 insets/InsetCommandParams.h \
561 insets/InsetEnvironment.h \
562 insets/InsetExternal.h \
564 insets/InsetFloat.h \
566 insets/InsetFloatList.h \
567 insets/InsetFootlike.h \
568 insets/InsetGraphicsParams.h \
569 insets/InsetGraphics.h \
570 insets/InsetHFill.h \
571 insets/InsetHyperlink.h \
572 insets/InsetInclude.h \
573 insets/InsetIndex.h \
575 insets/InsetLabel.h \
576 insets/InsetLayout.h \
578 insets/InsetListings.h \
579 insets/InsetListingsParams.h \
580 insets/InsetMarginal.h \
581 insets/InsetNewline.h \
582 insets/InsetNewpage.h \
583 insets/InsetNomencl.h \
585 insets/InsetOptArg.h \
586 insets/InsetQuotes.h \
588 insets/InsetSpace.h \
589 insets/InsetSpecialChar.h \
590 insets/InsetTabular.h \
593 insets/InsetVSpace.h \
596 # insets/InsetList.cpp \
597 # insets/InsetList.h \
598 # insets/InsetSection.h \
599 # insets/InsetSection.cpp \
600 # insets/InsetTheorem.cpp \
601 # insets/InsetTheorem.h
606 @echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
608 BUILT_SOURCES += lyxinsets.cpp
610 liblyxinsets_la_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)
614 liblyxinsets_la_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)