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 pkglib_LTLIBRARIES = liblyxcore.la
24 noinst_PROGRAMS = $(FRONTENDS_PROGS)
25 EXTRA_PROGRAMS = lyx-qt4
31 frontends/liblyxfrontends.la \
32 frontends/qt4/liblyxqt4.la \
33 frontends/controllers/liblyxcontrollers.la \
35 support/liblyxsupport.la \
39 lyx$(EXEEXT): $(FRONTENDS_PROGS)
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 \
73 liblyxcore_la_SOURCES = \
90 bufferview_funcs.cpp \
186 lyxlayout_ptr_fwd.h \
211 output_plaintext.cpp \
215 paragraph_funcs.cpp \
219 ParagraphMetrics.cpp \
221 ParagraphParameters.cpp \
222 ParagraphParameters.h \
268 ############################### Graphics ##############################
270 pkglib_LTLIBRARIES += liblyxgraphics.la
272 liblyxgraphics_la_SOURCES = \
273 graphics/GraphicsCache.h \
274 graphics/GraphicsCache.cpp \
275 graphics/GraphicsCacheItem.h \
276 graphics/GraphicsCacheItem.cpp \
277 graphics/GraphicsConverter.h \
278 graphics/GraphicsConverter.cpp \
279 graphics/GraphicsImage.h \
280 graphics/GraphicsImage.cpp \
281 graphics/GraphicsLoader.h \
282 graphics/GraphicsLoader.cpp \
283 graphics/GraphicsParams.cpp \
284 graphics/GraphicsParams.h \
285 graphics/LoaderQueue.h \
286 graphics/LoaderQueue.cpp \
287 graphics/GraphicsTypes.h \
288 graphics/GraphicsTypes.cpp \
289 graphics/PreviewImage.h \
290 graphics/PreviewImage.cpp \
291 graphics/PreviewLoader.h \
292 graphics/PreviewLoader.cpp \
293 graphics/Previews.h \
294 graphics/Previews.cpp
297 ############################### Mathed ##############################
299 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
301 pkglib_LTLIBRARIES += liblyxmathed.la
303 liblyxmathed_la_SOURCES = \
304 mathed/InsetMathAMSArray.cpp \
305 mathed/InsetMathAMSArray.h \
306 mathed/InsetMathArray.cpp \
307 mathed/InsetMathArray.h \
308 mathed/InsetMathBig.cpp \
309 mathed/InsetMathBig.h \
310 mathed/InsetMathBinom.cpp \
311 mathed/InsetMathBinom.h \
312 mathed/InsetMathBoldSymbol.cpp \
313 mathed/InsetMathBoldSymbol.h \
314 mathed/InsetMathBox.cpp \
315 mathed/InsetMathBoxed.cpp \
316 mathed/InsetMathBoxed.h \
317 mathed/InsetMathBox.h \
318 mathed/InsetMathBrace.cpp \
319 mathed/InsetMathBrace.h \
320 mathed/InsetMath.cpp \
321 mathed/InsetMathCases.cpp \
322 mathed/InsetMathCases.h \
323 mathed/InsetMathChar.cpp \
324 mathed/InsetMathChar.h \
325 mathed/InsetMathColor.cpp \
326 mathed/InsetMathColor.h \
327 mathed/CommandInset.cpp \
328 mathed/CommandInset.h \
329 mathed/InsetMathComment.cpp \
330 mathed/InsetMathComment.h \
331 mathed/InsetMathDecoration.cpp \
332 mathed/InsetMathDecoration.h \
333 mathed/InsetMathDelim.cpp \
334 mathed/InsetMathDelim.h \
335 mathed/InsetMathDFrac.cpp \
336 mathed/InsetMathDFrac.h \
337 mathed/InsetMathDiff.cpp \
338 mathed/InsetMathDiff.h \
339 mathed/InsetMathDots.cpp \
340 mathed/InsetMathDots.h \
341 mathed/InsetMathEnv.cpp \
342 mathed/InsetMathEnv.h \
343 mathed/InsetMathExFunc.cpp \
344 mathed/InsetMathExFunc.h \
345 mathed/InsetMathExInt.cpp \
346 mathed/InsetMathExInt.h \
347 mathed/InsetMathFBox.cpp \
348 mathed/InsetMathFBox.h \
349 mathed/InsetMathFont.cpp \
350 mathed/InsetMathFont.h \
351 mathed/InsetMathFontOld.cpp \
352 mathed/InsetMathFontOld.h \
353 mathed/InsetMathFracBase.cpp \
354 mathed/InsetMathFracBase.h \
355 mathed/InsetMathFrac.cpp \
356 mathed/InsetMathFrac.h \
357 mathed/InsetMathFrameBox.cpp \
358 mathed/InsetMathFrameBox.h \
359 mathed/InsetMathGrid.cpp \
360 mathed/InsetMathGrid.h \
362 mathed/InsetMathHull.cpp \
363 mathed/InsetMathHull.h \
364 mathed/InsetMathKern.cpp \
365 mathed/InsetMathKern.h \
366 mathed/InsetMathLefteqn.cpp \
367 mathed/InsetMathLefteqn.h \
368 mathed/InsetMathLim.cpp \
369 mathed/InsetMathLim.h \
370 mathed/MathMacro.cpp \
372 mathed/InsetMathMakebox.cpp \
373 mathed/InsetMathMakebox.h \
374 mathed/InsetMathMatrix.cpp \
375 mathed/InsetMathMatrix.h \
376 mathed/InsetMathNest.cpp \
377 mathed/InsetMathNest.h \
378 mathed/InsetMathNumber.cpp \
379 mathed/InsetMathNumber.h \
380 mathed/InsetMathOverset.cpp \
381 mathed/InsetMathOverset.h \
382 mathed/InsetMathPar.cpp \
383 mathed/InsetMathPar.h \
384 mathed/InsetMathPhantom.cpp \
385 mathed/InsetMathPhantom.h \
386 mathed/InsetMathRef.cpp \
387 mathed/InsetMathRef.h \
388 mathed/InsetMathRoot.cpp \
389 mathed/InsetMathRoot.h \
390 mathed/InsetMathScript.cpp \
391 mathed/InsetMathScript.h \
392 mathed/InsetMathSize.cpp \
393 mathed/InsetMathSize.h \
394 mathed/InsetMathSpace.cpp \
395 mathed/InsetMathSpace.h \
396 mathed/InsetMathSplit.cpp \
397 mathed/InsetMathSplit.h \
398 mathed/InsetMathSqrt.cpp \
399 mathed/InsetMathSqrt.h \
400 mathed/InsetMathStackrel.cpp \
401 mathed/InsetMathStackrel.h \
402 mathed/InsetMathString.cpp \
403 mathed/InsetMathString.h \
404 mathed/InsetMathSubstack.cpp \
405 mathed/InsetMathSubstack.h \
406 mathed/InsetMathSymbol.cpp \
407 mathed/InsetMathSymbol.h \
408 mathed/InsetMathTabular.cpp \
409 mathed/InsetMathTabular.h \
410 mathed/InsetMathTFrac.cpp \
411 mathed/InsetMathTFrac.h \
412 mathed/InsetMathUnderset.cpp \
413 mathed/InsetMathUnderset.h \
414 mathed/InsetMathUnknown.cpp \
415 mathed/InsetMathUnknown.h \
416 mathed/InsetMathXArrow.cpp \
417 mathed/InsetMathXArrow.h \
418 mathed/InsetMathXYMatrix.cpp \
419 mathed/InsetMathXYMatrix.h \
420 mathed/MathAtom.cpp \
422 mathed/MathAutoCorrect.cpp \
423 mathed/MathAutoCorrect.h \
424 mathed/MathData.cpp \
426 mathed/MathExtern.cpp \
427 mathed/MathExtern.h \
428 mathed/MathFactory.cpp \
429 mathed/MathFactory.h \
430 mathed/MathGridInfo.h \
431 mathed/MathMacroArgument.cpp \
432 mathed/MathMacroArgument.h \
433 mathed/MacroTable.cpp \
434 mathed/MacroTable.h \
435 mathed/MathMacroTemplate.cpp \
436 mathed/MathMacroTemplate.h \
437 mathed/MathParser.cpp \
438 mathed/MathParser.h \
439 mathed/ReplaceData.h \
440 mathed/MathStream.cpp \
441 mathed/MathStream.h \
442 mathed/MathSupport.cpp \
443 mathed/MathSupport.h \
444 mathed/TextPainter.cpp \
446 # mathed/InsetMathMBox.cpp
447 # mathed/InsetMathMBox.h
449 ############################### Insets ##############################
451 pkglib_LTLIBRARIES += liblyxinsets.la
454 insets/InsetTheorem.cpp \
455 insets/InsetTheorem.h
457 liblyxinsets_la_SOURCES = \
458 insets/MailInset.cpp \
460 insets/ExternalSupport.cpp \
461 insets/ExternalSupport.h \
462 insets/ExternalTemplate.cpp \
463 insets/ExternalTemplate.h \
464 insets/ExternalTransforms.cpp \
465 insets/ExternalTransforms.h \
466 insets/RenderBase.h \
467 insets/RenderButton.cpp \
468 insets/RenderButton.h \
469 insets/RenderGraphic.cpp \
470 insets/RenderGraphic.h \
471 insets/RenderPreview.cpp \
472 insets/RenderPreview.h \
475 insets/InsetBibitem.cpp \
476 insets/InsetBibitem.h \
477 insets/InsetBibtex.cpp \
478 insets/InsetBibtex.h \
479 insets/InsetBox.cpp \
481 insets/InsetBranch.cpp \
482 insets/InsetBranch.h \
483 insets/InsetCaption.cpp \
484 insets/InsetCaption.h \
485 insets/InsetCharStyle.cpp \
486 insets/InsetCharStyle.h \
487 insets/InsetCitation.cpp \
488 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 \
501 insets/InsetFloat.h \
502 insets/InsetFloat.cpp \
503 insets/InsetFloatList.cpp \
504 insets/InsetFloatList.h \
505 insets/InsetFoot.cpp \
507 insets/InsetFootlike.cpp \
508 insets/InsetFootlike.h \
509 insets/InsetGraphicsParams.h \
510 insets/InsetGraphicsParams.cpp \
511 insets/InsetGraphics.cpp \
512 insets/InsetGraphics.h \
513 insets/InsetHFill.cpp \
514 insets/InsetHFill.h \
515 insets/InsetInclude.cpp \
516 insets/InsetInclude.h \
517 insets/InsetIndex.cpp \
518 insets/InsetIndex.h \
519 insets/InsetLabel.cpp \
520 insets/InsetLabel.h \
521 insets/InsetLine.cpp \
523 insets/InsetListings.h \
524 insets/InsetListings.cpp \
525 insets/InsetListingsParams.h \
526 insets/InsetListingsParams.cpp \
527 insets/InsetMarginal.h \
528 insets/InsetMarginal.cpp \
529 insets/InsetNewline.cpp \
530 insets/InsetNewline.h \
531 insets/InsetNomencl.cpp \
532 insets/InsetNomencl.h \
533 insets/InsetNote.cpp \
535 insets/InsetOptArg.cpp \
536 insets/InsetOptArg.h \
537 insets/InsetPagebreak.cpp \
538 insets/InsetPagebreak.h \
539 insets/InsetQuotes.cpp \
540 insets/InsetQuotes.h \
541 insets/InsetRef.cpp \
543 insets/InsetSpace.cpp \
544 insets/InsetSpace.h \
545 insets/InsetSpecialChar.cpp \
546 insets/InsetSpecialChar.h \
547 insets/InsetTabular.cpp \
548 insets/InsetTabular.h \
549 insets/InsetText.cpp \
551 insets/InsetTOC.cpp \
553 insets/InsetUrl.cpp \
555 insets/InsetVSpace.cpp \
556 insets/InsetVSpace.h \
560 # insets/insetlist.C \
561 # insets/insetlist.h \
562 # insets/insetsection.h \
563 # insets/insetsection.C \
564 # insets/InsetTheorem.cpp \
565 # insets/InsetTheorem.h