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 = \
193 lyxlayout_ptr_fwd.h \
220 output_plaintext.cpp \
224 paragraph_funcs.cpp \
228 ParagraphMetrics.cpp \
230 ParagraphParameters.cpp \
231 ParagraphParameters.h \
277 ############################### Graphics ##############################
279 noinst_LTLIBRARIES += liblyxgraphics.la
281 liblyxgraphics_la_SOURCES = \
282 graphics/GraphicsCache.h \
283 graphics/GraphicsCache.cpp \
284 graphics/GraphicsCacheItem.h \
285 graphics/GraphicsCacheItem.cpp \
286 graphics/GraphicsConverter.h \
287 graphics/GraphicsConverter.cpp \
288 graphics/GraphicsImage.h \
289 graphics/GraphicsImage.cpp \
290 graphics/GraphicsLoader.h \
291 graphics/GraphicsLoader.cpp \
292 graphics/GraphicsParams.cpp \
293 graphics/GraphicsParams.h \
294 graphics/LoaderQueue.h \
295 graphics/LoaderQueue.cpp \
296 graphics/GraphicsTypes.h \
297 graphics/GraphicsTypes.cpp \
298 graphics/PreviewImage.h \
299 graphics/PreviewImage.cpp \
300 graphics/PreviewLoader.h \
301 graphics/PreviewLoader.cpp \
302 graphics/Previews.h \
303 graphics/Previews.cpp
306 ############################### Mathed ##############################
308 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
310 noinst_LTLIBRARIES += liblyxmathed.la
312 liblyxmathed_la_SOURCES = \
313 mathed/InsetMathAMSArray.cpp \
314 mathed/InsetMathAMSArray.h \
315 mathed/InsetMathArray.cpp \
316 mathed/InsetMathArray.h \
317 mathed/InsetMathBig.cpp \
318 mathed/InsetMathBig.h \
319 mathed/InsetMathBinom.cpp \
320 mathed/InsetMathBinom.h \
321 mathed/InsetMathBoldSymbol.cpp \
322 mathed/InsetMathBoldSymbol.h \
323 mathed/InsetMathBox.cpp \
324 mathed/InsetMathBoxed.cpp \
325 mathed/InsetMathBoxed.h \
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/InsetMathDFrac.cpp \
345 mathed/InsetMathDFrac.h \
346 mathed/InsetMathDiff.cpp \
347 mathed/InsetMathDiff.h \
348 mathed/InsetMathDots.cpp \
349 mathed/InsetMathDots.h \
350 mathed/InsetMathEnv.cpp \
351 mathed/InsetMathEnv.h \
352 mathed/InsetMathExFunc.cpp \
353 mathed/InsetMathExFunc.h \
354 mathed/InsetMathExInt.cpp \
355 mathed/InsetMathExInt.h \
356 mathed/InsetMathFBox.cpp \
357 mathed/InsetMathFBox.h \
358 mathed/InsetMathFont.cpp \
359 mathed/InsetMathFont.h \
360 mathed/InsetMathFontOld.cpp \
361 mathed/InsetMathFontOld.h \
362 mathed/InsetMathFracBase.cpp \
363 mathed/InsetMathFracBase.h \
364 mathed/InsetMathFrac.cpp \
365 mathed/InsetMathFrac.h \
366 mathed/InsetMathFrameBox.cpp \
367 mathed/InsetMathFrameBox.h \
368 mathed/InsetMathGrid.cpp \
369 mathed/InsetMathGrid.h \
371 mathed/InsetMathHull.cpp \
372 mathed/InsetMathHull.h \
373 mathed/InsetMathKern.cpp \
374 mathed/InsetMathKern.h \
375 mathed/InsetMathLefteqn.cpp \
376 mathed/InsetMathLefteqn.h \
377 mathed/InsetMathLim.cpp \
378 mathed/InsetMathLim.h \
379 mathed/MathMacro.cpp \
381 mathed/InsetMathMakebox.cpp \
382 mathed/InsetMathMakebox.h \
383 mathed/InsetMathMatrix.cpp \
384 mathed/InsetMathMatrix.h \
385 mathed/InsetMathNest.cpp \
386 mathed/InsetMathNest.h \
387 mathed/InsetMathNumber.cpp \
388 mathed/InsetMathNumber.h \
389 mathed/InsetMathOverset.cpp \
390 mathed/InsetMathOverset.h \
391 mathed/InsetMathPar.cpp \
392 mathed/InsetMathPar.h \
393 mathed/InsetMathPhantom.cpp \
394 mathed/InsetMathPhantom.h \
395 mathed/InsetMathRef.cpp \
396 mathed/InsetMathRef.h \
397 mathed/InsetMathRoot.cpp \
398 mathed/InsetMathRoot.h \
399 mathed/InsetMathScript.cpp \
400 mathed/InsetMathScript.h \
401 mathed/InsetMathSize.cpp \
402 mathed/InsetMathSize.h \
403 mathed/InsetMathSpace.cpp \
404 mathed/InsetMathSpace.h \
405 mathed/InsetMathSplit.cpp \
406 mathed/InsetMathSplit.h \
407 mathed/InsetMathSqrt.cpp \
408 mathed/InsetMathSqrt.h \
409 mathed/InsetMathStackrel.cpp \
410 mathed/InsetMathStackrel.h \
411 mathed/InsetMathString.cpp \
412 mathed/InsetMathString.h \
413 mathed/InsetMathSubstack.cpp \
414 mathed/InsetMathSubstack.h \
415 mathed/InsetMathSymbol.cpp \
416 mathed/InsetMathSymbol.h \
417 mathed/InsetMathTabular.cpp \
418 mathed/InsetMathTabular.h \
419 mathed/InsetMathTFrac.cpp \
420 mathed/InsetMathTFrac.h \
421 mathed/InsetMathUnderset.cpp \
422 mathed/InsetMathUnderset.h \
423 mathed/InsetMathUnknown.cpp \
424 mathed/InsetMathUnknown.h \
425 mathed/InsetMathXArrow.cpp \
426 mathed/InsetMathXArrow.h \
427 mathed/InsetMathXYMatrix.cpp \
428 mathed/InsetMathXYMatrix.h \
429 mathed/MathAtom.cpp \
431 mathed/MathAutoCorrect.cpp \
432 mathed/MathAutoCorrect.h \
433 mathed/MathData.cpp \
435 mathed/MathExtern.cpp \
436 mathed/MathExtern.h \
437 mathed/MathFactory.cpp \
438 mathed/MathFactory.h \
439 mathed/MathGridInfo.h \
440 mathed/MathMacroArgument.cpp \
441 mathed/MathMacroArgument.h \
442 mathed/MacroTable.cpp \
443 mathed/MacroTable.h \
444 mathed/MathMacroTemplate.cpp \
445 mathed/MathMacroTemplate.h \
446 mathed/MathParser.cpp \
447 mathed/MathParser.h \
448 mathed/ReplaceData.h \
449 mathed/MathStream.cpp \
450 mathed/MathStream.h \
451 mathed/MathSupport.cpp \
452 mathed/MathSupport.h \
453 mathed/TextPainter.cpp \
455 # mathed/InsetMathMBox.cpp
456 # mathed/InsetMathMBox.h
458 ############################### Insets ##############################
460 noinst_LTLIBRARIES += liblyxinsets.la
463 insets/InsetTheorem.cpp \
464 insets/InsetTheorem.h
466 liblyxinsets_la_SOURCES = \
467 insets/MailInset.cpp \
469 insets/ExternalSupport.cpp \
470 insets/ExternalSupport.h \
471 insets/ExternalTemplate.cpp \
472 insets/ExternalTemplate.h \
473 insets/ExternalTransforms.cpp \
474 insets/ExternalTransforms.h \
475 insets/RenderBase.h \
476 insets/RenderButton.cpp \
477 insets/RenderButton.h \
478 insets/RenderGraphic.cpp \
479 insets/RenderGraphic.h \
480 insets/RenderPreview.cpp \
481 insets/RenderPreview.h \
484 insets/InsetBibitem.cpp \
485 insets/InsetBibitem.h \
486 insets/InsetBibtex.cpp \
487 insets/InsetBibtex.h \
488 insets/InsetBox.cpp \
490 insets/InsetBranch.cpp \
491 insets/InsetBranch.h \
492 insets/InsetCaption.cpp \
493 insets/InsetCaption.h \
494 insets/InsetCitation.cpp \
495 insets/InsetCitation.h \
497 insets/InsetCollapsable.cpp \
498 insets/InsetCollapsable.h \
499 insets/InsetCommand.cpp \
500 insets/InsetCommand.h \
501 insets/InsetCommandParams.cpp \
502 insets/InsetCommandParams.h \
503 insets/InsetEnvironment.cpp \
504 insets/InsetEnvironment.h \
505 insets/InsetERT.cpp \
507 insets/InsetExternal.cpp \
508 insets/InsetExternal.h \
510 insets/InsetFlex.cpp \
511 insets/InsetFloat.h \
512 insets/InsetFloat.cpp \
513 insets/InsetFloatList.cpp \
514 insets/InsetFloatList.h \
515 insets/InsetFoot.cpp \
517 insets/InsetFootlike.cpp \
518 insets/InsetFootlike.h \
519 insets/InsetGraphicsParams.h \
520 insets/InsetGraphicsParams.cpp \
521 insets/InsetGraphics.cpp \
522 insets/InsetGraphics.h \
523 insets/InsetHFill.cpp \
524 insets/InsetHFill.h \
525 insets/InsetHyperlink.cpp \
526 insets/InsetHyperlink.h \
527 insets/InsetInclude.cpp \
528 insets/InsetInclude.h \
529 insets/InsetIndex.cpp \
530 insets/InsetIndex.h \
531 insets/InsetInfo.cpp \
533 insets/InsetLabel.cpp \
534 insets/InsetLabel.h \
535 insets/InsetLine.cpp \
537 insets/InsetListings.h \
538 insets/InsetListings.cpp \
539 insets/InsetListingsParams.h \
540 insets/InsetListingsParams.cpp \
541 insets/InsetMarginal.h \
542 insets/InsetMarginal.cpp \
543 insets/InsetNewline.cpp \
544 insets/InsetNewline.h \
545 insets/InsetNomencl.cpp \
546 insets/InsetNomencl.h \
547 insets/InsetNote.cpp \
549 insets/InsetOptArg.cpp \
550 insets/InsetOptArg.h \
551 insets/InsetPagebreak.cpp \
552 insets/InsetPagebreak.h \
553 insets/InsetQuotes.cpp \
554 insets/InsetQuotes.h \
555 insets/InsetRef.cpp \
557 insets/InsetSpace.cpp \
558 insets/InsetSpace.h \
559 insets/InsetSpecialChar.cpp \
560 insets/InsetSpecialChar.h \
561 insets/InsetTabular.cpp \
562 insets/InsetTabular.h \
563 insets/InsetText.cpp \
565 insets/InsetTOC.cpp \
567 insets/InsetVSpace.cpp \
568 insets/InsetVSpace.h \
572 # insets/InsetList.cpp \
573 # insets/InsetList.h \
574 # insets/InsetSection.h \
575 # insets/InsetSection.cpp \
576 # insets/InsetTheorem.cpp \
577 # insets/InsetTheorem.h