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