~darkxst/ubuntu/raring/xorg-server/lp1073724

« back to all changes in this revision

Viewing changes to test/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Cyril Brulebois
  • Date: 2011-12-20 11:39:51 UTC
  • mto: (0.10.23) (1.1.48)
  • mto: This revision was merged to the branch mainline in revision 244.
  • Revision ID: package-import@ubuntu.com-20111220113951-cx9svdcnqpcta5wk
Tags: upstream-1.11.99.2
ImportĀ upstreamĀ versionĀ 1.11.99.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
if ENABLE_UNIT_TESTS
2
 
if HAVE_LD_WRAP
3
 
SUBDIRS= . xi2
4
 
noinst_PROGRAMS = xkb input xtest list misc fixes xfree86
 
2
SUBDIRS= .
 
3
noinst_PROGRAMS = list string
 
4
if XORG
 
5
# Tests that require at least some DDX functions in order to fully link
 
6
# For now, requires xf86 ddx, could be adjusted to use another
 
7
SUBDIRS += xi2
 
8
noinst_PROGRAMS += xkb input xtest misc fixes xfree86
 
9
endif
5
10
check_LTLIBRARIES = libxservertest.la
6
11
 
7
12
TESTS=$(noinst_PROGRAMS)
 
13
TESTS_ENVIRONMENT = $(XORG_MALLOC_DEBUG_ENV)
8
14
 
9
15
AM_CFLAGS = $(DIX_CFLAGS) @XORG_CFLAGS@
10
 
INCLUDES = $(XORG_INCS) -I$(top_srcdir)/hw/xfree86/parser \
11
 
        -I$(top_srcdir)/miext/cw -I$(top_srcdir)/hw/xfree86/ddc \
 
16
INCLUDES = $(XORG_INCS) -I$(top_srcdir)/miext/cw
 
17
if XORG
 
18
INCLUDES += -I$(top_srcdir)/hw/xfree86/parser \
 
19
        -I$(top_srcdir)/hw/xfree86/ddc \
12
20
        -I$(top_srcdir)/hw/xfree86/i2c -I$(top_srcdir)/hw/xfree86/modes \
13
21
        -I$(top_srcdir)/hw/xfree86/ramdac
 
22
endif
14
23
TEST_LDADD=libxservertest.la $(XORG_SYS_LIBS) $(XSERVER_SYS_LIBS)
15
24
 
 
25
if XORG
16
26
if SPECIAL_DTRACE_OBJECTS
17
27
TEST_LDADD += $(OS_LIB) $(DIX_LIB)
18
28
endif
 
29
endif
19
30
 
20
31
xkb_LDADD=$(TEST_LDADD)
21
32
input_LDADD=$(TEST_LDADD)
25
36
fixes_LDADD=$(TEST_LDADD)
26
37
xfree86_LDADD=$(TEST_LDADD)
27
38
 
 
39
libxservertest_la_LIBADD = $(XSERVER_LIBS)
 
40
if XORG
28
41
nodist_libxservertest_la_SOURCES = $(top_builddir)/hw/xfree86/sdksyms.c
29
 
libxservertest_la_LIBADD = \
30
 
            $(XSERVER_LIBS) \
 
42
libxservertest_la_LIBADD += \
31
43
            $(top_builddir)/hw/xfree86/loader/libloader.la \
32
44
            $(top_builddir)/hw/xfree86/os-support/libxorgos.la \
33
45
            $(top_builddir)/hw/xfree86/common/libcommon.la \
37
49
            $(top_builddir)/hw/xfree86/ramdac/libramdac.la \
38
50
            $(top_builddir)/hw/xfree86/ddc/libddc.la \
39
51
            $(top_builddir)/hw/xfree86/i2c/libi2c.la \
40
 
            $(top_builddir)/hw/xfree86/dixmods/libxorgxkb.la \
 
52
            $(top_builddir)/hw/xfree86/dixmods/libxorgxkb.la
 
53
endif
 
54
libxservertest_la_LIBADD += \
41
55
            $(top_builddir)/mi/libmi.la \
42
56
            $(top_builddir)/os/libos.la \
43
57
            @XORG_LIBS@
44
58
libxservertest_la_DEPENDENCIES = $(libxservertest_la_LIBADD)
45
59
endif
46
 
endif