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 = \
191 lyxlayout_ptr_fwd.h \
218 output_plaintext.cpp \
222 paragraph_funcs.cpp \
226 ParagraphMetrics.cpp \
228 ParagraphParameters.cpp \
229 ParagraphParameters.h \
275 ############################### Graphics ##############################
277 noinst_LTLIBRARIES += liblyxgraphics.la
279 liblyxgraphics_la_SOURCES = \
280 graphics/GraphicsCache.h \
281 graphics/GraphicsCache.cpp \
282 graphics/GraphicsCacheItem.h \
283 graphics/GraphicsCacheItem.cpp \
284 graphics/GraphicsConverter.h \
285 graphics/GraphicsConverter.cpp \
286 graphics/GraphicsImage.h \
287 graphics/GraphicsImage.cpp \
288 graphics/GraphicsLoader.h \
289 graphics/GraphicsLoader.cpp \
290 graphics/GraphicsParams.cpp \
291 graphics/GraphicsParams.h \
292 graphics/LoaderQueue.h \
293 graphics/LoaderQueue.cpp \
294 graphics/GraphicsTypes.h \
295 graphics/GraphicsTypes.cpp \
296 graphics/PreviewImage.h \
297 graphics/PreviewImage.cpp \
298 graphics/PreviewLoader.h \
299 graphics/PreviewLoader.cpp \
300 graphics/Previews.h \
301 graphics/Previews.cpp
304 ############################### Mathed ##############################
306 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
308 noinst_LTLIBRARIES += liblyxmathed.la
310 liblyxmathed_la_SOURCES = \
311 mathed/InsetMathAMSArray.cpp \
312 mathed/InsetMathAMSArray.h \
313 mathed/InsetMathArray.cpp \
314 mathed/InsetMathArray.h \
315 mathed/InsetMathBig.cpp \
316 mathed/InsetMathBig.h \
317 mathed/InsetMathBinom.cpp \
318 mathed/InsetMathBinom.h \
319 mathed/InsetMathBoldSymbol.cpp \
320 mathed/InsetMathBoldSymbol.h \
321 mathed/InsetMathBox.cpp \
322 mathed/InsetMathBoxed.cpp \
323 mathed/InsetMathBoxed.h \
324 mathed/InsetMathBox.h \
325 mathed/InsetMathBrace.cpp \
326 mathed/InsetMathBrace.h \
327 mathed/InsetMath.cpp \
328 mathed/InsetMathCases.cpp \
329 mathed/InsetMathCases.h \
330 mathed/InsetMathChar.cpp \
331 mathed/InsetMathChar.h \
332 mathed/InsetMathColor.cpp \
333 mathed/InsetMathColor.h \
334 mathed/CommandInset.cpp \
335 mathed/CommandInset.h \
336 mathed/InsetMathComment.cpp \
337 mathed/InsetMathComment.h \
338 mathed/InsetMathDecoration.cpp \
339 mathed/InsetMathDecoration.h \
340 mathed/InsetMathDelim.cpp \
341 mathed/InsetMathDelim.h \
342 mathed/InsetMathDFrac.cpp \
343 mathed/InsetMathDFrac.h \
344 mathed/InsetMathDiff.cpp \
345 mathed/InsetMathDiff.h \
346 mathed/InsetMathDots.cpp \
347 mathed/InsetMathDots.h \
348 mathed/InsetMathEnv.cpp \
349 mathed/InsetMathEnv.h \
350 mathed/InsetMathExFunc.cpp \
351 mathed/InsetMathExFunc.h \
352 mathed/InsetMathExInt.cpp \
353 mathed/InsetMathExInt.h \
354 mathed/InsetMathFBox.cpp \
355 mathed/InsetMathFBox.h \
356 mathed/InsetMathFont.cpp \
357 mathed/InsetMathFont.h \
358 mathed/InsetMathFontOld.cpp \
359 mathed/InsetMathFontOld.h \
360 mathed/InsetMathFracBase.cpp \
361 mathed/InsetMathFracBase.h \
362 mathed/InsetMathFrac.cpp \
363 mathed/InsetMathFrac.h \
364 mathed/InsetMathFrameBox.cpp \
365 mathed/InsetMathFrameBox.h \
366 mathed/InsetMathGrid.cpp \
367 mathed/InsetMathGrid.h \
369 mathed/InsetMathHull.cpp \
370 mathed/InsetMathHull.h \
371 mathed/InsetMathKern.cpp \
372 mathed/InsetMathKern.h \
373 mathed/InsetMathLefteqn.cpp \
374 mathed/InsetMathLefteqn.h \
375 mathed/InsetMathLim.cpp \
376 mathed/InsetMathLim.h \
377 mathed/MathMacro.cpp \
379 mathed/InsetMathMakebox.cpp \
380 mathed/InsetMathMakebox.h \
381 mathed/InsetMathMatrix.cpp \
382 mathed/InsetMathMatrix.h \
383 mathed/InsetMathNest.cpp \
384 mathed/InsetMathNest.h \
385 mathed/InsetMathNumber.cpp \
386 mathed/InsetMathNumber.h \
387 mathed/InsetMathOverset.cpp \
388 mathed/InsetMathOverset.h \
389 mathed/InsetMathPar.cpp \
390 mathed/InsetMathPar.h \
391 mathed/InsetMathPhantom.cpp \
392 mathed/InsetMathPhantom.h \
393 mathed/InsetMathRef.cpp \
394 mathed/InsetMathRef.h \
395 mathed/InsetMathRoot.cpp \
396 mathed/InsetMathRoot.h \
397 mathed/InsetMathScript.cpp \
398 mathed/InsetMathScript.h \
399 mathed/InsetMathSize.cpp \
400 mathed/InsetMathSize.h \
401 mathed/InsetMathSpace.cpp \
402 mathed/InsetMathSpace.h \
403 mathed/InsetMathSplit.cpp \
404 mathed/InsetMathSplit.h \
405 mathed/InsetMathSqrt.cpp \
406 mathed/InsetMathSqrt.h \
407 mathed/InsetMathStackrel.cpp \
408 mathed/InsetMathStackrel.h \
409 mathed/InsetMathString.cpp \
410 mathed/InsetMathString.h \
411 mathed/InsetMathSubstack.cpp \
412 mathed/InsetMathSubstack.h \
413 mathed/InsetMathSymbol.cpp \
414 mathed/InsetMathSymbol.h \
415 mathed/InsetMathTabular.cpp \
416 mathed/InsetMathTabular.h \
417 mathed/InsetMathTFrac.cpp \
418 mathed/InsetMathTFrac.h \
419 mathed/InsetMathUnderset.cpp \
420 mathed/InsetMathUnderset.h \
421 mathed/InsetMathUnknown.cpp \
422 mathed/InsetMathUnknown.h \
423 mathed/InsetMathXArrow.cpp \
424 mathed/InsetMathXArrow.h \
425 mathed/InsetMathXYMatrix.cpp \
426 mathed/InsetMathXYMatrix.h \
427 mathed/MathAtom.cpp \
429 mathed/MathAutoCorrect.cpp \
430 mathed/MathAutoCorrect.h \
431 mathed/MathData.cpp \
433 mathed/MathExtern.cpp \
434 mathed/MathExtern.h \
435 mathed/MathFactory.cpp \
436 mathed/MathFactory.h \
437 mathed/MathGridInfo.h \
438 mathed/MathMacroArgument.cpp \
439 mathed/MathMacroArgument.h \
440 mathed/MacroTable.cpp \
441 mathed/MacroTable.h \
442 mathed/MathMacroTemplate.cpp \
443 mathed/MathMacroTemplate.h \
444 mathed/MathParser.cpp \
445 mathed/MathParser.h \
446 mathed/ReplaceData.h \
447 mathed/MathStream.cpp \
448 mathed/MathStream.h \
449 mathed/MathSupport.cpp \
450 mathed/MathSupport.h \
451 mathed/TextPainter.cpp \
453 # mathed/InsetMathMBox.cpp
454 # mathed/InsetMathMBox.h
456 ############################### Insets ##############################
458 noinst_LTLIBRARIES += liblyxinsets.la
461 insets/InsetTheorem.cpp \
462 insets/InsetTheorem.h
464 liblyxinsets_la_SOURCES = \
465 insets/MailInset.cpp \
467 insets/ExternalSupport.cpp \
468 insets/ExternalSupport.h \
469 insets/ExternalTemplate.cpp \
470 insets/ExternalTemplate.h \
471 insets/ExternalTransforms.cpp \
472 insets/ExternalTransforms.h \
473 insets/RenderBase.h \
474 insets/RenderButton.cpp \
475 insets/RenderButton.h \
476 insets/RenderGraphic.cpp \
477 insets/RenderGraphic.h \
478 insets/RenderPreview.cpp \
479 insets/RenderPreview.h \
482 insets/InsetBibitem.cpp \
483 insets/InsetBibitem.h \
484 insets/InsetBibtex.cpp \
485 insets/InsetBibtex.h \
486 insets/InsetBox.cpp \
488 insets/InsetBranch.cpp \
489 insets/InsetBranch.h \
490 insets/InsetCaption.cpp \
491 insets/InsetCaption.h \
492 insets/InsetCitation.cpp \
493 insets/InsetCitation.h \
494 insets/InsetCollapsable.cpp \
495 insets/InsetCollapsable.h \
496 insets/InsetCommand.cpp \
497 insets/InsetCommand.h \
498 insets/InsetCommandParams.cpp \
499 insets/InsetCommandParams.h \
500 insets/InsetEnvironment.cpp \
501 insets/InsetEnvironment.h \
502 insets/InsetERT.cpp \
504 insets/InsetExternal.cpp \
505 insets/InsetExternal.h \
507 insets/InsetFlex.cpp \
508 insets/InsetFloat.h \
509 insets/InsetFloat.cpp \
510 insets/InsetFloatList.cpp \
511 insets/InsetFloatList.h \
512 insets/InsetFoot.cpp \
514 insets/InsetFootlike.cpp \
515 insets/InsetFootlike.h \
516 insets/InsetGraphicsParams.h \
517 insets/InsetGraphicsParams.cpp \
518 insets/InsetGraphics.cpp \
519 insets/InsetGraphics.h \
520 insets/InsetHFill.cpp \
521 insets/InsetHFill.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/InsetUrl.cpp \
564 insets/InsetVSpace.cpp \
565 insets/InsetVSpace.h \
569 # insets/insetlist.C \
570 # insets/insetlist.h \
571 # insets/insetsection.h \
572 # insets/insetsection.C \
573 # insets/InsetTheorem.cpp \
574 # insets/InsetTheorem.h