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 LYX_PRE_LIBS = liblyxmathed.la liblyxinsets.la \
22 frontends/liblyxfrontends.la
24 LYX_POST_LIBS = frontends/controllers/liblyxcontrollers.la \
26 support/liblyxsupport.la
28 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
30 pkglib_LTLIBRARIES = liblyxcore.la
31 noinst_PROGRAMS = $(FRONTENDS_PROGS)
32 EXTRA_PROGRAMS = lyx-qt4
34 lyx_qt4_LDADD = liblyxcore.la $(LYX_PRE_LIBS) \
35 frontends/qt4/liblyxqt4.la $(LYX_POST_LIBS) $(OTHERLIBS) $(QT4_LIB)
36 lyx_qt4_SOURCES = main.cpp
38 lyx$(EXEEXT): $(FRONTENDS_PROGS)
44 BUILT_SOURCES = $(PCH_FILE)
47 ASPELL = ASpell.cpp ASpell_local.h
50 PSPELL = PSpell.cpp PSpell.h
53 ISPELL = ISpell.cpp ISpell.h
57 liblyxcore_la_SOURCES = \
58 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
77 bufferview_funcs.cpp \
175 lyxlayout_ptr_fwd.h \
200 output_plaintext.cpp \
204 paragraph_funcs.cpp \
208 ParagraphMetrics.cpp \
210 ParagraphParameters.cpp \
211 ParagraphParameters.h \
262 ############################### Graphics ##############################
264 pkglib_LTLIBRARIES += liblyxgraphics.la
266 liblyxgraphics_la_SOURCES = \
267 graphics/GraphicsCache.h \
268 graphics/GraphicsCache.cpp \
269 graphics/GraphicsCacheItem.h \
270 graphics/GraphicsCacheItem.cpp \
271 graphics/GraphicsConverter.h \
272 graphics/GraphicsConverter.cpp \
273 graphics/GraphicsImage.h \
274 graphics/GraphicsImage.cpp \
275 graphics/GraphicsLoader.h \
276 graphics/GraphicsLoader.cpp \
277 graphics/GraphicsParams.cpp \
278 graphics/GraphicsParams.h \
279 graphics/LoaderQueue.h \
280 graphics/LoaderQueue.cpp \
281 graphics/GraphicsTypes.h \
282 graphics/GraphicsTypes.cpp \
283 graphics/PreviewImage.h \
284 graphics/PreviewImage.cpp \
285 graphics/PreviewLoader.h \
286 graphics/PreviewLoader.cpp \
287 graphics/Previews.h \
288 graphics/Previews.cpp
291 ############################### Mathed ##############################
293 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
295 pkglib_LTLIBRARIES += liblyxmathed.la
297 liblyxmathed_la_SOURCES = \
298 mathed/InsetMathAMSArray.cpp \
299 mathed/InsetMathAMSArray.h \
300 mathed/InsetMathArray.cpp \
301 mathed/InsetMathArray.h \
302 mathed/InsetMathBig.cpp \
303 mathed/InsetMathBig.h \
304 mathed/InsetMathBinom.cpp \
305 mathed/InsetMathBinom.h \
306 mathed/InsetMathBoldSymbol.cpp \
307 mathed/InsetMathBoldSymbol.h \
308 mathed/InsetMathBox.cpp \
309 mathed/InsetMathBoxed.cpp \
310 mathed/InsetMathBoxed.h \
311 mathed/InsetMathBox.h \
312 mathed/InsetMathBrace.cpp \
313 mathed/InsetMathBrace.h \
314 mathed/InsetMath.cpp \
315 mathed/InsetMathCases.cpp \
316 mathed/InsetMathCases.h \
317 mathed/InsetMathChar.cpp \
318 mathed/InsetMathChar.h \
319 mathed/InsetMathColor.cpp \
320 mathed/InsetMathColor.h \
321 mathed/CommandInset.cpp \
322 mathed/CommandInset.h \
323 mathed/InsetMathComment.cpp \
324 mathed/InsetMathComment.h \
325 mathed/InsetMathDecoration.cpp \
326 mathed/InsetMathDecoration.h \
327 mathed/InsetMathDelim.cpp \
328 mathed/InsetMathDelim.h \
329 mathed/InsetMathDFrac.cpp \
330 mathed/InsetMathDFrac.h \
331 mathed/InsetMathDiff.cpp \
332 mathed/InsetMathDiff.h \
333 mathed/InsetMathDots.cpp \
334 mathed/InsetMathDots.h \
335 mathed/InsetMathEnv.cpp \
336 mathed/InsetMathEnv.h \
337 mathed/InsetMathExFunc.cpp \
338 mathed/InsetMathExFunc.h \
339 mathed/InsetMathExInt.cpp \
340 mathed/InsetMathExInt.h \
341 mathed/InsetMathFBox.cpp \
342 mathed/InsetMathFBox.h \
343 mathed/InsetMathFont.cpp \
344 mathed/InsetMathFont.h \
345 mathed/InsetMathFontOld.cpp \
346 mathed/InsetMathFontOld.h \
347 mathed/InsetMathFracBase.cpp \
348 mathed/InsetMathFracBase.h \
349 mathed/InsetMathFrac.cpp \
350 mathed/InsetMathFrac.h \
351 mathed/InsetMathFrameBox.cpp \
352 mathed/InsetMathFrameBox.h \
353 mathed/InsetMathGrid.cpp \
354 mathed/InsetMathGrid.h \
356 mathed/InsetMathHull.cpp \
357 mathed/InsetMathHull.h \
358 mathed/InsetMathKern.cpp \
359 mathed/InsetMathKern.h \
360 mathed/InsetMathLefteqn.cpp \
361 mathed/InsetMathLefteqn.h \
362 mathed/InsetMathLim.cpp \
363 mathed/InsetMathLim.h \
364 mathed/MathMacro.cpp \
366 mathed/InsetMathMakebox.cpp \
367 mathed/InsetMathMakebox.h \
368 mathed/InsetMathMatrix.cpp \
369 mathed/InsetMathMatrix.h \
370 mathed/InsetMathNest.cpp \
371 mathed/InsetMathNest.h \
372 mathed/InsetMathNumber.cpp \
373 mathed/InsetMathNumber.h \
374 mathed/InsetMathOverset.cpp \
375 mathed/InsetMathOverset.h \
376 mathed/InsetMathPar.cpp \
377 mathed/InsetMathPar.h \
378 mathed/InsetMathPhantom.cpp \
379 mathed/InsetMathPhantom.h \
380 mathed/InsetMathRef.cpp \
381 mathed/InsetMathRef.h \
382 mathed/InsetMathRoot.cpp \
383 mathed/InsetMathRoot.h \
384 mathed/InsetMathScript.cpp \
385 mathed/InsetMathScript.h \
386 mathed/InsetMathSize.cpp \
387 mathed/InsetMathSize.h \
388 mathed/InsetMathSpace.cpp \
389 mathed/InsetMathSpace.h \
390 mathed/InsetMathSplit.cpp \
391 mathed/InsetMathSplit.h \
392 mathed/InsetMathSqrt.cpp \
393 mathed/InsetMathSqrt.h \
394 mathed/InsetMathStackrel.cpp \
395 mathed/InsetMathStackrel.h \
396 mathed/InsetMathString.cpp \
397 mathed/InsetMathString.h \
398 mathed/InsetMathSubstack.cpp \
399 mathed/InsetMathSubstack.h \
400 mathed/InsetMathSymbol.cpp \
401 mathed/InsetMathSymbol.h \
402 mathed/InsetMathTabular.cpp \
403 mathed/InsetMathTabular.h \
404 mathed/InsetMathTFrac.cpp \
405 mathed/InsetMathTFrac.h \
406 mathed/InsetMathUnderset.cpp \
407 mathed/InsetMathUnderset.h \
408 mathed/InsetMathUnknown.cpp \
409 mathed/InsetMathUnknown.h \
410 mathed/InsetMathXArrow.cpp \
411 mathed/InsetMathXArrow.h \
412 mathed/InsetMathXYMatrix.cpp \
413 mathed/InsetMathXYMatrix.h \
414 mathed/MathAtom.cpp \
416 mathed/MathAutoCorrect.cpp \
417 mathed/MathAutoCorrect.h \
418 mathed/MathData.cpp \
420 mathed/MathExtern.cpp \
421 mathed/MathExtern.h \
422 mathed/MathFactory.cpp \
423 mathed/MathFactory.h \
424 mathed/MathGridInfo.h \
425 mathed/MathMacroArgument.cpp \
426 mathed/MathMacroArgument.h \
427 mathed/MacroTable.cpp \
428 mathed/MacroTable.h \
429 mathed/MathMacroTemplate.cpp \
430 mathed/MathMacroTemplate.h \
431 mathed/MathParser.cpp \
432 mathed/MathParser.h \
433 mathed/ReplaceData.h \
434 mathed/MathStream.cpp \
435 mathed/MathStream.h \
436 mathed/MathSupport.cpp \
437 mathed/MathSupport.h \
438 mathed/TextPainter.cpp \
440 # mathed/InsetMathMBox.cpp
441 # mathed/InsetMathMBox.h
443 ############################### Insets ##############################
445 pkglib_LTLIBRARIES += liblyxinsets.la
448 insets/InsetTheorem.cpp \
449 insets/InsetTheorem.h
451 liblyxinsets_la_SOURCES = \
452 insets/MailInset.cpp \
454 insets/ExternalSupport.cpp \
455 insets/ExternalSupport.h \
456 insets/ExternalTemplate.cpp \
457 insets/ExternalTemplate.h \
458 insets/ExternalTransforms.cpp \
459 insets/ExternalTransforms.h \
460 insets/RenderBase.h \
461 insets/RenderButton.cpp \
462 insets/RenderButton.h \
463 insets/RenderGraphic.cpp \
464 insets/RenderGraphic.h \
465 insets/RenderPreview.cpp \
466 insets/RenderPreview.h \
469 insets/InsetBibitem.cpp \
470 insets/InsetBibitem.h \
471 insets/InsetBibtex.cpp \
472 insets/InsetBibtex.h \
473 insets/InsetBox.cpp \
475 insets/InsetBranch.cpp \
476 insets/InsetBranch.h \
477 insets/InsetCaption.cpp \
478 insets/InsetCaption.h \
479 insets/InsetCharStyle.cpp \
480 insets/InsetCharStyle.h \
481 insets/InsetCitation.cpp \
482 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 \
495 insets/InsetFloat.h \
496 insets/InsetFloat.cpp \
497 insets/InsetFloatList.cpp \
498 insets/InsetFloatList.h \
499 insets/InsetFoot.cpp \
501 insets/InsetFootlike.cpp \
502 insets/InsetFootlike.h \
503 insets/InsetGraphicsParams.h \
504 insets/InsetGraphicsParams.cpp \
505 insets/InsetGraphics.cpp \
506 insets/InsetGraphics.h \
507 insets/InsetHFill.cpp \
508 insets/InsetHFill.h \
509 insets/InsetInclude.cpp \
510 insets/InsetInclude.h \
511 insets/InsetIndex.cpp \
512 insets/InsetIndex.h \
513 insets/InsetLabel.cpp \
514 insets/InsetLabel.h \
515 insets/InsetLine.cpp \
517 insets/InsetListings.h \
518 insets/InsetListings.cpp \
519 insets/InsetListingsParams.h \
520 insets/InsetListingsParams.cpp \
521 insets/InsetMarginal.h \
522 insets/InsetMarginal.cpp \
523 insets/InsetNewline.cpp \
524 insets/InsetNewline.h \
525 insets/InsetNomencl.cpp \
526 insets/InsetNomencl.h \
527 insets/InsetNote.cpp \
529 insets/InsetOptArg.cpp \
530 insets/InsetOptArg.h \
531 insets/InsetPagebreak.cpp \
532 insets/InsetPagebreak.h \
533 insets/InsetQuotes.cpp \
534 insets/InsetQuotes.h \
535 insets/InsetRef.cpp \
537 insets/InsetSpace.cpp \
538 insets/InsetSpace.h \
539 insets/InsetSpecialChar.cpp \
540 insets/InsetSpecialChar.h \
541 insets/InsetTabular.cpp \
542 insets/InsetTabular.h \
543 insets/InsetText.cpp \
545 insets/InsetTOC.cpp \
547 insets/InsetUrl.cpp \
549 insets/InsetVSpace.cpp \
550 insets/InsetVSpace.h \
554 # insets/insetlist.C \
555 # insets/insetlist.h \
556 # insets/insetsection.h \
557 # insets/insetsection.C \
558 # insets/InsetTheorem.cpp \
559 # insets/InsetTheorem.h