~ubuntu-branches/ubuntu/precise/xorg-server/precise-updates

« back to all changes in this revision

Viewing changes to hw/xfree86/Makefile.am

Tags: 2:1.10.1-2
* Build xserver-xorg-core-udeb on hurd-i386.  Thanks, Samuel Thibault!
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include $(top_srcdir)/cpprules.in
2
1
 
3
2
if DRI
4
3
DRI_SUBDIR = dri
32
31
 
33
32
SUBDIRS = common ddc i2c x86emu $(INT10_SUBDIR) fbdevhw os-support parser \
34
33
          ramdac shadowfb $(VBE_SUBDIR) $(VGAHW_SUBDIR) $(XAA_SUBDIR) \
35
 
          xf8_16bpp loader dixmods exa modes \
 
34
          loader dixmods exa modes \
36
35
          $(DRI_SUBDIR) $(DRI2_SUBDIR) $(XF86UTILS_SUBDIR) $(DOC_SUBDIR)
37
36
 
38
37
DIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw os-support \
39
38
               parser ramdac shadowfb vbe vgahw xaa \
40
 
               xf8_16bpp loader dixmods dri dri2 exa modes \
 
39
               loader dixmods dri dri2 exa modes \
41
40
               utils doc
42
41
 
43
42
bin_PROGRAMS = Xorg
77
76
Xorg_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
78
77
 
79
78
BUILT_SOURCES = xorg.conf.example
80
 
DISTCLEANFILES += xorg.conf.example xorg.conf.example.pre
 
79
DISTCLEANFILES += xorg.conf.example
81
80
EXTRA_DIST = xorgconf.cpp
82
81
 
83
82
if SPECIAL_DTRACE_OBJECTS
108
107
        chmod u+s $(DESTDIR)$(bindir)/Xorg
109
108
endif
110
109
 
111
 
CPP_FILES_FLAGS = \
112
 
        $(MANDEFS) \
113
 
        -DDEFAULTFONTPATH="\"$(COMPILEDDEFAULTFONTPATH)\"" \
114
 
        -DMODULEPATH=\"$(DEFAULT_MODULE_PATH)\"
 
110
# Use variables from XORG_MANPAGE_SECTIONS and X Server configuration
 
111
# Do not include manpages.am as values are not appropriate for rc files
 
112
CONF_SUBSTS =   -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' \
 
113
                -e 's|MODULEPATH|$(DEFAULT_MODULE_PATH)|g' \
 
114
                -e 's|DEFAULTFONTPATH|$(COMPILEDDEFAULTFONTPATH)|g'
 
115
 
 
116
xorg.conf.example: xorgconf.cpp
 
117
        $(AM_V_GEN)$(SED) $(CONF_SUBSTS) < $< > $@
115
118
 
116
119
relink:
117
120
        $(AM_V_at)rm -f Xorg && $(MAKE) Xorg
118
 
 
119
 
xorg.conf.example.pre: xorgconf.cpp
120
 
        cp $(srcdir)/xorgconf.cpp $@