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
59 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
69 liblyxcore_la_SOURCES = \
86 bufferview_funcs.cpp \
182 lyxlayout_ptr_fwd.h \
207 output_plaintext.cpp \
211 paragraph_funcs.cpp \
215 ParagraphMetrics.cpp \
217 ParagraphParameters.cpp \
218 ParagraphParameters.h \
264 ############################### Graphics ##############################
266 pkglib_LTLIBRARIES += liblyxgraphics.la
268 liblyxgraphics_la_SOURCES = \
269 graphics/GraphicsCache.h \
270 graphics/GraphicsCache.cpp \
271 graphics/GraphicsCacheItem.h \
272 graphics/GraphicsCacheItem.cpp \
273 graphics/GraphicsConverter.h \
274 graphics/GraphicsConverter.cpp \
275 graphics/GraphicsImage.h \
276 graphics/GraphicsImage.cpp \
277 graphics/GraphicsLoader.h \
278 graphics/GraphicsLoader.cpp \
279 graphics/GraphicsParams.cpp \
280 graphics/GraphicsParams.h \
281 graphics/LoaderQueue.h \
282 graphics/LoaderQueue.cpp \
283 graphics/GraphicsTypes.h \
284 graphics/GraphicsTypes.cpp \
285 graphics/PreviewImage.h \
286 graphics/PreviewImage.cpp \
287 graphics/PreviewLoader.h \
288 graphics/PreviewLoader.cpp \
289 graphics/Previews.h \
290 graphics/Previews.cpp
293 ############################### Mathed ##############################
295 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
297 pkglib_LTLIBRARIES += liblyxmathed.la
299 liblyxmathed_la_SOURCES = \
300 mathed/InsetMathAMSArray.cpp \
301 mathed/InsetMathAMSArray.h \
302 mathed/InsetMathArray.cpp \
303 mathed/InsetMathArray.h \
304 mathed/InsetMathBig.cpp \
305 mathed/InsetMathBig.h \
306 mathed/InsetMathBinom.cpp \
307 mathed/InsetMathBinom.h \
308 mathed/InsetMathBoldSymbol.cpp \
309 mathed/InsetMathBoldSymbol.h \
310 mathed/InsetMathBox.cpp \
311 mathed/InsetMathBoxed.cpp \
312 mathed/InsetMathBoxed.h \
313 mathed/InsetMathBox.h \
314 mathed/InsetMathBrace.cpp \
315 mathed/InsetMathBrace.h \
316 mathed/InsetMath.cpp \
317 mathed/InsetMathCases.cpp \
318 mathed/InsetMathCases.h \
319 mathed/InsetMathChar.cpp \
320 mathed/InsetMathChar.h \
321 mathed/InsetMathColor.cpp \
322 mathed/InsetMathColor.h \
323 mathed/CommandInset.cpp \
324 mathed/CommandInset.h \
325 mathed/InsetMathComment.cpp \
326 mathed/InsetMathComment.h \
327 mathed/InsetMathDecoration.cpp \
328 mathed/InsetMathDecoration.h \
329 mathed/InsetMathDelim.cpp \
330 mathed/InsetMathDelim.h \
331 mathed/InsetMathDFrac.cpp \
332 mathed/InsetMathDFrac.h \
333 mathed/InsetMathDiff.cpp \
334 mathed/InsetMathDiff.h \
335 mathed/InsetMathDots.cpp \
336 mathed/InsetMathDots.h \
337 mathed/InsetMathEnv.cpp \
338 mathed/InsetMathEnv.h \
339 mathed/InsetMathExFunc.cpp \
340 mathed/InsetMathExFunc.h \
341 mathed/InsetMathExInt.cpp \
342 mathed/InsetMathExInt.h \
343 mathed/InsetMathFBox.cpp \
344 mathed/InsetMathFBox.h \
345 mathed/InsetMathFont.cpp \
346 mathed/InsetMathFont.h \
347 mathed/InsetMathFontOld.cpp \
348 mathed/InsetMathFontOld.h \
349 mathed/InsetMathFracBase.cpp \
350 mathed/InsetMathFracBase.h \
351 mathed/InsetMathFrac.cpp \
352 mathed/InsetMathFrac.h \
353 mathed/InsetMathFrameBox.cpp \
354 mathed/InsetMathFrameBox.h \
355 mathed/InsetMathGrid.cpp \
356 mathed/InsetMathGrid.h \
358 mathed/InsetMathHull.cpp \
359 mathed/InsetMathHull.h \
360 mathed/InsetMathKern.cpp \
361 mathed/InsetMathKern.h \
362 mathed/InsetMathLefteqn.cpp \
363 mathed/InsetMathLefteqn.h \
364 mathed/InsetMathLim.cpp \
365 mathed/InsetMathLim.h \
366 mathed/MathMacro.cpp \
368 mathed/InsetMathMakebox.cpp \
369 mathed/InsetMathMakebox.h \
370 mathed/InsetMathMatrix.cpp \
371 mathed/InsetMathMatrix.h \
372 mathed/InsetMathNest.cpp \
373 mathed/InsetMathNest.h \
374 mathed/InsetMathNumber.cpp \
375 mathed/InsetMathNumber.h \
376 mathed/InsetMathOverset.cpp \
377 mathed/InsetMathOverset.h \
378 mathed/InsetMathPar.cpp \
379 mathed/InsetMathPar.h \
380 mathed/InsetMathPhantom.cpp \
381 mathed/InsetMathPhantom.h \
382 mathed/InsetMathRef.cpp \
383 mathed/InsetMathRef.h \
384 mathed/InsetMathRoot.cpp \
385 mathed/InsetMathRoot.h \
386 mathed/InsetMathScript.cpp \
387 mathed/InsetMathScript.h \
388 mathed/InsetMathSize.cpp \
389 mathed/InsetMathSize.h \
390 mathed/InsetMathSpace.cpp \
391 mathed/InsetMathSpace.h \
392 mathed/InsetMathSplit.cpp \
393 mathed/InsetMathSplit.h \
394 mathed/InsetMathSqrt.cpp \
395 mathed/InsetMathSqrt.h \
396 mathed/InsetMathStackrel.cpp \
397 mathed/InsetMathStackrel.h \
398 mathed/InsetMathString.cpp \
399 mathed/InsetMathString.h \
400 mathed/InsetMathSubstack.cpp \
401 mathed/InsetMathSubstack.h \
402 mathed/InsetMathSymbol.cpp \
403 mathed/InsetMathSymbol.h \
404 mathed/InsetMathTabular.cpp \
405 mathed/InsetMathTabular.h \
406 mathed/InsetMathTFrac.cpp \
407 mathed/InsetMathTFrac.h \
408 mathed/InsetMathUnderset.cpp \
409 mathed/InsetMathUnderset.h \
410 mathed/InsetMathUnknown.cpp \
411 mathed/InsetMathUnknown.h \
412 mathed/InsetMathXArrow.cpp \
413 mathed/InsetMathXArrow.h \
414 mathed/InsetMathXYMatrix.cpp \
415 mathed/InsetMathXYMatrix.h \
416 mathed/MathAtom.cpp \
418 mathed/MathAutoCorrect.cpp \
419 mathed/MathAutoCorrect.h \
420 mathed/MathData.cpp \
422 mathed/MathExtern.cpp \
423 mathed/MathExtern.h \
424 mathed/MathFactory.cpp \
425 mathed/MathFactory.h \
426 mathed/MathGridInfo.h \
427 mathed/MathMacroArgument.cpp \
428 mathed/MathMacroArgument.h \
429 mathed/MacroTable.cpp \
430 mathed/MacroTable.h \
431 mathed/MathMacroTemplate.cpp \
432 mathed/MathMacroTemplate.h \
433 mathed/MathParser.cpp \
434 mathed/MathParser.h \
435 mathed/ReplaceData.h \
436 mathed/MathStream.cpp \
437 mathed/MathStream.h \
438 mathed/MathSupport.cpp \
439 mathed/MathSupport.h \
440 mathed/TextPainter.cpp \
442 # mathed/InsetMathMBox.cpp
443 # mathed/InsetMathMBox.h
445 ############################### Insets ##############################
447 pkglib_LTLIBRARIES += liblyxinsets.la
450 insets/InsetTheorem.cpp \
451 insets/InsetTheorem.h
453 liblyxinsets_la_SOURCES = \
454 insets/MailInset.cpp \
456 insets/ExternalSupport.cpp \
457 insets/ExternalSupport.h \
458 insets/ExternalTemplate.cpp \
459 insets/ExternalTemplate.h \
460 insets/ExternalTransforms.cpp \
461 insets/ExternalTransforms.h \
462 insets/RenderBase.h \
463 insets/RenderButton.cpp \
464 insets/RenderButton.h \
465 insets/RenderGraphic.cpp \
466 insets/RenderGraphic.h \
467 insets/RenderPreview.cpp \
468 insets/RenderPreview.h \
471 insets/InsetBibitem.cpp \
472 insets/InsetBibitem.h \
473 insets/InsetBibtex.cpp \
474 insets/InsetBibtex.h \
475 insets/InsetBox.cpp \
477 insets/InsetBranch.cpp \
478 insets/InsetBranch.h \
479 insets/InsetCaption.cpp \
480 insets/InsetCaption.h \
481 insets/InsetCharStyle.cpp \
482 insets/InsetCharStyle.h \
483 insets/InsetCitation.cpp \
484 insets/InsetCitation.h \
485 insets/InsetCollapsable.cpp \
486 insets/InsetCollapsable.h \
487 insets/InsetCommand.cpp \
488 insets/InsetCommand.h \
489 insets/InsetCommandParams.cpp \
490 insets/InsetCommandParams.h \
491 insets/InsetEnvironment.cpp \
492 insets/InsetEnvironment.h \
493 insets/InsetERT.cpp \
495 insets/InsetExternal.cpp \
496 insets/InsetExternal.h \
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/InsetInclude.cpp \
512 insets/InsetInclude.h \
513 insets/InsetIndex.cpp \
514 insets/InsetIndex.h \
515 insets/InsetLabel.cpp \
516 insets/InsetLabel.h \
517 insets/InsetLine.cpp \
519 insets/InsetListings.h \
520 insets/InsetListings.cpp \
521 insets/InsetListingsParams.h \
522 insets/InsetListingsParams.cpp \
523 insets/InsetMarginal.h \
524 insets/InsetMarginal.cpp \
525 insets/InsetNewline.cpp \
526 insets/InsetNewline.h \
527 insets/InsetNomencl.cpp \
528 insets/InsetNomencl.h \
529 insets/InsetNote.cpp \
531 insets/InsetOptArg.cpp \
532 insets/InsetOptArg.h \
533 insets/InsetPagebreak.cpp \
534 insets/InsetPagebreak.h \
535 insets/InsetQuotes.cpp \
536 insets/InsetQuotes.h \
537 insets/InsetRef.cpp \
539 insets/InsetSpace.cpp \
540 insets/InsetSpace.h \
541 insets/InsetSpecialChar.cpp \
542 insets/InsetSpecialChar.h \
543 insets/InsetTabular.cpp \
544 insets/InsetTabular.h \
545 insets/InsetText.cpp \
547 insets/InsetTOC.cpp \
549 insets/InsetUrl.cpp \
551 insets/InsetVSpace.cpp \
552 insets/InsetVSpace.h \
556 # insets/insetlist.C \
557 # insets/insetlist.h \
558 # insets/insetsection.h \
559 # insets/insetsection.C \
560 # insets/InsetTheorem.cpp \
561 # insets/InsetTheorem.h