]> Pileus Git - ~andy/gtk/blobdiff - tests/Makefile.am
Merge branch 'master' into client-side-windows
[~andy/gtk] / tests / Makefile.am
index 24f1b293d5a6aa6018e25edd79527313a30011c1..48e440550c54069e2ae44afc910eb8e4bffef96a 100644 (file)
 ## Makefile.am for gtk+/tests
+include $(top_srcdir)/Makefile.decl
 
-INCLUDES = @STRIP_BEGIN@ \
-       -I$(top_srcdir)                                 \
-       -I$(top_builddir)/gdk                           \
-       -DGTK_DISABLE_COMPAT_H                          \
-       @GTK_DEBUG_FLAGS@                               \
-       @GTK_XIM_FLAGS@                                 \
-       @GTK_LOCALE_FLAGS@                              \
-       @PANGO_CFLAGS@                                  \
-       @GLIB_CFLAGS@                                   \
-       @more_cflags@                                   \
-@STRIP_END@
-
-DEPS = \
-       $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
-       $(top_builddir)/gdk/@gdktargetlib@              \
-       $(top_builddir)/gtk/@gtktargetlib@
-
-LDADDS = @STRIP_BEGIN@                                         \
-       $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
-       $(top_builddir)/gdk/@gdktargetlib@              \
-       $(top_builddir)/gtk/@gtktargetlib@              \
-       @more_ldflags@                                  \
-       @more_libs@                                     \
-       @GDK_WLIBS@                                     \
-       @PANGO_LIBS@                                    \
-       @GLIB_LIBS@                                     \
-       @GTK_LIBS_EXTRA@                                \
-       -lm                                             \
-@STRIP_END@
-
-noinst_PROGRAMS =              \
-       testsocket              \
-       testsocket_child        \
-       testtreeview            \
-       testtreecolumns
+INCLUDES =                             \
+       -I$(top_srcdir)                 \
+       -I$(top_builddir)/gdk           \
+       -I$(top_srcdir)/gdk             \
+       -DGDK_DISABLE_DEPRECATED        \
+       -DGTK_DISABLE_DEPRECATED        \
+       $(GTK_DEBUG_FLAGS)              \
+       $(GTK_DEP_CFLAGS)
 
+DEPS =                                                                 \
+       $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
+       $(top_builddir)/gdk/$(gdktargetlib)                             \
+       $(top_builddir)/gtk/$(gtktargetlib)
+
+LDADDS =                                                               \
+       $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
+       $(top_builddir)/gdk/$(gdktargetlib)                             \
+       $(top_builddir)/gtk/$(gtktargetlib)
+
+if USE_X11
+testsocket_programs = testsocket testsocket_child
+endif
+
+noinst_PROGRAMS =  $(TEST_PROGS)       \
+       simple                          \
+       flicker                         \
+       print-editor                    \
+       testaccel                       \
+       testassistant                   \
+       testbbox                        \
+       testcairo                       \
+       testcalendar                    \
+       testcombo                       \
+       testcombochange                 \
+       testcellrenderertext            \
+       testclientmessage               \
+       testdnd                         \
+       testellipsise                   \
+       testentrycompletion             \
+       testentryicons                  \
+       testfilechooser                 \
+       testfilechooserbutton           \
+       testframe                       \
+       testgtk                         \
+       testiconview                    \
+       testicontheme                   \
+       testimage                       \
+       testinput                       \
+       testmenus                       \
+       testmenubars                    \
+       testmountoperation              \
+       testmultidisplay                \
+       testmultiscreen                 \
+       testnotebookdnd                 \
+       testnouiprint                   \
+       testoffscreen                   \
+       testprint                       \
+       testrgb                         \
+       testrecentchooser               \
+       testrecentchoosermenu           \
+       testrichtext                    \
+       testscale                       \
+       testselection                   \
+       $(testsocket_programs)          \
+       testspinbutton                  \
+       teststatusicon                  \
+       testtext                        \
+       testtoolbar                     \
+       stresstest-toolbar              \
+       testtreeedit                    \
+       testtreemodel                   \
+       testtreeview                    \
+       testtreefocus                   \
+       testtreeflow                    \
+       testtreecolumns                 \
+       testtreecolumnsizing            \
+       testtreesort                    \
+       treestoretest                   \
+       testxinerama                    \
+       testwindows                     \
+       pixbuf-read                     \
+       pixbuf-lowmem                   \
+       pixbuf-randomly-modified        \
+       pixbuf-random                   \
+       pixbuf-threads                  \
+       testmerge                       \
+       testactions                     \
+       testgrouping                    \
+       testtooltips                    \
+       testvolumebutton
+
+if HAVE_CXX
+noinst_PROGRAMS += autotestkeywords
+TESTS = autotestkeywords
+
+autotestkeywords_SOURCES = autotestkeywords.cc
+autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
+
+if HAVE_OBJC
+autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1
+autotestkeywords_CXXFLAGS = -x objective-c++
+endif
+
+endif
+
+flicker_DEPENDENCIES = $(TEST_DEPS)
+simple_DEPENDENCIES = $(TEST_DEPS)
+print_editor_DEPENDENCIES = $(TEST_DEPS)
+testicontheme_DEPENDENCIES = $(TEST_DEPS)
+testiconview_DEPENDENCIES = $(TEST_DEPS)
+testaccel_DEPENDENCIES = $(TEST_DEPS)
+testassistant_DEPENDENCIES = $(TEST_DEPS)
+testbbox_DEPENDENCIES = $(TEST_DEPS)
+testframe_DEPENDENCIES = $(TEST_DEPS)
+testcairo_DEPENDENCIES = $(TEST_DEPS)
+testcalendar_DEPENDENCIES = $(TEST_DEPS)
+testcombo_DEPENDENCIES = $(TEST_DEPS)
+testcombochange_DEPENDENCIES = $(TEST_DEPS)
+testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
+testclientmessage_DEPENDENCIES = $(TEST_DEPS)
+testdnd_DEPENDENCIES = $(TEST_DEPS)
+testellipsise_DEPENDENCIES = $(TEST_DEPS)
+testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
+testentryicons_DEPENDENCIES = $(TEST_DEPS)
+testfilechooser_DEPENDENCIES = $(TEST_DEPS)
+testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
+testgtk_DEPENDENCIES = $(TEST_DEPS)
+testinput_DEPENDENCIES = $(TEST_DEPS)
+testimage_DEPENDENCIES = $(TEST_DEPS)
+testmenus_DEPENDENCIES = $(TEST_DEPS)
+testmenubars_DEPENDENCIES = $(TEST_DEPS)
+testmountoperation_DEPENDENCIES = $(TEST_DEPS)
+testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
+testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
+testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
+testnouiprint_DEPENDENCIES = $(TEST_DEPS)
+testoffscreen_DEPENDENCIES = $(TEST_DEPS)
+testprint_DEPENDENCIES = $(TEST_DEPS)
+testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
+testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
+testrgb_DEPENDENCIES = $(TEST_DEPS)
+testrichtext_DEPENDENCIES = $(TEST_DEPS)
+testscale_DEPENDENCIES = $(TEST_DEPS)
+testselection_DEPENDENCIES = $(TEST_DEPS)
 testsocket_DEPENDENCIES = $(DEPS)
 testsocket_child_DEPENDENCIES = $(DEPS)
+testspinbutton_DEPENDENCIES = $(TEST_DEPS)
+teststatusicon_DEPENDENCIES = $(TEST_DEPS)
+testtext_DEPENDENCIES = $(TEST_DEPS)
+testtreeedit_DEPENDENCIES = $(DEPS)
+testtreemodel_DEPENDENCIES = $(DEPS)
 testtreeview_DEPENDENCIES = $(DEPS)
+testtreefocus_DEPENDENCIES = $(DEPS)
+testtreeflow_DEPENDENCIES = $(DEPS)
+testtreecolumns_DEPENDENCIES = $(DEPS)
+testtreecolumnsizing_DEPENDENCIES = $(DEPS)
+testtreesort_DEPENDENCIES = $(DEPS)
+treestoretest_DEPENDENCIES = $(TEST_DEPS)
+testxinerama_DEPENDENCIES = $(TEST_DEPS)
+testmerge_DEPENDENCIES = $(TEST_DEPS)
+testactions_DEPENDENCIES = $(TEST_DEPS)
+testgrouping_DEPENDENCIES = $(TEST_DEPS)
+testtooltips_DEPENDENCIES = $(TEST_DEPS)
+testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
+testwindows_DEPENDENCIES = $(TEST_DEPS)
 
+flicker_LDADD = $(LDADDS)
+simple_LDADD = $(LDADDS)
+print_editor_LDADD = $(LDADDS)
+testaccel_LDADD = $(LDADDS)
+testassistant_LDADD = $(LDADDS)
+testbbox_LDADD = $(LDADDS)
+testframe_LDADD = $(LDADDS)
+testcairo_LDADD = $(LDADDS)
+testcalendar_LDADD = $(LDADDS)
+testcombo_LDADD = $(LDADDS)
+testcombochange_LDADD = $(LDADDS)
+testcellrenderertext_LDADD = $(LDADDS)
+testclientmessage_LDADD = $(LDADDS)
+testdnd_LDADD = $(LDADDS)
+testellipsise_LDADD = $(LDADDS)
+testentrycompletion_LDADD = $(LDADDS)
+testentryicons_LDADD = $(LDADDS)
+testfilechooser_LDADD = $(LDADDS)
+testfilechooserbutton_LDADD = $(LDADDS)
+testgtk_LDADD = $(LDADDS)
+testicontheme_LDADD = $(LDADDS)
+testiconview_LDADD = $(LDADDS)
+testinput_LDADD = $(LDADDS)
+testimage_LDADD = $(LDADDS)
+testmenus_LDADD = $(LDADDS)
+testmenubars_LDADD = $(LDADDS)
+testmountoperation_LDADD = $(LDADDS)
+testmultidisplay_LDADD = $(LDADDS)
+testmultiscreen_LDADD = $(LDADDS)
+testnotebookdnd_LDADD = $(LDADDS)
+testnouiprint_LDADD = $(LDADDS)
+testoffscreen_LDADD = $(LDADDS)
+testprint_LDADD = $(LDADDS)
+testrecentchooser_LDADD = $(LDADDS)
+testrecentchoosermenu_LDADD = $(LDADDS)
+testrgb_LDADD = $(LDADDS)
+testrichtext_LDADD = $(LDADDS)
+testscale_LDADD = $(LDADDS)
+testselection_LDADD = $(LDADDS)
 testsocket_LDADD = $(LDADDS)
 testsocket_child_LDADD = $(LDADDS)
+testspinbutton_LDADD = $(LDADDS)
+teststatusicon_LDADD = $(LDADDS)
+testtoolbar_LDADD = $(LDADDS)
+stresstest_toolbar_LDADD = $(LDADDS)
+testtreeedit_LDADD = $(LDADDS)
+testtreemodel_LDADD = $(LDADDS)
 testtreeview_LDADD = $(LDADDS)
+testtreefocus_LDADD = $(LDADDS)
+testtreeflow_LDADD = $(LDADDS)
+testtreecolumns_LDADD = $(LDADDS)
+testtreecolumnsizing_LDADD = $(LDADDS)
+testtreesort_LDADD = $(LDADDS)
+testtext_LDADD = $(LDADDS)
+treestoretest_LDADD = $(LDADDS)
+testxinerama_LDADD = $(LDADDS)
+pixbuf_read_LDADD = $(LDADDS)
+pixbuf_lowmem_LDADD = $(LDADDS)
+pixbuf_randomly_modified_LDADD = $(LDADDS)
+pixbuf_random_LDADD = $(LDADDS)
+pixbuf_threads_LDADD = $(LDADDS) $(GLIB_LIBS)
+testmerge_LDADD = $(LDADDS)
+testactions_LDADD = $(LDADDS)
+testgrouping_LDADD = $(LDADDS)
+testtooltips_LDADD = $(LDADDS)
+testvolumebutton_LDADD = $(LDADDS)
+testwindows_LDADD = $(LDADDS)
 
-testtreeview_SOURCES = testtreeview.c
 
-testtreecolumns_DEPENDENCIES = $(DEPS)
+testentrycompletion_SOURCES =  \
+       prop-editor.c           \
+       testentrycompletion.c
+
+testentryicons_SOURCES =       \
+       prop-editor.c           \
+       testentryicons.c
+
+testfilechooser_SOURCES =      \
+       prop-editor.c           \
+       testfilechooser.c       
+
+testfilechooserbutton_SOURCES =        \
+       prop-editor.c           \
+       testfilechooserbutton.c         
+
+testgtk_SOURCES =      \
+       prop-editor.c   \
+       testgtk.c       
+
+testtreeedit_SOURCES =         \
+       testtreeedit.c
+
+testtreemodel_SOURCES = \
+       testtreemodel.c
+
+testtreeview_SOURCES = \
+       prop-editor.c   \
+       testtreeview.c 
+
+testtext_SOURCES =     \
+       prop-editor.c   \
+       testtext.c 
+
+testtoolbar_SOURCES =  \
+       testtoolbar.c   \
+       prop-editor.c
+
+testprint_SOURCES =            \
+       testprint.c             \
+       testprintfileoperation.h \
+       testprintfileoperation.c
+
+testsocket_SOURCES =           \
+       testsocket.c            \
+       testsocket_common.c
+
+testsocket_child_SOURCES =     \
+       testsocket_child.c      \
+       testsocket_common.c
+
+testspinbutton_SOURCES =       \
+       testspinbutton.c
+
+teststatusicon_SOURCES =       \
+       prop-editor.c           \
+       teststatusicon.c
+
+testmerge_SOURCES =            \
+       testmerge.c
+
+testactions_SOURCES =          \
+       testactions.c
+
+testbbox_SOURCES =             \
+       testbbox.c
+
+testframe_SOURCES =            \
+       testframe.c
+
+testiconview_SOURCES =                 \
+       testiconview.c          \
+       prop-editor.c
+
+testrecentchooser_SOURCES =    \
+       prop-editor.c           \
+       testrecentchooser.c
+
+testgrouping_SOURCES =         \
+       testgrouping.c
+
+testtooltips_SOURCES =         \
+       testtooltips.c
+
+testrecentchoosermenu_SOURCES =        \
+       testrecentchoosermenu.c
+
+testvolumebutton_SOURCES =     \
+       testvolumebutton.c
+
+testoffscreen_SOURCES =        \
+       gtkoffscreenbox.c       \
+       gtkoffscreenbox.h       \
+       testoffscreen.c
+
+testwindow_SOURCES =   \
+       testwindows.c
+
+EXTRA_DIST +=                  \
+       prop-editor.h           \
+       testgtk.1               \
+       testgtkrc               \
+       testgtkrc2              \
+       circles.xbm             \
+       3DRings.xpm             \
+       FilesQueue.xpm          \
+       Modeller.xpm            \
+       check-y.xpm             \
+       check-n.xpm             \
+       marble.xpm              \
+       test.xpm                \
+       check-y.xpm             \
+       check-n.xpm             \
+       test.xpm                \
+       merge-1.ui              \
+       merge-2.ui              \
+       merge-3.ui              \
+       gnome-textfile.png      \
+       makefile.msc            \
+       file-chooser-test-dir/empty \
+       file-chooser-test-dir/text.txt
 
-testtreecolumns_LDADD = $(LDADDS)
 
-testtreecolumns_SOURCES = testtreecolumns.c
+-include $(top_srcdir)/git.mk