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

« back to all changes in this revision

Viewing changes to hw/xfree86/Makefile.in

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:
15
15
 
16
16
@SET_MAKE@
17
17
 
18
 
#                                                       -*- Makefile -*-
19
 
# Rules for generating files using the C pre-processor
20
 
# (Replaces CppFileTarget from Imake)
21
 
 
22
18
 
23
19
VPATH = @srcdir@
24
20
pkgdatadir = $(datadir)/@PACKAGE@
39
35
POST_UNINSTALL = :
40
36
build_triplet = @build@
41
37
host_triplet = @host@
42
 
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
43
 
        $(top_srcdir)/cpprules.in
44
38
bin_PROGRAMS = Xorg$(EXEEXT)
45
39
 
46
40
# Re-add dtrace object code that gets lost when building static libraries
50
44
# so in*/out* inline definitions are properly processed.
51
45
@SOLARIS_ASM_INLINE_TRUE@am__append_2 = os-support/solaris/solaris-@SOLARIS_INOUT_ARCH@.il
52
46
subdir = hw/xfree86
 
47
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
53
48
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
54
49
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
55
 
        $(top_srcdir)/m4/dolt.m4 $(top_srcdir)/configure.ac
 
50
        $(top_srcdir)/m4/ax_tls.m4 $(top_srcdir)/configure.ac
56
51
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
57
52
        $(ACLOCAL_M4)
58
53
mkinstalldirs = $(install_sh) -d
88
83
am__mv = mv -f
89
84
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
90
85
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
 
86
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
 
87
        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
 
88
        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
 
89
        $(AM_CFLAGS) $(CFLAGS)
91
90
AM_V_CC = $(am__v_CC_$(V))
92
91
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
93
92
am__v_CC_0 = @echo "  CC    " $@;
201
200
DMXXIEXAMPLES_DEP_LIBS = @DMXXIEXAMPLES_DEP_LIBS@
202
201
DMXXMUEXAMPLES_DEP_CFLAGS = @DMXXMUEXAMPLES_DEP_CFLAGS@
203
202
DMXXMUEXAMPLES_DEP_LIBS = @DMXXMUEXAMPLES_DEP_LIBS@
204
 
DOLT_BASH = @DOLT_BASH@
205
203
DOXYGEN = @DOXYGEN@
206
204
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@
207
205
DRI2PROTO_LIBS = @DRI2PROTO_LIBS@
235
233
GLIB_LIBS = @GLIB_LIBS@
236
234
GLX_ARCH_DEFINES = @GLX_ARCH_DEFINES@
237
235
GLX_DEFINES = @GLX_DEFINES@
 
236
GLX_TLS = @GLX_TLS@
238
237
GL_CFLAGS = @GL_CFLAGS@
239
238
GL_LIBS = @GL_LIBS@
240
239
GREP = @GREP@
270
269
LIB_MAN_SUFFIX = @LIB_MAN_SUFFIX@
271
270
LIPO = @LIPO@
272
271
LN_S = @LN_S@
273
 
LTCOMPILE = @LTCOMPILE@
274
 
LTCXXCOMPILE = @LTCXXCOMPILE@
275
272
LTLIBOBJS = @LTLIBOBJS@
276
273
MAINT = @MAINT@
277
274
MAIN_LIB = @MAIN_LIB@
466
463
top_build_prefix = @top_build_prefix@
467
464
top_builddir = @top_builddir@
468
465
top_srcdir = @top_srcdir@
469
 
SUFFIXES = .pre .man .man.pre
470
 
 
471
 
# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM
472
 
# to cpp, because that trick does not work on all ANSI C preprocessors.
473
 
# Delete line numbers from the cpp output (-P is not portable, I guess).
474
 
# Allow XCOMM to be preceded by whitespace and provide a means of generating
475
 
# output lines with trailing backslashes.
476
 
# Allow XHASH to always be substituted, even in cases where XCOMM isn't.
477
 
CPP_SED_MAGIC = $(SED) -e '/^\#  *[0-9][0-9]*  *.*$$/d' \
478
 
                       -e '/^\#line  *[0-9][0-9]*  *.*$$/d' \
479
 
                       -e '/^[         ]*XCOMM$$/s/XCOMM/\#/' \
480
 
                       -e '/^[         ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \
481
 
                       -e '/^[         ]*XHASH/s/XHASH/\#/' \
482
 
                       -e '/\@\@$$/s/\@\@$$/\\/'
483
 
 
484
 
 
485
 
# Strings to replace in man pages
486
 
XORGRELSTRING = @PACKAGE_STRING@
487
 
XORGMANNAME = X Version 11
488
 
XSERVERNAME = Xorg
489
 
MANDEFS = \
490
 
        -D__vendorversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\"" \
491
 
        -D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\"" \
492
 
        -D__appmansuffix__=$(APP_MAN_SUFFIX) \
493
 
        -D__filemansuffix__=$(FILE_MAN_SUFFIX) \
494
 
        -D__libmansuffix__=$(LIB_MAN_SUFFIX) \
495
 
        -D__miscmansuffix__=$(MISC_MAN_SUFFIX) \
496
 
        -D__drivermansuffix__=$(DRIVER_MAN_SUFFIX) \
497
 
        -D__adminmansuffix__=$(ADMIN_MAN_SUFFIX) \
498
 
        -D__mandir__=$(mandir) \
499
 
        -D__projectroot__=$(prefix) \
500
 
        -D__sysconfdir__=$(sysconfdir) \
501
 
        -D__datadir__=$(datadir) \
502
 
        -D__xconfigfile__=$(__XCONFIGFILE__) \
503
 
        -D__xconfigdir__=$(__XCONFIGDIR__) \
504
 
        -D__xkbdir__=$(XKB_BASE_DIRECTORY) \
505
 
        -D__modulepath__="$(DEFAULT_MODULE_PATH)" \
506
 
        -D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME) 
507
 
 
508
466
@DRI_TRUE@DRI_SUBDIR = dri
509
467
@DRI2_TRUE@DRI2_SUBDIR = dri2
510
468
@XF86UTILS_TRUE@XF86UTILS_SUBDIR = utils
515
473
DOC_SUBDIR = doc
516
474
SUBDIRS = common ddc i2c x86emu $(INT10_SUBDIR) fbdevhw os-support parser \
517
475
          ramdac shadowfb $(VBE_SUBDIR) $(VGAHW_SUBDIR) $(XAA_SUBDIR) \
518
 
          xf8_16bpp loader dixmods exa modes \
 
476
          loader dixmods exa modes \
519
477
          $(DRI_SUBDIR) $(DRI2_SUBDIR) $(XF86UTILS_SUBDIR) $(DOC_SUBDIR)
520
478
 
521
479
DIST_SUBDIRS = common ddc i2c x86emu int10 fbdevhw os-support \
522
480
               parser ramdac shadowfb vbe vgahw xaa \
523
 
               xf8_16bpp loader dixmods dri dri2 exa modes \
 
481
               loader dixmods dri dri2 exa modes \
524
482
               utils doc
525
483
 
526
484
Xorg_SOURCES = xorg.c
545
503
            @XORG_LIBS@
546
504
 
547
505
libxorg_la_DEPENDENCIES = $(libxorg_la_LIBADD)
548
 
DISTCLEANFILES = libxorg.c xorg.c xorg.conf.example \
549
 
        xorg.conf.example.pre
 
506
DISTCLEANFILES = libxorg.c xorg.c xorg.conf.example
550
507
Xorg_DEPENDENCIES = libxorg.la
551
508
Xorg_LDADD = $(MAIN_LIB) libxorg.la $(XORG_SYS_LIBS) \
552
509
        $(XSERVER_SYS_LIBS) $(am__append_1)
553
510
Xorg_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
554
511
BUILT_SOURCES = xorg.conf.example $(am__append_2)
555
512
EXTRA_DIST = xorgconf.cpp
556
 
CPP_FILES_FLAGS = \
557
 
        $(MANDEFS) \
558
 
        -DDEFAULTFONTPATH="\"$(COMPILEDDEFAULTFONTPATH)\"" \
559
 
        -DMODULEPATH=\"$(DEFAULT_MODULE_PATH)\"
 
513
 
 
514
# Use variables from XORG_MANPAGE_SECTIONS and X Server configuration
 
515
# Do not include manpages.am as values are not appropriate for rc files
 
516
CONF_SUBSTS = -e 's|__filemansuffix__|$(FILE_MAN_SUFFIX)|g' \
 
517
                -e 's|MODULEPATH|$(DEFAULT_MODULE_PATH)|g' \
 
518
                -e 's|DEFAULTFONTPATH|$(COMPILEDDEFAULTFONTPATH)|g'
560
519
 
561
520
all: $(BUILT_SOURCES)
562
521
        $(MAKE) $(AM_MAKEFLAGS) all-recursive
563
522
 
564
523
.SUFFIXES:
565
 
.SUFFIXES: .pre .man .man.pre .c .lo .o .obj
566
 
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/cpprules.in $(am__configure_deps)
 
524
.SUFFIXES: .c .lo .o .obj
 
525
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
567
526
        @for dep in $?; do \
568
527
          case '$(am__configure_deps)' in \
569
528
            *$$dep*) \
1013
972
        uninstall-binPROGRAMS
1014
973
 
1015
974
 
1016
 
.pre:
1017
 
        $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
1018
 
 
1019
 
.man.pre.man:
1020
 
        $(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(MANDEFS) $(EXTRAMANDEFS) < $< | $(CPP_SED_MAGIC) > $@
1021
 
 
1022
975
libxorg.c xorg.c:
1023
976
        touch $@
1024
977
 
1035
988
@INSTALL_SETUID_TRUE@   chown root $(DESTDIR)$(bindir)/Xorg
1036
989
@INSTALL_SETUID_TRUE@   chmod u+s $(DESTDIR)$(bindir)/Xorg
1037
990
 
 
991
xorg.conf.example: xorgconf.cpp
 
992
        $(AM_V_GEN)$(SED) $(CONF_SUBSTS) < $< > $@
 
993
 
1038
994
relink:
1039
995
        $(AM_V_at)rm -f Xorg && $(MAKE) Xorg
1040
996
 
1041
 
xorg.conf.example.pre: xorgconf.cpp
1042
 
        cp $(srcdir)/xorgconf.cpp $@
1043
 
 
1044
997
# Tell versions [3.59,3.63) of GNU make to not export all variables.
1045
998
# Otherwise a system limit (for SysV at least) may be exceeded.
1046
999
.NOEXPORT: