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