1 include $(top_srcdir)/config/common.am
3 ############################### Core ##############################
5 DISTCLEANFILES += config.h libintl.h version.cpp stamp-version version.cpp-tmp
7 MAINTAINERCLEANFILES += $(srcdir)/config.h.in
9 SUBDIRS = support frontends .
11 EXTRA_DIST = config.h.in stamp-h.in version.cpp.in \
19 LYX_PRE_LIBS = liblyxmathed.la liblyxinsets.la \
20 frontends/liblyxfrontends.la
22 LYX_POST_LIBS = frontends/controllers/liblyxcontrollers.la \
24 support/liblyxsupport.la
26 OTHERLIBS = $(BOOST_LIBS) $(INTLLIBS) $(AIKSAURUS_LIBS) @LIBS@ $(SOCKET_LIBS)
28 pkglib_LTLIBRARIES = liblyxcore.la
29 noinst_PROGRAMS = $(FRONTENDS_PROGS)
30 EXTRA_PROGRAMS = lyx-qt4
32 lyx_qt4_LDADD = liblyxcore.la $(LYX_PRE_LIBS) \
33 frontends/qt4/liblyxqt4.la $(LYX_POST_LIBS) $(OTHERLIBS) $(QT4_LIB)
34 lyx_qt4_SOURCES = main.cpp
36 lyx$(EXEEXT): $(FRONTENDS_PROGS)
42 BUILT_SOURCES = $(PCH_FILE) version.cpp
45 ASPELL = ASpell.cpp ASpell_local.h
48 PSPELL = PSpell.cpp PSpell.h
51 ISPELL = ISpell.cpp ISpell.h
55 liblyxcore_la_SOURCES = \
56 $(ASPELL) $(PSPELL) $(ISPELL) SpellBase.cpp \
75 bufferview_funcs.cpp \
173 lyxlayout_ptr_fwd.h \
198 output_plaintext.cpp \
202 paragraph_funcs.cpp \
206 ParagraphMetrics.cpp \
208 ParagraphParameters.cpp \
209 ParagraphParameters.h \
258 version.cpp: stamp-version
261 stamp-version: version.cpp-tmp
262 if cmp -s $< version.cpp ; then \
271 ############################### Graphics ##############################
273 pkglib_LTLIBRARIES += liblyxgraphics.la
275 liblyxgraphics_la_SOURCES = \
276 graphics/GraphicsCache.h \
277 graphics/GraphicsCache.cpp \
278 graphics/GraphicsCacheItem.h \
279 graphics/GraphicsCacheItem.cpp \
280 graphics/GraphicsConverter.h \
281 graphics/GraphicsConverter.cpp \
282 graphics/GraphicsImage.h \
283 graphics/GraphicsImage.cpp \
284 graphics/GraphicsLoader.h \
285 graphics/GraphicsLoader.cpp \
286 graphics/GraphicsParams.cpp \
287 graphics/GraphicsParams.h \
288 graphics/LoaderQueue.h \
289 graphics/LoaderQueue.cpp \
290 graphics/GraphicsTypes.h \
291 graphics/GraphicsTypes.cpp \
292 graphics/PreviewImage.h \
293 graphics/PreviewImage.cpp \
294 graphics/PreviewLoader.h \
295 graphics/PreviewLoader.cpp \
296 graphics/Previews.h \
297 graphics/Previews.cpp
300 ############################### Mathed ##############################
302 EXTRA_DIST += mathed/InsetFormulaMacro.cpp
304 pkglib_LTLIBRARIES += liblyxmathed.la
306 liblyxmathed_la_SOURCES = \
307 mathed/InsetMathAMSArray.cpp \
308 mathed/InsetMathAMSArray.h \
309 mathed/InsetMathArray.cpp \
310 mathed/InsetMathArray.h \
311 mathed/InsetMathBig.cpp \
312 mathed/InsetMathBig.h \
313 mathed/InsetMathBinom.cpp \
314 mathed/InsetMathBinom.h \
315 mathed/InsetMathBoldSymbol.cpp \
316 mathed/InsetMathBoldSymbol.h \
317 mathed/InsetMathBox.cpp \
318 mathed/InsetMathBoxed.cpp \
319 mathed/InsetMathBoxed.h \
320 mathed/InsetMathBox.h \
321 mathed/InsetMathBrace.cpp \
322 mathed/InsetMathBrace.h \
323 mathed/InsetMath.cpp \
324 mathed/InsetMathCases.cpp \
325 mathed/InsetMathCases.h \
326 mathed/InsetMathChar.cpp \
327 mathed/InsetMathChar.h \
328 mathed/InsetMathColor.cpp \
329 mathed/InsetMathColor.h \
330 mathed/CommandInset.cpp \
331 mathed/CommandInset.h \
332 mathed/InsetMathComment.cpp \
333 mathed/InsetMathComment.h \
334 mathed/InsetMathDecoration.cpp \
335 mathed/InsetMathDecoration.h \
336 mathed/InsetMathDelim.cpp \
337 mathed/InsetMathDelim.h \
338 mathed/InsetMathDFrac.cpp \
339 mathed/InsetMathDFrac.h \
340 mathed/InsetMathDiff.cpp \
341 mathed/InsetMathDiff.h \
342 mathed/InsetMathDots.cpp \
343 mathed/InsetMathDots.h \
344 mathed/InsetMathEnv.cpp \
345 mathed/InsetMathEnv.h \
346 mathed/InsetMathExFunc.cpp \
347 mathed/InsetMathExFunc.h \
348 mathed/InsetMathExInt.cpp \
349 mathed/InsetMathExInt.h \
350 mathed/InsetMathFBox.cpp \
351 mathed/InsetMathFBox.h \
352 mathed/InsetMathFont.cpp \
353 mathed/InsetMathFont.h \
354 mathed/InsetMathFontOld.cpp \
355 mathed/InsetMathFontOld.h \
356 mathed/InsetMathFracBase.cpp \
357 mathed/InsetMathFracBase.h \
358 mathed/InsetMathFrac.cpp \
359 mathed/InsetMathFrac.h \
360 mathed/InsetMathFrameBox.cpp \
361 mathed/InsetMathFrameBox.h \
362 mathed/InsetMathGrid.cpp \
363 mathed/InsetMathGrid.h \
365 mathed/InsetMathHull.cpp \
366 mathed/InsetMathHull.h \
367 mathed/InsetMathKern.cpp \
368 mathed/InsetMathKern.h \
369 mathed/InsetMathLefteqn.cpp \
370 mathed/InsetMathLefteqn.h \
371 mathed/InsetMathLim.cpp \
372 mathed/InsetMathLim.h \
373 mathed/MathMacro.cpp \
375 mathed/InsetMathMakebox.cpp \
376 mathed/InsetMathMakebox.h \
377 mathed/InsetMathMatrix.cpp \
378 mathed/InsetMathMatrix.h \
379 mathed/InsetMathNest.cpp \
380 mathed/InsetMathNest.h \
381 mathed/InsetMathNumber.cpp \
382 mathed/InsetMathNumber.h \
383 mathed/InsetMathOverset.cpp \
384 mathed/InsetMathOverset.h \
385 mathed/InsetMathPar.cpp \
386 mathed/InsetMathPar.h \
387 mathed/InsetMathPhantom.cpp \
388 mathed/InsetMathPhantom.h \
389 mathed/InsetMathRef.cpp \
390 mathed/InsetMathRef.h \
391 mathed/InsetMathRoot.cpp \
392 mathed/InsetMathRoot.h \
393 mathed/InsetMathScript.cpp \
394 mathed/InsetMathScript.h \
395 mathed/InsetMathSize.cpp \
396 mathed/InsetMathSize.h \
397 mathed/InsetMathSpace.cpp \
398 mathed/InsetMathSpace.h \
399 mathed/InsetMathSplit.cpp \
400 mathed/InsetMathSplit.h \
401 mathed/InsetMathSqrt.cpp \
402 mathed/InsetMathSqrt.h \
403 mathed/InsetMathStackrel.cpp \
404 mathed/InsetMathStackrel.h \
405 mathed/InsetMathString.cpp \
406 mathed/InsetMathString.h \
407 mathed/InsetMathSubstack.cpp \
408 mathed/InsetMathSubstack.h \
409 mathed/InsetMathSymbol.cpp \
410 mathed/InsetMathSymbol.h \
411 mathed/InsetMathTabular.cpp \
412 mathed/InsetMathTabular.h \
413 mathed/InsetMathTFrac.cpp \
414 mathed/InsetMathTFrac.h \
415 mathed/InsetMathUnderset.cpp \
416 mathed/InsetMathUnderset.h \
417 mathed/InsetMathUnknown.cpp \
418 mathed/InsetMathUnknown.h \
419 mathed/InsetMathXArrow.cpp \
420 mathed/InsetMathXArrow.h \
421 mathed/InsetMathXYMatrix.cpp \
422 mathed/InsetMathXYMatrix.h \
423 mathed/MathAtom.cpp \
425 mathed/MathAutoCorrect.cpp \
426 mathed/MathAutoCorrect.h \
427 mathed/MathData.cpp \
429 mathed/MathExtern.cpp \
430 mathed/MathExtern.h \
431 mathed/MathFactory.cpp \
432 mathed/MathFactory.h \
433 mathed/MathGridInfo.h \
434 mathed/MathMacroArgument.cpp \
435 mathed/MathMacroArgument.h \
436 mathed/MacroTable.cpp \
437 mathed/MacroTable.h \
438 mathed/MathMacroTemplate.cpp \
439 mathed/MathMacroTemplate.h \
440 mathed/MathParser.cpp \
441 mathed/MathParser.h \
442 mathed/ReplaceData.h \
443 mathed/MathStream.cpp \
444 mathed/MathStream.h \
445 mathed/MathSupport.cpp \
446 mathed/MathSupport.h \
447 mathed/TextPainter.cpp \
449 # mathed/InsetMathMBox.cpp
450 # mathed/InsetMathMBox.h
452 ############################### Insets ##############################
454 pkglib_LTLIBRARIES += liblyxinsets.la
457 insets/InsetTheorem.cpp \
458 insets/InsetTheorem.h
460 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
462 liblyxinsets_la_SOURCES = \
463 insets/MailInset.cpp \
465 insets/ExternalSupport.cpp \
466 insets/ExternalSupport.h \
467 insets/ExternalTemplate.cpp \
468 insets/ExternalTemplate.h \
469 insets/ExternalTransforms.cpp \
470 insets/ExternalTransforms.h \
471 insets/RenderBase.h \
472 insets/RenderButton.cpp \
473 insets/RenderButton.h \
474 insets/RenderGraphic.cpp \
475 insets/RenderGraphic.h \
476 insets/RenderPreview.cpp \
477 insets/RenderPreview.h \
480 insets/InsetBibitem.cpp \
481 insets/InsetBibitem.h \
482 insets/InsetBibtex.cpp \
483 insets/InsetBibtex.h \
484 insets/InsetBox.cpp \
486 insets/InsetBranch.cpp \
487 insets/InsetBranch.h \
488 insets/InsetCaption.cpp \
489 insets/InsetCaption.h \
490 insets/InsetCharStyle.cpp \
491 insets/InsetCharStyle.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 \
506 insets/InsetFloat.h \
507 insets/InsetFloat.cpp \
508 insets/InsetFloatList.cpp \
509 insets/InsetFloatList.h \
510 insets/InsetFoot.cpp \
512 insets/InsetFootlike.cpp \
513 insets/InsetFootlike.h \
514 insets/InsetGraphicsParams.h \
515 insets/InsetGraphicsParams.cpp \
516 insets/InsetGraphics.cpp \
517 insets/InsetGraphics.h \
518 insets/InsetHFill.cpp \
519 insets/InsetHFill.h \
520 insets/InsetInclude.cpp \
521 insets/InsetInclude.h \
522 insets/InsetIndex.cpp \
523 insets/InsetIndex.h \
524 insets/InsetLabel.cpp \
525 insets/InsetLabel.h \
526 insets/InsetLine.cpp \
528 insets/InsetListings.h \
529 insets/InsetListings.cpp \
530 insets/InsetListingsParams.h \
531 insets/InsetListingsParams.cpp \
532 insets/InsetMarginal.h \
533 insets/InsetMarginal.cpp \
534 insets/InsetNewline.cpp \
535 insets/InsetNewline.h \
536 insets/InsetNomencl.cpp \
537 insets/InsetNomencl.h \
538 insets/InsetNote.cpp \
540 insets/InsetOptArg.cpp \
541 insets/InsetOptArg.h \
542 insets/InsetPagebreak.cpp \
543 insets/InsetPagebreak.h \
544 insets/InsetQuotes.cpp \
545 insets/InsetQuotes.h \
546 insets/InsetRef.cpp \
548 insets/InsetSpace.cpp \
549 insets/InsetSpace.h \
550 insets/InsetSpecialChar.cpp \
551 insets/InsetSpecialChar.h \
552 insets/InsetTabular.cpp \
553 insets/InsetTabular.h \
554 insets/InsetText.cpp \
556 insets/InsetTOC.cpp \
558 insets/InsetUrl.cpp \
560 insets/InsetVSpace.cpp \
561 insets/InsetVSpace.h \
565 # insets/insetlist.C \
566 # insets/insetlist.h \
567 # insets/insetsection.h \
568 # insets/insetsection.C \
569 # insets/InsetTheorem.cpp \
570 # insets/InsetTheorem.h