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

3
SUBDIRS =
4

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

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

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

23
noinst_PROGRAMS = $(TEST_PROGS)
24 25


26 27 28 29 30 31 32 33 34 35 36 37
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)

38 39 40 41
TEST_PROGS			+= treeview
treeview_SOURCES		 = treeview.c
treeview_LDADD			 = $(progs_ldadd)

Tadej Borovšak's avatar
Tadej Borovšak committed
42
TEST_PROGS			+= treeview-scrolling
43 44 45 46 47 48 49 50 51 52 53
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)

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

Matthias Clasen's avatar
Matthias Clasen committed
58 59 60 61
# 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
62 63
#crossingevents_SOURCES		 = crossingevents.c
#crossingevents_LDADD		 = $(progs_ldadd)
64

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

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

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

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

85 86 87 88
TEST_PROGS			+= textiter
textiter_SOURCES		 = textiter.c
textiter_LDADD			 = $(progs_ldadd)

89 90 91 92
TEST_PROGS			+= filtermodel
filtermodel_SOURCES		 = filtermodel.c
filtermodel_LDADD		 = $(progs_ldadd)

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

97 98 99 100
TEST_PROGS			+= action
action_SOURCES			 = action.c
action_LDADD			 = $(progs_ldadd)

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

106 107 108
TEST_PROGS			+= papersize
papersize_SOURCES		 = papersize.c
papersize_LDADD			 = $(progs_ldadd)
109

110 111 112 113
TEST_PROGS			+= cellarea
cellarea_SOURCES		 = cellarea.c
cellarea_LDADD			 = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
114 115 116 117
TEST_PROGS			+= treepath
treepath_SOURCES		 = treepath.c
treepath_LDADD			 = $(progs_ldadd)

118 119 120 121
TEST_PROGS			+= accessible
accessible_SOURCES		 = accessible.c
accessible_LDADD		 = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
122 123 124 125
TEST_PROGS			+= entry
entry_SOURCES			 = entry.c
entry_LDADD			 = $(progs_ldadd)

Matthias Clasen's avatar
Matthias Clasen committed
126
EXTRA_DIST +=				\
127 128 129
	file-chooser-test-dir/empty     \
	file-chooser-test-dir/text.txt

130
-include $(top_srcdir)/git.mk