41
36
build_triplet = @build@
42
37
host_triplet = @host@
38
subdir = hw/xfree86/fbdevhw
43
39
DIST_COMMON = README $(sdk_HEADERS) $(srcdir)/Makefile.am \
44
$(srcdir)/Makefile.in $(top_srcdir)/cpprules.in
45
subdir = hw/xfree86/fbdevhw
46
41
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
47
42
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_define_dir.m4 \
48
$(top_srcdir)/m4/dolt.m4 $(top_srcdir)/configure.ac
43
$(top_srcdir)/m4/ax_tls.m4 $(top_srcdir)/configure.ac
49
44
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
51
46
mkinstalldirs = $(install_sh) -d
118
116
am__v_GEN_0 = @echo " GEN " $@;
119
117
SOURCES = $(libfbdevhw_la_SOURCES)
120
118
DIST_SOURCES = $(am__libfbdevhw_la_SOURCES_DIST)
121
DATA = $(driverman_DATA)
119
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
120
html-recursive info-recursive install-data-recursive \
121
install-dvi-recursive install-exec-recursive \
122
install-html-recursive install-info-recursive \
123
install-pdf-recursive install-ps-recursive install-recursive \
124
installcheck-recursive installdirs-recursive pdf-recursive \
125
ps-recursive uninstall-recursive
122
126
HEADERS = $(sdk_HEADERS)
127
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
128
distclean-recursive maintainer-clean-recursive
129
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
130
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
134
DIST_SUBDIRS = $(SUBDIRS)
125
135
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
138
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
139
sed_rest='s,^[^/]*/*,,'; \
140
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
141
sed_butlast='s,/*[^/]*$$,,'; \
142
while test -n "$$dir1"; do \
143
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
144
if test "$$first" != "."; then \
145
if test "$$first" = ".."; then \
146
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
147
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
149
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
150
if test "$$first2" = "$$first"; then \
151
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
155
dir0="$$dir0"/"$$first"; \
158
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
126
161
ACLOCAL = @ACLOCAL@
127
162
ADMIN_MAN_DIR = @ADMIN_MAN_DIR@
128
163
ADMIN_MAN_SUFFIX = @ADMIN_MAN_SUFFIX@
450
484
INCLUDES = $(XORG_INCS) -I$(srcdir)/../i2c
451
485
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)
452
486
sdk_HEADERS = fbdevhw.h
453
SUFFIXES = .pre .man .man.pre
455
# Translate XCOMM into pound sign with sed, rather than passing -DXCOMM=XCOMM
456
# to cpp, because that trick does not work on all ANSI C preprocessors.
457
# Delete line numbers from the cpp output (-P is not portable, I guess).
458
# Allow XCOMM to be preceded by whitespace and provide a means of generating
459
# output lines with trailing backslashes.
460
# Allow XHASH to always be substituted, even in cases where XCOMM isn't.
461
CPP_SED_MAGIC = $(SED) -e '/^\# *[0-9][0-9]* *.*$$/d' \
462
-e '/^\#line *[0-9][0-9]* *.*$$/d' \
463
-e '/^[ ]*XCOMM$$/s/XCOMM/\#/' \
464
-e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/\#/' \
465
-e '/^[ ]*XHASH/s/XHASH/\#/' \
466
-e '/\@\@$$/s/\@\@$$/\\/'
469
# Strings to replace in man pages
470
XORGRELSTRING = @PACKAGE_STRING@
471
XORGMANNAME = X Version 11
474
-D__vendorversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\"" \
475
-D__xorgversion__="\"$(XORGRELSTRING)\" \"$(XORGMANNAME)\"" \
476
-D__appmansuffix__=$(APP_MAN_SUFFIX) \
477
-D__filemansuffix__=$(FILE_MAN_SUFFIX) \
478
-D__libmansuffix__=$(LIB_MAN_SUFFIX) \
479
-D__miscmansuffix__=$(MISC_MAN_SUFFIX) \
480
-D__drivermansuffix__=$(DRIVER_MAN_SUFFIX) \
481
-D__adminmansuffix__=$(ADMIN_MAN_SUFFIX) \
482
-D__mandir__=$(mandir) \
483
-D__projectroot__=$(prefix) \
484
-D__sysconfdir__=$(sysconfdir) \
485
-D__datadir__=$(datadir) \
486
-D__xconfigfile__=$(__XCONFIGFILE__) \
487
-D__xconfigdir__=$(__XCONFIGDIR__) \
488
-D__xkbdir__=$(XKB_BASE_DIRECTORY) \
489
-D__modulepath__="$(DEFAULT_MODULE_PATH)" \
490
-D__xlogfile__=$(XLOGFILE) -D__xservername__=$(XSERVERNAME)
492
drivermandir = $(DRIVER_MAN_DIR)
493
driverman_DATA = fbdevhw.$(DRIVER_MAN_SUFFIX)
494
CLEANFILES = $(driverman_DATA) fbdevhw.man
495
EXTRA_DIST = fbpriv.h fbdevhw.man.pre README
487
EXTRA_DIST = fbpriv.h README
499
.SUFFIXES: .pre .man .man.pre .c .lo .o .obj
500
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/cpprules.in $(am__configure_deps)
491
.SUFFIXES: .c .lo .o .obj
492
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
501
493
@for dep in $?; do \
502
494
case '$(am__configure_deps)' in \
601
593
-rm -rf .libs _libs
602
install-drivermanDATA: $(driverman_DATA)
604
test -z "$(drivermandir)" || $(MKDIR_P) "$(DESTDIR)$(drivermandir)"
605
@list='$(driverman_DATA)'; test -n "$(drivermandir)" || list=; \
606
for p in $$list; do \
607
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
609
done | $(am__base_list) | \
610
while read files; do \
611
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(drivermandir)'"; \
612
$(INSTALL_DATA) $$files "$(DESTDIR)$(drivermandir)" || exit $$?; \
615
uninstall-drivermanDATA:
617
@list='$(driverman_DATA)'; test -n "$(drivermandir)" || list=; \
618
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
619
test -n "$$files" || exit 0; \
620
echo " ( cd '$(DESTDIR)$(drivermandir)' && rm -f" $$files ")"; \
621
cd "$(DESTDIR)$(drivermandir)" && rm -f $$files
622
594
install-sdkHEADERS: $(sdk_HEADERS)
623
595
@$(NORMAL_INSTALL)
624
596
test -z "$(sdkdir)" || $(MKDIR_P) "$(DESTDIR)$(sdkdir)"
640
612
echo " ( cd '$(DESTDIR)$(sdkdir)' && rm -f" $$files ")"; \
641
613
cd "$(DESTDIR)$(sdkdir)" && rm -f $$files
615
# This directory's subdirectories are mostly independent; you can cd
616
# into them and run `make' without going through this Makefile.
617
# To change the values of `make' variables: instead of editing Makefiles,
618
# (1) if the variable is set in `config.status', edit `config.status'
619
# (which will cause the Makefiles to be regenerated when you run `make');
620
# (2) otherwise, pass the desired values on the `make' command line.
621
$(RECURSIVE_TARGETS):
622
@fail= failcom='exit 1'; \
623
for f in x $$MAKEFLAGS; do \
626
*k*) failcom='fail=yes';; \
630
target=`echo $@ | sed s/-recursive//`; \
631
list='$(SUBDIRS)'; for subdir in $$list; do \
632
echo "Making $$target in $$subdir"; \
633
if test "$$subdir" = "."; then \
635
local_target="$$target-am"; \
637
local_target="$$target"; \
639
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
642
if test "$$dot_seen" = "no"; then \
643
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
646
$(RECURSIVE_CLEAN_TARGETS):
647
@fail= failcom='exit 1'; \
648
for f in x $$MAKEFLAGS; do \
651
*k*) failcom='fail=yes';; \
656
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
657
*) list='$(SUBDIRS)' ;; \
659
rev=''; for subdir in $$list; do \
660
if test "$$subdir" = "."; then :; else \
661
rev="$$subdir $$rev"; \
665
target=`echo $@ | sed s/-recursive//`; \
666
for subdir in $$rev; do \
667
echo "Making $$target in $$subdir"; \
668
if test "$$subdir" = "."; then \
669
local_target="$$target-am"; \
671
local_target="$$target"; \
673
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
675
done && test -z "$$fail"
677
list='$(SUBDIRS)'; for subdir in $$list; do \
678
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
681
list='$(SUBDIRS)'; for subdir in $$list; do \
682
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
643
685
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
644
686
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
645
687
unique=`for i in $$list; do \
650
692
mkid -fID $$unique
653
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
695
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
654
696
$(TAGS_FILES) $(LISP)
699
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
700
include_option=--etags-include; \
703
include_option=--include; \
706
list='$(SUBDIRS)'; for subdir in $$list; do \
707
if test "$$subdir" = .; then :; else \
708
test ! -f $$subdir/TAGS || \
709
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
657
712
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
658
713
unique=`for i in $$list; do \
659
714
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
780
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
781
if test "$$subdir" = .; then :; else \
782
test -d "$(distdir)/$$subdir" \
783
|| $(MKDIR_P) "$(distdir)/$$subdir" \
787
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
788
if test "$$subdir" = .; then :; else \
789
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
791
new_distdir=$$reldir; \
792
dir1=$$subdir; dir2="$(top_distdir)"; \
794
new_top_distdir=$$reldir; \
795
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
796
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
797
($(am__cd) $$subdir && \
798
$(MAKE) $(AM_MAKEFLAGS) \
799
top_distdir="$$new_top_distdir" \
800
distdir="$$new_distdir" \
801
am__remove_distdir=: \
802
am__skip_length_check=: \
803
am__skip_mode_fix=: \
727
all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS)
729
for dir in "$(DESTDIR)$(moduledir)" "$(DESTDIR)$(drivermandir)" "$(DESTDIR)$(sdkdir)"; do \
809
check: check-recursive
810
all-am: Makefile $(LTLIBRARIES) $(HEADERS)
811
installdirs: installdirs-recursive
813
for dir in "$(DESTDIR)$(moduledir)" "$(DESTDIR)$(sdkdir)"; do \
730
814
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
733
install-exec: install-exec-am
734
install-data: install-data-am
735
uninstall: uninstall-am
816
install: install-recursive
817
install-exec: install-exec-recursive
818
install-data: install-data-recursive
819
uninstall: uninstall-recursive
737
821
install-am: all-am
738
822
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
740
installcheck: installcheck-am
824
installcheck: installcheck-recursive
742
826
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
743
827
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
755
838
maintainer-clean-generic:
756
839
@echo "This command is intended for maintainers to use"
757
840
@echo "it deletes files that may require special tools to rebuild."
841
clean: clean-recursive
760
843
clean-am: clean-generic clean-libtool clean-moduleLTLIBRARIES \
763
distclean: distclean-am
846
distclean: distclean-recursive
764
847
-rm -rf ./$(DEPDIR)
766
849
distclean-am: clean-am distclean-compile distclean-generic \
781
install-data-am: install-drivermanDATA install-moduleLTLIBRARIES \
864
install-data-am: install-moduleLTLIBRARIES install-sdkHEADERS
784
install-dvi: install-dvi-am
866
install-dvi: install-dvi-recursive
790
install-html: install-html-am
872
install-html: install-html-recursive
794
install-info: install-info-am
876
install-info: install-info-recursive
800
install-pdf: install-pdf-am
882
install-pdf: install-pdf-recursive
804
install-ps: install-ps-am
886
install-ps: install-ps-recursive
810
maintainer-clean: maintainer-clean-am
892
maintainer-clean: maintainer-clean-recursive
811
893
-rm -rf ./$(DEPDIR)
813
895
maintainer-clean-am: distclean-am maintainer-clean-generic
815
mostlyclean: mostlyclean-am
897
mostlyclean: mostlyclean-recursive
817
899
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
818
900
mostlyclean-libtool
828
uninstall-am: uninstall-drivermanDATA uninstall-moduleLTLIBRARIES \
831
.MAKE: install-am install-strip
833
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
834
clean-libtool clean-moduleLTLIBRARIES ctags distclean \
910
uninstall-am: uninstall-moduleLTLIBRARIES uninstall-sdkHEADERS
912
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
913
install-am install-strip tags-recursive
915
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
916
all all-am check check-am clean clean-generic clean-libtool \
917
clean-moduleLTLIBRARIES ctags ctags-recursive distclean \
835
918
distclean-compile distclean-generic distclean-libtool \
836
919
distclean-tags distdir dvi dvi-am html html-am info info-am \
837
install install-am install-data install-data-am \
838
install-drivermanDATA install-dvi install-dvi-am install-exec \
839
install-exec-am install-html install-html-am install-info \
840
install-info-am install-man install-moduleLTLIBRARIES \
841
install-pdf install-pdf-am install-ps install-ps-am \
842
install-sdkHEADERS install-strip installcheck installcheck-am \
843
installdirs maintainer-clean maintainer-clean-generic \
844
mostlyclean mostlyclean-compile mostlyclean-generic \
845
mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
846
uninstall-am uninstall-drivermanDATA \
920
install install-am install-data install-data-am install-dvi \
921
install-dvi-am install-exec install-exec-am install-html \
922
install-html-am install-info install-info-am install-man \
923
install-moduleLTLIBRARIES install-pdf install-pdf-am \
924
install-ps install-ps-am install-sdkHEADERS install-strip \
925
installcheck installcheck-am installdirs installdirs-am \
926
maintainer-clean maintainer-clean-generic mostlyclean \
927
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
928
pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
847
929
uninstall-moduleLTLIBRARIES uninstall-sdkHEADERS
851
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(CPP_FILES_FLAGS) < $< | $(CPP_SED_MAGIC) > $@
854
$(AM_V_GEN)$(RAWCPP) $(RAWCPPFLAGS) $(MANDEFS) $(EXTRAMANDEFS) < $< | $(CPP_SED_MAGIC) > $@
856
fbdevhw.$(DRIVER_MAN_SUFFIX): fbdevhw.man
857
-$(AM_V_at)rm -f fbdevhw.$(DRIVER_MAN_SUFFIX)
858
$(AM_V_at)$(LN_S) fbdevhw.man fbdevhw.$(DRIVER_MAN_SUFFIX)
860
932
# Tell versions [3.59,3.63) of GNU make to not export all variables.
861
933
# Otherwise a system limit (for SysV at least) may be exceeded.