Makefile.am 2.82 KB
Newer Older
1 2
include $(top_srcdir)/Makefile.decl

3 4 5 6 7 8
INCLUDES = \
	-I$(top_srcdir)			\
	-I$(top_builddir)/gdk		\
	-I$(top_srcdir)/gdk		\
	-DGDK_DISABLE_DEPRECATED	\
	-DGTK_DISABLE_DEPRECATED	\
9
	-DSRCDIR=\""$(abs_srcdir)"\"	\
10 11 12 13
	$(GTK_DEBUG_FLAGS)		\
	$(GTK_DEP_CFLAGS)

DEPS = \
Matthias Clasen's avatar
Matthias Clasen committed
14
	$(top_builddir)/gtk/libgtk-3.la
15 16

progs_ldadd = \
Matthias Clasen's avatar
Matthias Clasen committed
17 18
	$(top_builddir)/gtk/libgtk-3.la	\
	$(top_builddir)/gdk/libgdk-3.la	\
Benjamin Otte's avatar
Benjamin Otte committed
19
	$(GTK_DEP_LIBS)
20

21
noinst_PROGRAMS = $(TEST_PROGS)
22 23


24 25 26 27 28 29 30 31 32 33 34 35
TEST_PROGS			+= testing
testing_SOURCES			 = testing.c
testing_LDADD			 = $(progs_ldadd)

TEST_PROGS			+= liststore
liststore_SOURCES		 = liststore.c
liststore_LDADD			 = $(progs_ldadd)

TEST_PROGS			+= treestore
treestore_SOURCES		 = treestore.c
treestore_LDADD			 = $(progs_ldadd)

36 37 38 39
TEST_PROGS			+= treeview
treeview_SOURCES		 = treeview.c
treeview_LDADD			 = $(progs_ldadd)

Tadej Borovšak's avatar
Tadej Borovšak committed
40
TEST_PROGS			+= treeview-scrolling
41 42 43 44 45 46 47 48 49 50 51
treeview_scrolling_SOURCES	 = treeview-scrolling.c
treeview_scrolling_LDADD	 = $(progs_ldadd)

TEST_PROGS			+= recentmanager
recentmanager_SOURCES 		 = recentmanager.c
recentmanager_LDADD   		 = $(progs_ldadd)

TEST_PROGS			+= floating
floating_SOURCES		 = floating.c
floating_LDADD			 = $(progs_ldadd)

52
#TEST_PROGS			+= object
Matthias Clasen's avatar
Matthias Clasen committed
53 54
#object_SOURCES			 = object.c pixbuf-init.c
#object_LDADD			 = $(progs_ldadd)
55

Matthias Clasen's avatar
Matthias Clasen committed
56 57 58 59
# this doesn't work in make distcheck, since running
# on a naked X server creates slightly different event
# sequences than running on a normal desktop
# TEST_PROGS			+= crossingevents
Kristian Høgsberg's avatar
Kristian Høgsberg committed
60 61
#crossingevents_SOURCES		 = crossingevents.c
#crossingevents_LDADD		 = $(progs_ldadd)
62

63 64 65 66
# Should be ported to new API's
#TEST_PROGS			+= filechooser
#filechooser_SOURCES		 = filechooser.c pixbuf-init.c
#filechooser_LDADD		 = $(progs_ldadd)
67

68 69 70 71
TEST_PROGS			+= builder
builder_SOURCES			 = builder.c
builder_LDADD			 = $(progs_ldadd)
builder_LDFLAGS			 = -export-dynamic
72

73
if OS_UNIX
74
#TEST_PROGS			+= defaultvalue
Kristian Høgsberg's avatar
Kristian Høgsberg committed
75 76
#defaultvalue_SOURCES		 = defaultvalue.c pixbuf-init.c
#defaultvalue_LDADD 		 = $(progs_ldadd)
77
endif
78

79 80 81
TEST_PROGS			+= textbuffer
textbuffer_SOURCES		 = textbuffer.c pixbuf-init.c
textbuffer_LDADD		 = $(progs_ldadd)
82

83 84 85 86
TEST_PROGS			+= textiter
textiter_SOURCES		 = textiter.c
textiter_LDADD			 = $(progs_ldadd)

87 88 89 90
TEST_PROGS			+= filtermodel
filtermodel_SOURCES		 = filtermodel.c
filtermodel_LDADD		 = $(progs_ldadd)

Paolo Borelli's avatar
Paolo Borelli committed
91 92
TEST_PROGS			+= expander
expander_SOURCES		 = expander.c
93
expander_LDADD			 = $(progs_ldadd)
Paolo Borelli's avatar
Paolo Borelli committed
94

95 96 97 98
TEST_PROGS			+= action
action_SOURCES			 = action.c
action_LDADD			 = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
99 100 101
TEST_PROGS			+= stylecontext
stylecontext_SOURCES		 = stylecontext.c
stylecontext_LDADD		 = $(progs_ldadd)
102
EXTRA_DIST			+= test.css test.png
Matthias Clasen's avatar
Matthias Clasen committed
103

104 105 106
TEST_PROGS			+= papersize
papersize_SOURCES		 = papersize.c
papersize_LDADD			 = $(progs_ldadd)
107

108 109 110 111
TEST_PROGS			+= cellarea
cellarea_SOURCES		 = cellarea.c
cellarea_LDADD			 = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
112
EXTRA_DIST +=				\
113 114 115
	file-chooser-test-dir/empty     \
	file-chooser-test-dir/text.txt

116
-include $(top_srcdir)/git.mk