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
77 liblyxcore_la_SOURCES = \
220 output_plaintext.cpp \
224 paragraph_funcs.cpp \
228 ParagraphMetrics.cpp \
230 ParagraphParameters.cpp \
231 ParagraphParameters.h \
277 ############################### Graphics ##############################
279 noinst_LTLIBRARIES += liblyxgraphics.la
281 liblyxgraphics_la_SOURCES = \
282 graphics/GraphicsCache.h \
283 graphics/GraphicsCache.cpp \
284 graphics/GraphicsCacheItem.h \
285 graphics/GraphicsCacheItem.cpp \
286 graphics/GraphicsConverter.h \
287 graphics/GraphicsConverter.cpp \
288 graphics/GraphicsImage.h \
289 graphics/GraphicsImage.cpp \
290 graphics/GraphicsLoader.h \
291 graphics/GraphicsLoader.cpp \
292 graphics/GraphicsParams.cpp \
293 graphics/GraphicsParams.h \
294 graphics/LoaderQueue.h \
295 graphics/LoaderQueue.cpp \
296 graphics/GraphicsTypes.h \
297 graphics/GraphicsTypes.cpp \
298 graphics/PreviewImage.h \
299 graphics/PreviewImage.cpp \
300 graphics/PreviewLoader.h \
301 graphics/PreviewLoader.cpp \
302 graphics/Previews.h \
303 graphics/Previews.cpp
306 ############################### Mathed ##############################
308 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
310 noinst_LTLIBRARIES += liblyxmathed.la
312 liblyxmathed_la_SOURCES = \
313 mathed/InsetMathAMSArray.cpp \
314 mathed/InsetMathAMSArray.h \
315 mathed/InsetMathArray.cpp \
316 mathed/InsetMathArray.h \
317 mathed/InsetMathBig.cpp \
318 mathed/InsetMathBig.h \
319 mathed/InsetMathBoldSymbol.cpp \
320 mathed/InsetMathBoldSymbol.h \
321 mathed/InsetMathBox.cpp \
322 mathed/InsetMathBoxed.cpp \
323 mathed/InsetMathBoxed.h \
324 mathed/InsetMathBox.h \
325 mathed/InsetMathBrace.cpp \
326 mathed/InsetMathBrace.h \
327 mathed/InsetMath.cpp \
328 mathed/InsetMathCases.cpp \
329 mathed/InsetMathCases.h \
330 mathed/InsetMathChar.cpp \
331 mathed/InsetMathChar.h \
332 mathed/InsetMathColor.cpp \
333 mathed/InsetMathColor.h \
334 mathed/CommandInset.cpp \
335 mathed/CommandInset.h \
336 mathed/InsetMathComment.cpp \
337 mathed/InsetMathComment.h \
338 mathed/InsetMathDecoration.cpp \
339 mathed/InsetMathDecoration.h \
340 mathed/InsetMathDelim.cpp \
341 mathed/InsetMathDelim.h \
342 mathed/InsetMathDiff.cpp \
343 mathed/InsetMathDiff.h \
344 mathed/InsetMathDots.cpp \
345 mathed/InsetMathDots.h \
346 mathed/InsetMathEnv.cpp \
347 mathed/InsetMathEnv.h \
348 mathed/InsetMathExFunc.cpp \
349 mathed/InsetMathExFunc.h \
350 mathed/InsetMathExInt.cpp \
351 mathed/InsetMathExInt.h \
352 mathed/InsetMathFBox.cpp \
353 mathed/InsetMathFBox.h \
354 mathed/InsetMathFont.cpp \
355 mathed/InsetMathFont.h \
356 mathed/InsetMathFontOld.cpp \
357 mathed/InsetMathFontOld.h \
358 mathed/InsetMathFrac.cpp \
359 mathed/InsetMathFrac.h \
360 mathed/InsetMathFrameBox.cpp \
361 mathed/InsetMathFrameBox.h \
362 mathed/InsetMathGrid.cpp \
363 mathed/InsetMathGrid.h \
365 mathed/InsetMathHull.cpp \
366 mathed/InsetMathHull.h \
367 mathed/InsetMathKern.cpp \
368 mathed/InsetMathKern.h \
369 mathed/InsetMathLefteqn.cpp \
370 mathed/InsetMathLefteqn.h \
371 mathed/InsetMathLim.cpp \
372 mathed/InsetMathLim.h \
373 mathed/MathMacro.cpp \
375 mathed/InsetMathMakebox.cpp \
376 mathed/InsetMathMakebox.h \
377 mathed/InsetMathMatrix.cpp \
378 mathed/InsetMathMatrix.h \
379 mathed/InsetMathNest.cpp \
380 mathed/InsetMathNest.h \
381 mathed/InsetMathNumber.cpp \
382 mathed/InsetMathNumber.h \
383 mathed/InsetMathOverset.cpp \
384 mathed/InsetMathOverset.h \
385 mathed/InsetMathPar.cpp \
386 mathed/InsetMathPar.h \
387 mathed/InsetMathPhantom.cpp \
388 mathed/InsetMathPhantom.h \
389 mathed/InsetMathRef.cpp \
390 mathed/InsetMathRef.h \
391 mathed/InsetMathRoot.cpp \
392 mathed/InsetMathRoot.h \
393 mathed/InsetMathScript.cpp \
394 mathed/InsetMathScript.h \
395 mathed/InsetMathSize.cpp \
396 mathed/InsetMathSize.h \
397 mathed/InsetMathSpace.cpp \
398 mathed/InsetMathSpace.h \
399 mathed/InsetMathSplit.cpp \
400 mathed/InsetMathSplit.h \
401 mathed/InsetMathSqrt.cpp \
402 mathed/InsetMathSqrt.h \
403 mathed/InsetMathStackrel.cpp \
404 mathed/InsetMathStackrel.h \
405 mathed/InsetMathString.cpp \
406 mathed/InsetMathString.h \
407 mathed/InsetMathSubstack.cpp \
408 mathed/InsetMathSubstack.h \
409 mathed/InsetMathSymbol.cpp \
410 mathed/InsetMathSymbol.h \
411 mathed/InsetMathTabular.cpp \
412 mathed/InsetMathTabular.h \
413 mathed/InsetMathUnderset.cpp \
414 mathed/InsetMathUnderset.h \
415 mathed/InsetMathUnknown.cpp \
416 mathed/InsetMathUnknown.h \
417 mathed/InsetMathXArrow.cpp \
418 mathed/InsetMathXArrow.h \
419 mathed/InsetMathXYMatrix.cpp \
420 mathed/InsetMathXYMatrix.h \
421 mathed/MathAtom.cpp \
423 mathed/MathAutoCorrect.cpp \
424 mathed/MathAutoCorrect.h \
425 mathed/MathData.cpp \
427 mathed/MathExtern.cpp \
428 mathed/MathExtern.h \
429 mathed/MathFactory.cpp \
430 mathed/MathFactory.h \
431 mathed/MathGridInfo.h \
432 mathed/MathMacroArgument.cpp \
433 mathed/MathMacroArgument.h \
434 mathed/MacroTable.cpp \
435 mathed/MacroTable.h \
436 mathed/MathMacroTemplate.cpp \
437 mathed/MathMacroTemplate.h \
438 mathed/MathParser.cpp \
439 mathed/MathParser.h \
440 mathed/ReplaceData.h \
441 mathed/MathStream.cpp \
442 mathed/MathStream.h \
443 mathed/MathSupport.cpp \
444 mathed/MathSupport.h \
445 mathed/TextPainter.cpp \
447 # mathed/InsetMathMBox.cpp
448 # mathed/InsetMathMBox.h
450 ############################### Insets ##############################
452 noinst_LTLIBRARIES += liblyxinsets.la
455 insets/InsetTheorem.cpp \
456 insets/InsetTheorem.h
458 liblyxinsets_la_SOURCES = \
459 insets/MailInset.cpp \
461 insets/ExternalSupport.cpp \
462 insets/ExternalSupport.h \
463 insets/ExternalTemplate.cpp \
464 insets/ExternalTemplate.h \
465 insets/ExternalTransforms.cpp \
466 insets/ExternalTransforms.h \
467 insets/RenderBase.h \
468 insets/RenderButton.cpp \
469 insets/RenderButton.h \
470 insets/RenderGraphic.cpp \
471 insets/RenderGraphic.h \
472 insets/RenderPreview.cpp \
473 insets/RenderPreview.h \
476 insets/InsetBibitem.cpp \
477 insets/InsetBibitem.h \
478 insets/InsetBibtex.cpp \
479 insets/InsetBibtex.h \
480 insets/InsetBox.cpp \
482 insets/InsetBranch.cpp \
483 insets/InsetBranch.h \
484 insets/InsetCaption.cpp \
485 insets/InsetCaption.h \
486 insets/InsetCitation.cpp \
487 insets/InsetCitation.h \
489 insets/InsetCollapsable.cpp \
490 insets/InsetCollapsable.h \
491 insets/InsetCommand.cpp \
492 insets/InsetCommand.h \
493 insets/InsetCommandParams.cpp \
494 insets/InsetCommandParams.h \
495 insets/InsetEnvironment.cpp \
496 insets/InsetEnvironment.h \
497 insets/InsetERT.cpp \
499 insets/InsetExternal.cpp \
500 insets/InsetExternal.h \
502 insets/InsetFlex.cpp \
503 insets/InsetFloat.h \
504 insets/InsetFloat.cpp \
505 insets/InsetFloatList.cpp \
506 insets/InsetFloatList.h \
507 insets/InsetFoot.cpp \
509 insets/InsetFootlike.cpp \
510 insets/InsetFootlike.h \
511 insets/InsetGraphicsParams.h \
512 insets/InsetGraphicsParams.cpp \
513 insets/InsetGraphics.cpp \
514 insets/InsetGraphics.h \
515 insets/InsetHFill.cpp \
516 insets/InsetHFill.h \
517 insets/InsetHyperlink.cpp \
518 insets/InsetHyperlink.h \
519 insets/InsetInclude.cpp \
520 insets/InsetInclude.h \
521 insets/InsetIndex.cpp \
522 insets/InsetIndex.h \
523 insets/InsetInfo.cpp \
525 insets/InsetLabel.cpp \
526 insets/InsetLabel.h \
527 insets/InsetLine.cpp \
529 insets/InsetListings.h \
530 insets/InsetListings.cpp \
531 insets/InsetListingsParams.h \
532 insets/InsetListingsParams.cpp \
533 insets/InsetMarginal.h \
534 insets/InsetMarginal.cpp \
535 insets/InsetNewline.cpp \
536 insets/InsetNewline.h \
537 insets/InsetNomencl.cpp \
538 insets/InsetNomencl.h \
539 insets/InsetNote.cpp \
541 insets/InsetOptArg.cpp \
542 insets/InsetOptArg.h \
543 insets/InsetPagebreak.cpp \
544 insets/InsetPagebreak.h \
545 insets/InsetQuotes.cpp \
546 insets/InsetQuotes.h \
547 insets/InsetRef.cpp \
549 insets/InsetSpace.cpp \
550 insets/InsetSpace.h \
551 insets/InsetSpecialChar.cpp \
552 insets/InsetSpecialChar.h \
553 insets/InsetTabular.cpp \
554 insets/InsetTabular.h \
555 insets/InsetText.cpp \
557 insets/InsetTOC.cpp \
559 insets/InsetVSpace.cpp \
560 insets/InsetVSpace.h \
564 # insets/InsetList.cpp \
565 # insets/InsetList.h \
566 # insets/InsetSection.h \
567 # insets/InsetSection.cpp \
568 # insets/InsetTheorem.cpp \
569 # insets/InsetTheorem.h