1 include $(top_srcdir)/config/common.am
3 ############################### Core ##############################
5 DISTCLEANFILES += config.h libintl.h
7 AM_CPPFLAGS += $(PCH_FLAGS) -I$(top_srcdir)/src $(BOOST_INCLUDES)
13 SUBDIRS = support frontends . $(CLIENT) tex2lyx
15 EXTRA_DIST = Section.h \
22 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(MYTHES_LIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
24 noinst_LIBRARIES = liblyxcore.a
31 frontends/liblyxfrontends.a \
32 frontends/qt4/liblyxqt4.a \
34 support/liblyxsupport.a \
41 cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
42 windres -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
47 BUILT_SOURCES = $(PCH_FILE)
50 ASPELL = ASpell.cpp ASpell_local.h
53 # These four objects are linked as object files as they are not
54 # referenced within the core and therefore are not picked up
55 # by the linker without looping over libs. We do not want that,
56 # and in fact libtools seems not able to do that.
59 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
72 lyx_SOURCES += lyxwinres.rc
137 output_plaintext.cpp \
139 paragraph_funcs.cpp \
140 ParagraphMetrics.cpp \
141 ParagraphParameters.cpp \
240 ParagraphParameters.h \
271 @echo -e '$(SOURCEFILESCORE:%=\n#include "%")\n' > $@
275 BUILT_SOURCES += lyxcore.cpp $(STANDALONEFILES)
276 CLEANFILES += lyxcore.cpp
278 liblyxcore_a_SOURCES = lyxcore.cpp $(STANDALONEFILES) $(HEADERFILESCORE)
282 liblyxcore_a_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
286 ############################### Graphics ##############################
288 noinst_LIBRARIES += liblyxgraphics.a
290 liblyxgraphics_a_SOURCES = \
291 graphics/GraphicsCache.h \
292 graphics/GraphicsCache.cpp \
293 graphics/GraphicsCacheItem.h \
294 graphics/GraphicsCacheItem.cpp \
295 graphics/GraphicsConverter.h \
296 graphics/GraphicsConverter.cpp \
297 graphics/GraphicsImage.h \
298 graphics/GraphicsLoader.h \
299 graphics/GraphicsLoader.cpp \
300 graphics/GraphicsParams.cpp \
301 graphics/GraphicsParams.h \
302 graphics/GraphicsTypes.h \
303 graphics/PreviewImage.h \
304 graphics/PreviewImage.cpp \
305 graphics/PreviewLoader.h \
306 graphics/PreviewLoader.cpp \
307 graphics/Previews.h \
308 graphics/Previews.cpp
311 ############################### Mathed ##############################
313 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
315 noinst_LIBRARIES += liblyxmathed.a
317 SOURCEFILESMATHED = \
318 mathed/InsetMathAMSArray.cpp \
319 mathed/InsetMathArray.cpp \
320 mathed/InsetMathBig.cpp \
321 mathed/InsetMathBoldSymbol.cpp \
322 mathed/InsetMathBox.cpp \
323 mathed/InsetMathBrace.cpp \
324 mathed/InsetMath.cpp \
325 mathed/InsetMathCases.cpp \
326 mathed/InsetMathChar.cpp \
327 mathed/InsetMathColor.cpp \
328 mathed/CommandInset.cpp \
329 mathed/InsetMathComment.cpp \
330 mathed/InsetMathDecoration.cpp \
331 mathed/InsetMathDecoration.h \
332 mathed/InsetMathDelim.cpp \
333 mathed/InsetMathDiff.cpp \
334 mathed/InsetMathDots.cpp \
335 mathed/InsetMathEnsureMath.cpp \
336 mathed/InsetMathEnv.cpp \
337 mathed/InsetMathExFunc.cpp \
338 mathed/InsetMathExInt.cpp \
339 mathed/InsetMathFont.cpp \
340 mathed/InsetMathFontOld.cpp \
341 mathed/InsetMathFrac.cpp \
342 mathed/InsetMathGrid.cpp \
343 mathed/InsetMathHull.cpp \
344 mathed/InsetMathKern.cpp \
345 mathed/InsetMathLefteqn.cpp \
346 mathed/InsetMathLim.cpp \
347 mathed/MathMacro.cpp \
348 mathed/InsetMathMatrix.cpp \
349 mathed/InsetMathNest.cpp \
350 mathed/InsetMathNumber.cpp \
351 mathed/InsetMathOverset.cpp \
352 mathed/InsetMathPar.cpp \
353 mathed/InsetMathPhantom.cpp \
354 mathed/InsetMathRef.cpp \
355 mathed/InsetMathRoot.cpp \
356 mathed/InsetMathScript.cpp \
357 mathed/InsetMathSize.cpp \
358 mathed/InsetMathSpace.cpp \
359 mathed/InsetMathSpecialChar.cpp \
360 mathed/InsetMathSplit.cpp \
361 mathed/InsetMathSqrt.cpp \
362 mathed/InsetMathStackrel.cpp \
363 mathed/InsetMathString.cpp \
364 mathed/InsetMathSubstack.cpp \
365 mathed/InsetMathSymbol.cpp \
366 mathed/InsetMathTabular.cpp \
367 mathed/InsetMathUnderset.cpp \
368 mathed/InsetMathUnknown.cpp \
369 mathed/InsetMathXArrow.cpp \
370 mathed/InsetMathXYMatrix.cpp \
371 mathed/MathAtom.cpp \
372 mathed/MathAutoCorrect.cpp \
373 mathed/MathData.cpp \
374 mathed/MathExtern.cpp \
375 mathed/MathFactory.cpp \
376 mathed/MathMacroArgument.cpp \
377 mathed/MacroTable.cpp \
378 mathed/MathMacroTemplate.cpp \
379 mathed/MathParser.cpp \
380 mathed/MathStream.cpp \
381 mathed/MathSupport.cpp \
382 mathed/TextPainter.cpp
384 HEADERFILESMATHED = \
385 mathed/InsetMathAMSArray.h \
386 mathed/InsetMathArray.h \
387 mathed/InsetMathBig.h \
388 mathed/InsetMathBoldSymbol.h \
389 mathed/InsetMathBox.h \
390 mathed/InsetMathBrace.h \
391 mathed/InsetMathCases.h \
392 mathed/InsetMathChar.h \
393 mathed/InsetMathColor.h \
394 mathed/CommandInset.h \
395 mathed/InsetMathComment.h \
396 mathed/InsetMathDelim.h \
397 mathed/InsetMathDiff.h \
398 mathed/InsetMathDots.h \
399 mathed/InsetMathEnsureMath.h \
400 mathed/InsetMathEnv.h \
401 mathed/InsetMathExFunc.h \
402 mathed/InsetMathExInt.h \
403 mathed/InsetMathFont.h \
404 mathed/InsetMathFontOld.h \
405 mathed/InsetMathFrac.h \
406 mathed/InsetMathGrid.h \
408 mathed/InsetMathHull.h \
409 mathed/InsetMathKern.h \
410 mathed/InsetMathLefteqn.h \
411 mathed/InsetMathLim.h \
413 mathed/InsetMathMatrix.h \
414 mathed/InsetMathNest.h \
415 mathed/InsetMathNumber.h \
416 mathed/InsetMathOverset.h \
417 mathed/InsetMathPar.h \
418 mathed/InsetMathPhantom.h \
419 mathed/InsetMathRef.h \
420 mathed/InsetMathRoot.h \
421 mathed/InsetMathScript.h \
422 mathed/InsetMathSize.h \
423 mathed/InsetMathSpace.h \
424 mathed/InsetMathSpecialChar.h \
425 mathed/InsetMathSplit.h \
426 mathed/InsetMathSqrt.h \
427 mathed/InsetMathStackrel.h \
428 mathed/InsetMathString.h \
429 mathed/InsetMathSubstack.h \
430 mathed/InsetMathSymbol.h \
431 mathed/InsetMathTabular.h \
432 mathed/InsetMathUnderset.h \
433 mathed/InsetMathUnknown.h \
434 mathed/InsetMathXArrow.h \
435 mathed/InsetMathXYMatrix.h \
437 mathed/MathAutoCorrect.h \
439 mathed/MathCompletionList.h \
440 mathed/MathExtern.h \
441 mathed/MathFactory.h \
442 mathed/MathGridInfo.h \
443 mathed/MathMacroArgument.h \
444 mathed/MacroTable.h \
445 mathed/MathMacroTemplate.h \
446 mathed/MathParser.h \
447 mathed/MathParser_flags.h \
448 mathed/ReplaceData.h \
449 mathed/MathStream.h \
450 mathed/MathSupport.h \
454 @echo -e '$(SOURCEFILESMATHED:%=\n#include "%")\n' > $@
458 BUILT_SOURCES += lyxmathed.cpp
459 CLEANFILES += lyxmathed.cpp
461 liblyxmathed_a_SOURCES = lyxmathed.cpp $(HEADERFILESMATHED)
465 liblyxmathed_a_SOURCES = $(SOURCEFILESMATHED) $(HEADERFILESMATHED)
469 ############################### Insets ##############################
471 noinst_LIBRARIES += liblyxinsets.a
473 SOURCEFILESINSETS = \
474 insets/ExternalSupport.cpp \
475 insets/ExternalTemplate.cpp \
476 insets/ExternalTransforms.cpp \
477 insets/RenderButton.cpp \
478 insets/RenderGraphic.cpp \
479 insets/RenderPreview.cpp \
481 insets/InsetBibitem.cpp \
482 insets/InsetBibtex.cpp \
483 insets/InsetBox.cpp \
484 insets/InsetBranch.cpp \
485 insets/InsetCaption.cpp \
486 insets/InsetCitation.cpp \
487 insets/InsetCollapsable.cpp \
488 insets/InsetCommand.cpp \
489 insets/InsetCommandParams.cpp \
490 insets/InsetERT.cpp \
491 insets/InsetExternal.cpp \
492 insets/InsetFlex.cpp \
493 insets/InsetFloat.cpp \
494 insets/InsetFloatList.cpp \
495 insets/InsetFoot.cpp \
496 insets/InsetFootlike.cpp \
497 insets/InsetGraphicsParams.cpp \
498 insets/InsetGraphics.cpp \
499 insets/InsetHyperlink.cpp \
500 insets/InsetInclude.cpp \
501 insets/InsetIndex.cpp \
502 insets/InsetInfo.cpp \
503 insets/InsetLabel.cpp \
504 insets/InsetLayout.cpp \
505 insets/InsetLine.cpp \
506 insets/InsetListings.cpp \
507 insets/InsetListingsParams.cpp \
508 insets/InsetMarginal.cpp \
509 insets/InsetNewline.cpp \
510 insets/InsetNewpage.cpp \
511 insets/InsetNomencl.cpp \
512 insets/InsetNote.cpp \
513 insets/InsetOptArg.cpp \
514 insets/InsetQuotes.cpp \
515 insets/InsetRef.cpp \
516 insets/InsetSpace.cpp \
517 insets/InsetSpecialChar.cpp \
518 insets/InsetTabular.cpp \
519 insets/InsetText.cpp \
520 insets/InsetTOC.cpp \
521 insets/InsetVSpace.cpp \
524 HEADERFILESINSETS = \
525 insets/ExternalSupport.h \
526 insets/ExternalTemplate.h \
527 insets/ExternalTransforms.h \
528 insets/RenderBase.h \
529 insets/RenderButton.h \
530 insets/RenderGraphic.h \
531 insets/RenderPreview.h \
533 insets/InsetBibitem.h \
534 insets/InsetBibtex.h \
536 insets/InsetBranch.h \
537 insets/InsetCaption.h \
538 insets/InsetCitation.h \
540 insets/InsetCollapsable.h \
541 insets/InsetCommand.h \
542 insets/InsetCommandParams.h \
544 insets/InsetExternal.h \
546 insets/InsetFloat.h \
548 insets/InsetFloatList.h \
549 insets/InsetFootlike.h \
550 insets/InsetGraphicsParams.h \
551 insets/InsetGraphics.h \
552 insets/InsetHyperlink.h \
553 insets/InsetInclude.h \
554 insets/InsetIndex.h \
556 insets/InsetLabel.h \
557 insets/InsetLayout.h \
559 insets/InsetListings.h \
560 insets/InsetListingsParams.h \
561 insets/InsetMarginal.h \
562 insets/InsetNewline.h \
563 insets/InsetNewpage.h \
564 insets/InsetNomencl.h \
566 insets/InsetOptArg.h \
567 insets/InsetQuotes.h \
569 insets/InsetSpace.h \
570 insets/InsetSpecialChar.h \
571 insets/InsetTabular.h \
574 insets/InsetVSpace.h \
577 # insets/InsetList.cpp \
578 # insets/InsetList.h \
579 # insets/InsetSection.h \
580 # insets/InsetSection.cpp
583 @echo -e '$(SOURCEFILESINSETS:%=\n#include "%")\n' > $@
587 BUILT_SOURCES += lyxinsets.cpp
588 CLEANFILES += lyxinsets.cpp
590 liblyxinsets_a_SOURCES = lyxinsets.cpp $(HEADERFILESINSETS)
594 liblyxinsets_a_SOURCES = $(SOURCEFILESINSETS) $(HEADERFILESINSETS)