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
30 frontends/liblyxfrontends.la \
31 frontends/qt4/liblyxqt4.la \
32 frontends/controllers/liblyxcontrollers.la \
34 support/liblyxsupport.la \
40 cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
41 windres -I. --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
46 BUILT_SOURCES = $(PCH_FILE)
49 ASPELL = ASpell.cpp ASpell_local.h
52 PSPELL = PSpell.cpp PSpell.h
55 ISPELL = ISpell.cpp ISpell.h
58 # These four objects are linked as object files as they are not
59 # referenced within the core and therefore are not picked up
60 # by the linker without looping over libs. We do not want that,
61 # and in fact libtools seems not able to do that.
64 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
75 lyx_SOURCES += lyxwinres.rc
78 liblyxcore_la_SOURCES = \
97 bufferview_funcs.cpp \
195 lyxlayout_ptr_fwd.h \
222 output_plaintext.cpp \
226 paragraph_funcs.cpp \
230 ParagraphMetrics.cpp \
232 ParagraphParameters.cpp \
233 ParagraphParameters.h \
280 ############################### Graphics ##############################
282 pkglib_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 pkglib_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/InsetMathBinom.cpp \
323 mathed/InsetMathBinom.h \
324 mathed/InsetMathBoldSymbol.cpp \
325 mathed/InsetMathBoldSymbol.h \
326 mathed/InsetMathBox.cpp \
327 mathed/InsetMathBoxed.cpp \
328 mathed/InsetMathBoxed.h \
329 mathed/InsetMathBox.h \
330 mathed/InsetMathBrace.cpp \
331 mathed/InsetMathBrace.h \
332 mathed/InsetMath.cpp \
333 mathed/InsetMathCases.cpp \
334 mathed/InsetMathCases.h \
335 mathed/InsetMathChar.cpp \
336 mathed/InsetMathChar.h \
337 mathed/InsetMathColor.cpp \
338 mathed/InsetMathColor.h \
339 mathed/CommandInset.cpp \
340 mathed/CommandInset.h \
341 mathed/InsetMathComment.cpp \
342 mathed/InsetMathComment.h \
343 mathed/InsetMathDecoration.cpp \
344 mathed/InsetMathDecoration.h \
345 mathed/InsetMathDelim.cpp \
346 mathed/InsetMathDelim.h \
347 mathed/InsetMathDFrac.cpp \
348 mathed/InsetMathDFrac.h \
349 mathed/InsetMathDiff.cpp \
350 mathed/InsetMathDiff.h \
351 mathed/InsetMathDots.cpp \
352 mathed/InsetMathDots.h \
353 mathed/InsetMathEnv.cpp \
354 mathed/InsetMathEnv.h \
355 mathed/InsetMathExFunc.cpp \
356 mathed/InsetMathExFunc.h \
357 mathed/InsetMathExInt.cpp \
358 mathed/InsetMathExInt.h \
359 mathed/InsetMathFBox.cpp \
360 mathed/InsetMathFBox.h \
361 mathed/InsetMathFont.cpp \
362 mathed/InsetMathFont.h \
363 mathed/InsetMathFontOld.cpp \
364 mathed/InsetMathFontOld.h \
365 mathed/InsetMathFracBase.cpp \
366 mathed/InsetMathFracBase.h \
367 mathed/InsetMathFrac.cpp \
368 mathed/InsetMathFrac.h \
369 mathed/InsetMathFrameBox.cpp \
370 mathed/InsetMathFrameBox.h \
371 mathed/InsetMathGrid.cpp \
372 mathed/InsetMathGrid.h \
374 mathed/InsetMathHull.cpp \
375 mathed/InsetMathHull.h \
376 mathed/InsetMathKern.cpp \
377 mathed/InsetMathKern.h \
378 mathed/InsetMathLefteqn.cpp \
379 mathed/InsetMathLefteqn.h \
380 mathed/InsetMathLim.cpp \
381 mathed/InsetMathLim.h \
382 mathed/MathMacro.cpp \
384 mathed/InsetMathMakebox.cpp \
385 mathed/InsetMathMakebox.h \
386 mathed/InsetMathMatrix.cpp \
387 mathed/InsetMathMatrix.h \
388 mathed/InsetMathNest.cpp \
389 mathed/InsetMathNest.h \
390 mathed/InsetMathNumber.cpp \
391 mathed/InsetMathNumber.h \
392 mathed/InsetMathOverset.cpp \
393 mathed/InsetMathOverset.h \
394 mathed/InsetMathPar.cpp \
395 mathed/InsetMathPar.h \
396 mathed/InsetMathPhantom.cpp \
397 mathed/InsetMathPhantom.h \
398 mathed/InsetMathRef.cpp \
399 mathed/InsetMathRef.h \
400 mathed/InsetMathRoot.cpp \
401 mathed/InsetMathRoot.h \
402 mathed/InsetMathScript.cpp \
403 mathed/InsetMathScript.h \
404 mathed/InsetMathSize.cpp \
405 mathed/InsetMathSize.h \
406 mathed/InsetMathSpace.cpp \
407 mathed/InsetMathSpace.h \
408 mathed/InsetMathSplit.cpp \
409 mathed/InsetMathSplit.h \
410 mathed/InsetMathSqrt.cpp \
411 mathed/InsetMathSqrt.h \
412 mathed/InsetMathStackrel.cpp \
413 mathed/InsetMathStackrel.h \
414 mathed/InsetMathString.cpp \
415 mathed/InsetMathString.h \
416 mathed/InsetMathSubstack.cpp \
417 mathed/InsetMathSubstack.h \
418 mathed/InsetMathSymbol.cpp \
419 mathed/InsetMathSymbol.h \
420 mathed/InsetMathTabular.cpp \
421 mathed/InsetMathTabular.h \
422 mathed/InsetMathTFrac.cpp \
423 mathed/InsetMathTFrac.h \
424 mathed/InsetMathUnderset.cpp \
425 mathed/InsetMathUnderset.h \
426 mathed/InsetMathUnknown.cpp \
427 mathed/InsetMathUnknown.h \
428 mathed/InsetMathXArrow.cpp \
429 mathed/InsetMathXArrow.h \
430 mathed/InsetMathXYMatrix.cpp \
431 mathed/InsetMathXYMatrix.h \
432 mathed/MathAtom.cpp \
434 mathed/MathAutoCorrect.cpp \
435 mathed/MathAutoCorrect.h \
436 mathed/MathData.cpp \
438 mathed/MathExtern.cpp \
439 mathed/MathExtern.h \
440 mathed/MathFactory.cpp \
441 mathed/MathFactory.h \
442 mathed/MathGridInfo.h \
443 mathed/MathMacroArgument.cpp \
444 mathed/MathMacroArgument.h \
445 mathed/MacroTable.cpp \
446 mathed/MacroTable.h \
447 mathed/MathMacroTemplate.cpp \
448 mathed/MathMacroTemplate.h \
449 mathed/MathParser.cpp \
450 mathed/MathParser.h \
451 mathed/ReplaceData.h \
452 mathed/MathStream.cpp \
453 mathed/MathStream.h \
454 mathed/MathSupport.cpp \
455 mathed/MathSupport.h \
456 mathed/TextPainter.cpp \
458 # mathed/InsetMathMBox.cpp
459 # mathed/InsetMathMBox.h
461 ############################### Insets ##############################
463 pkglib_LTLIBRARIES += liblyxinsets.la
466 insets/InsetTheorem.cpp \
467 insets/InsetTheorem.h
469 liblyxinsets_la_SOURCES = \
470 insets/MailInset.cpp \
472 insets/ExternalSupport.cpp \
473 insets/ExternalSupport.h \
474 insets/ExternalTemplate.cpp \
475 insets/ExternalTemplate.h \
476 insets/ExternalTransforms.cpp \
477 insets/ExternalTransforms.h \
478 insets/RenderBase.h \
479 insets/RenderButton.cpp \
480 insets/RenderButton.h \
481 insets/RenderGraphic.cpp \
482 insets/RenderGraphic.h \
483 insets/RenderPreview.cpp \
484 insets/RenderPreview.h \
487 insets/InsetBibitem.cpp \
488 insets/InsetBibitem.h \
489 insets/InsetBibtex.cpp \
490 insets/InsetBibtex.h \
491 insets/InsetBox.cpp \
493 insets/InsetBranch.cpp \
494 insets/InsetBranch.h \
495 insets/InsetCaption.cpp \
496 insets/InsetCaption.h \
497 insets/InsetCharStyle.cpp \
498 insets/InsetCharStyle.h \
499 insets/InsetCitation.cpp \
500 insets/InsetCitation.h \
501 insets/InsetCollapsable.cpp \
502 insets/InsetCollapsable.h \
503 insets/InsetCommand.cpp \
504 insets/InsetCommand.h \
505 insets/InsetCommandParams.cpp \
506 insets/InsetCommandParams.h \
507 insets/InsetEnvironment.cpp \
508 insets/InsetEnvironment.h \
509 insets/InsetERT.cpp \
511 insets/InsetExternal.cpp \
512 insets/InsetExternal.h \
513 insets/InsetFloat.h \
514 insets/InsetFloat.cpp \
515 insets/InsetFloatList.cpp \
516 insets/InsetFloatList.h \
517 insets/InsetFoot.cpp \
519 insets/InsetFootlike.cpp \
520 insets/InsetFootlike.h \
521 insets/InsetGraphicsParams.h \
522 insets/InsetGraphicsParams.cpp \
523 insets/InsetGraphics.cpp \
524 insets/InsetGraphics.h \
525 insets/InsetHFill.cpp \
526 insets/InsetHFill.h \
527 insets/InsetInclude.cpp \
528 insets/InsetInclude.h \
529 insets/InsetIndex.cpp \
530 insets/InsetIndex.h \
531 insets/InsetLabel.cpp \
532 insets/InsetLabel.h \
533 insets/InsetLine.cpp \
535 insets/InsetListings.h \
536 insets/InsetListings.cpp \
537 insets/InsetListingsParams.h \
538 insets/InsetListingsParams.cpp \
539 insets/InsetMarginal.h \
540 insets/InsetMarginal.cpp \
541 insets/InsetNewline.cpp \
542 insets/InsetNewline.h \
543 insets/InsetNomencl.cpp \
544 insets/InsetNomencl.h \
545 insets/InsetNote.cpp \
547 insets/InsetOptArg.cpp \
548 insets/InsetOptArg.h \
549 insets/InsetPagebreak.cpp \
550 insets/InsetPagebreak.h \
551 insets/InsetQuotes.cpp \
552 insets/InsetQuotes.h \
553 insets/InsetRef.cpp \
555 insets/InsetSpace.cpp \
556 insets/InsetSpace.h \
557 insets/InsetSpecialChar.cpp \
558 insets/InsetSpecialChar.h \
559 insets/InsetTabular.cpp \
560 insets/InsetTabular.h \
561 insets/InsetText.cpp \
563 insets/InsetTOC.cpp \
565 insets/InsetUrl.cpp \
567 insets/InsetVSpace.cpp \
568 insets/InsetVSpace.h \
572 # insets/insetlist.C \
573 # insets/insetlist.h \
574 # insets/insetsection.h \
575 # insets/insetsection.C \
576 # insets/InsetTheorem.cpp \
577 # insets/InsetTheorem.h