Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4358 | Serge | 1 | SUBDIRS = hash_table |
2 | |||
3 | AM_CFLAGS = \ |
||
4 | $(X11_CFLAGS) \ |
||
5 | $(PTHREAD_CFLAGS) |
||
6 | AM_CPPFLAGS = \ |
||
7 | -I$(top_srcdir)/src/gtest/include \ |
||
8 | -I$(top_srcdir)/src/mapi \ |
||
9 | -I$(top_srcdir)/src/mesa \ |
||
10 | -I$(top_srcdir)/include \ |
||
11 | $(DEFINES) $(INCLUDE_DIRS) |
||
12 | |||
13 | TESTS = main-test |
||
14 | check_PROGRAMS = main-test |
||
15 | |||
16 | main_test_SOURCES = \ |
||
17 | enum_strings.cpp |
||
18 | |||
19 | main_test_LDADD = \ |
||
20 | $(top_builddir)/src/mesa/libmesa.la \ |
||
21 | $(top_builddir)/src/gtest/libgtest.la \ |
||
22 | $(PTHREAD_LIBS) \ |
||
23 | $(DLOPEN_LIBS) |
||
24 | |||
25 | if HAVE_SHARED_GLAPI |
||
26 | AM_CPPFLAGS += -DHAVE_SHARED_GLAPI |
||
27 | |||
28 | main_test_SOURCES += \ |
||
29 | dispatch_sanity.cpp |
||
30 | |||
31 | main_test_LDADD += \ |
||
32 | $(top_builddir)/src/mapi/shared-glapi/libglapi.la |
||
33 | else |
||
34 | main_test_SOURCES += \ |
||
35 | stubs.cpp |
||
36 | endif |