1include $(top_srcdir)/build/vars.build.mk 2include $(top_srcdir)/build/vars.docs.mk 3 4geanyplugins_LTLIBRARIES = scope.la 5 6plugin = scope 7 8scope_la_SOURCES = \ 9 break.c \ 10 break.h \ 11 common.h \ 12 conterm.c \ 13 conterm.h \ 14 debug.c \ 15 debug.h \ 16 inspect.c \ 17 inspect.h \ 18 local.c \ 19 local.h \ 20 memory.c \ 21 memory.h \ 22 menu.c \ 23 menu.h \ 24 parse.c \ 25 parse.h \ 26 plugme.c \ 27 plugme.h \ 28 prefs.c \ 29 prefs.h \ 30 program.c \ 31 program.h \ 32 register.c \ 33 register.h \ 34 scope.c \ 35 scope.h \ 36 stack.c \ 37 stack.h \ 38 thread.c \ 39 thread.h \ 40 tooltip.c \ 41 tooltip.h \ 42 utils.c \ 43 utils.h \ 44 views.c \ 45 views.h \ 46 watch.c \ 47 watch.h \ 48 store.h \ 49 store/scptreedata.h \ 50 store/scptreedata.c \ 51 store/scptreestore.h \ 52 store/scptreestore.c 53 54scope_la_LIBADD = $(COMMONLIBS) $(VTE_LIBS) $(PTY_LIBS) \ 55 $(top_builddir)/utils/src/libgeanypluginutils.la 56 57scope_la_CPPFLAGS = $(AM_CPPFLAGS) -DG_LOG_DOMAIN=\"Scope\" 58scope_la_CFLAGS = $(AM_CFLAGS) $(VTE_CFLAGS) \ 59 -DPLUGINHTMLDOCDIR=\"$(plugindocdir)/html\" \ 60 -Wno-shadow \ 61 -I$(top_srcdir)/utils/src 62 63include $(top_srcdir)/build/cppcheck.mk 64 65if UNITTESTS 66 67TESTS = unittests 68check_PROGRAMS = unittests 69 70unittests_SOURCES = tests/unittests.c tests/utils_test.c \ 71 $(scope_la_SOURCES) 72unittests_CPPFLAGS = -DTEST $(scope_la_CPPFLAGS) 73unittests_CFLAGS = $(GEANY_CFLAGS) -DUNITTESTS $(scope_la_CFLAGS) 74unittests_LDADD = @GEANY_LIBS@ $(INTLLIBS) @CHECK_LIBS@ \ 75 $(scope_la_LIBADD) 76 77endif 78