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 tex2lyx client .
13 EXTRA_DIST = config.h.in \
21 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(MYTHES_LIBS) $(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
140 output_plaintext.cpp \
142 paragraph_funcs.cpp \
143 ParagraphMetrics.cpp \
144 ParagraphParameters.cpp \
245 ParagraphParameters.h \
277 @echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
281 BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
282 CLEANFILES += lyxcore.cpp
284 liblyxcore_la_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
288 liblyxcore_la_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
292 ############################### Graphics ##############################
294 noinst_LTLIBRARIES += liblyxgraphics.la
296 liblyxgraphics_la_SOURCES = \
297 graphics/GraphicsCache.h \
298 graphics/GraphicsCache.cpp \
299 graphics/GraphicsCacheItem.h \
300 graphics/GraphicsCacheItem.cpp \
301 graphics/GraphicsConverter.h \
302 graphics/GraphicsConverter.cpp \
303 graphics/GraphicsImage.h \
304 graphics/GraphicsImage.cpp \
305 graphics/GraphicsLoader.h \
306 graphics/GraphicsLoader.cpp \
307 graphics/GraphicsParams.cpp \
308 graphics/GraphicsParams.h \
309 graphics/GraphicsTypes.h \
310 graphics/GraphicsTypes.cpp \
311 graphics/PreviewImage.h \
312 graphics/PreviewImage.cpp \
313 graphics/PreviewLoader.h \
314 graphics/PreviewLoader.cpp \
315 graphics/Previews.h \
316 graphics/Previews.cpp
319 ############################### Mathed ##############################
321 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
323 noinst_LTLIBRARIES += liblyxmathed.la
325 SOURCEFILESMATHED = \
326 mathed/InsetMathAMSArray.cpp \
327 mathed/InsetMathArray.cpp \
328 mathed/InsetMathBig.cpp \
329 mathed/InsetMathBoldSymbol.cpp \
330 mathed/InsetMathBox.cpp \
331 mathed/InsetMathBrace.cpp \
332 mathed/InsetMath.cpp \
333 mathed/InsetMathCases.cpp \
334 mathed/InsetMathChar.cpp \
335 mathed/InsetMathColor.cpp \
336 mathed/CommandInset.cpp \
337 mathed/InsetMathComment.cpp \
338 mathed/InsetMathDecoration.cpp \
339 mathed/InsetMathDecoration.h \
340 mathed/InsetMathDelim.cpp \
341 mathed/InsetMathDiff.cpp \
342 mathed/InsetMathDots.cpp \
343 mathed/InsetMathEnv.cpp \
344 mathed/InsetMathExFunc.cpp \
345 mathed/InsetMathExInt.cpp \
346 mathed/InsetMathFont.cpp \
347 mathed/InsetMathFontOld.cpp \
348 mathed/InsetMathFrac.cpp \
349 mathed/InsetMathGrid.cpp \
350 mathed/InsetMathHull.cpp \
351 mathed/InsetMathKern.cpp \
352 mathed/InsetMathLefteqn.cpp \
353 mathed/InsetMathLim.cpp \
354 mathed/MathMacro.cpp \
355 mathed/InsetMathMatrix.cpp \
356 mathed/InsetMathNest.cpp \
357 mathed/InsetMathNumber.cpp \
358 mathed/InsetMathOverset.cpp \
359 mathed/InsetMathPar.cpp \
360 mathed/InsetMathPhantom.cpp \
361 mathed/InsetMathRef.cpp \
362 mathed/InsetMathRoot.cpp \
363 mathed/InsetMathScript.cpp \
364 mathed/InsetMathSize.cpp \
365 mathed/InsetMathSpace.cpp \
366 mathed/InsetMathSplit.cpp \
367 mathed/InsetMathSqrt.cpp \
368 mathed/InsetMathStackrel.cpp \
369 mathed/InsetMathString.cpp \
370 mathed/InsetMathSubstack.cpp \
371 mathed/InsetMathSymbol.cpp \
372 mathed/InsetMathTabular.cpp \
373 mathed/InsetMathUnderset.cpp \
374 mathed/InsetMathUnknown.cpp \
375 mathed/InsetMathXArrow.cpp \
376 mathed/InsetMathXYMatrix.cpp \
377 mathed/MathAtom.cpp \
378 mathed/MathAutoCorrect.cpp \
379 mathed/MathData.cpp \
380 mathed/MathExtern.cpp \
381 mathed/MathFactory.cpp \
382 mathed/MathMacroArgument.cpp \
383 mathed/MacroTable.cpp \
384 mathed/MathMacroTemplate.cpp \
385 mathed/MathParser.cpp \
386 mathed/MathStream.cpp \
387 mathed/MathSupport.cpp \
388 mathed/TextPainter.cpp
390 HEADERFILESMATHED = \
391 mathed/InsetMathAMSArray.h \
392 mathed/InsetMathArray.h \
393 mathed/InsetMathBig.h \
394 mathed/InsetMathBoldSymbol.h \
395 mathed/InsetMathBox.h \
396 mathed/InsetMathBrace.h \
397 mathed/InsetMathCases.h \
398 mathed/InsetMathChar.h \
399 mathed/InsetMathColor.h \
400 mathed/CommandInset.h \
401 mathed/InsetMathComment.h \
402 mathed/InsetMathDelim.h \
403 mathed/InsetMathDiff.h \
404 mathed/InsetMathDots.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/InsetMathSplit.h \
430 mathed/InsetMathSqrt.h \
431 mathed/InsetMathStackrel.h \
432 mathed/InsetMathString.h \
433 mathed/InsetMathSubstack.h \
434 mathed/InsetMathSymbol.h \
435 mathed/InsetMathTabular.h \
436 mathed/InsetMathUnderset.h \
437 mathed/InsetMathUnknown.h \
438 mathed/InsetMathXArrow.h \
439 mathed/InsetMathXYMatrix.h \
441 mathed/MathAutoCorrect.h \
443 mathed/MathCompletionList.h \
444 mathed/MathExtern.h \
445 mathed/MathFactory.h \
446 mathed/MathGridInfo.h \
447 mathed/MathMacroArgument.h \
448 mathed/MacroTable.h \
449 mathed/MathMacroTemplate.h \
450 mathed/MathParser.h \
451 mathed/ReplaceData.h \
452 mathed/MathStream.h \
453 mathed/MathSupport.h \
457 @echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
461 BUILT_SOURCES += lyxmathed.cpp
462 CLEANFILES += lyxmathed.cpp
464 liblyxmathed_la_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
468 liblyxmathed_la_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
472 ############################### Insets ##############################
474 noinst_LTLIBRARIES += liblyxinsets.la
476 SOURCEFILESINSETS = \
477 insets/ExternalSupport.cpp \
478 insets/ExternalTemplate.cpp \
479 insets/ExternalTransforms.cpp \
480 insets/RenderButton.cpp \
481 insets/RenderGraphic.cpp \
482 insets/RenderPreview.cpp \
484 insets/InsetBibitem.cpp \
485 insets/InsetBibtex.cpp \
486 insets/InsetBox.cpp \
487 insets/InsetBranch.cpp \
488 insets/InsetCaption.cpp \
489 insets/InsetCitation.cpp \
490 insets/InsetCollapsable.cpp \
491 insets/InsetCommand.cpp \
492 insets/InsetCommandParams.cpp \
493 insets/InsetEnvironment.cpp \
494 insets/InsetERT.cpp \
495 insets/InsetExternal.cpp \
496 insets/InsetFlex.cpp \
497 insets/InsetFloat.cpp \
498 insets/InsetFloatList.cpp \
499 insets/InsetFoot.cpp \
500 insets/InsetFootlike.cpp \
501 insets/InsetGraphicsParams.cpp \
502 insets/InsetGraphics.cpp \
503 insets/InsetHyperlink.cpp \
504 insets/InsetInclude.cpp \
505 insets/InsetIndex.cpp \
506 insets/InsetInfo.cpp \
507 insets/InsetLabel.cpp \
508 insets/InsetLayout.cpp \
509 insets/InsetLine.cpp \
510 insets/InsetListings.cpp \
511 insets/InsetListingsParams.cpp \
512 insets/InsetMarginal.cpp \
513 insets/InsetNewline.cpp \
514 insets/InsetNewpage.cpp \
515 insets/InsetNomencl.cpp \
516 insets/InsetNote.cpp \
517 insets/InsetOptArg.cpp \
518 insets/InsetQuotes.cpp \
519 insets/InsetRef.cpp \
520 insets/InsetSpace.cpp \
521 insets/InsetSpecialChar.cpp \
522 insets/InsetTabular.cpp \
523 insets/InsetText.cpp \
524 insets/InsetTOC.cpp \
525 insets/InsetVSpace.cpp \
528 HEADERFILESINSETS = \
529 insets/ExternalSupport.h \
530 insets/ExternalTemplate.h \
531 insets/ExternalTransforms.h \
532 insets/RenderBase.h \
533 insets/RenderButton.h \
534 insets/RenderGraphic.h \
535 insets/RenderPreview.h \
537 insets/InsetBibitem.h \
538 insets/InsetBibtex.h \
540 insets/InsetBranch.h \
541 insets/InsetCaption.h \
542 insets/InsetCitation.h \
544 insets/InsetCollapsable.h \
545 insets/InsetCommand.h \
546 insets/InsetCommandParams.h \
548 insets/InsetEnvironment.h \
549 insets/InsetExternal.h \
551 insets/InsetFloat.h \
553 insets/InsetFloatList.h \
554 insets/InsetFootlike.h \
555 insets/InsetGraphicsParams.h \
556 insets/InsetGraphics.h \
557 insets/InsetHyperlink.h \
558 insets/InsetInclude.h \
559 insets/InsetIndex.h \
561 insets/InsetLabel.h \
562 insets/InsetLayout.h \
564 insets/InsetListings.h \
565 insets/InsetListingsParams.h \
566 insets/InsetMarginal.h \
567 insets/InsetNewline.h \
568 insets/InsetNewpage.h \
569 insets/InsetNomencl.h \
571 insets/InsetOptArg.h \
572 insets/InsetQuotes.h \
574 insets/InsetSpace.h \
575 insets/InsetSpecialChar.h \
576 insets/InsetTabular.h \
579 insets/InsetVSpace.h \
582 # insets/InsetList.cpp \
583 # insets/InsetList.h \
584 # insets/InsetSection.h \
585 # insets/InsetSection.cpp
588 @echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
592 BUILT_SOURCES += lyxinsets.cpp
593 CLEANFILES += lyxinsets.cpp
595 liblyxinsets_la_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)
599 liblyxinsets_la_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)