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