2007-12-04 15:20:01 -07:00
|
|
|
BUILT_SOURCES =
|
|
|
|
CLEANFILES =
|
|
|
|
include $(top_srcdir)/RadeonHD.am
|
|
|
|
|
|
|
|
EXTRA_DIST = README Imakefile
|
|
|
|
|
2008-04-19 07:41:45 -06:00
|
|
|
EXTRA_PROGRAMS = rhd_conntest rhd_dump
|
2009-11-24 09:57:34 -07:00
|
|
|
|
|
|
|
if XSERVER_LIBPCIACCESS
|
|
|
|
noinst_PROGRAMS = rhd_conntest rhd_dump
|
|
|
|
endif
|
|
|
|
|
2007-12-04 15:20:01 -07:00
|
|
|
if HAVE_PCI_PCI_H
|
|
|
|
if HAVE_ZLIB
|
2008-04-19 07:41:45 -06:00
|
|
|
noinst_PROGRAMS = rhd_conntest rhd_dump
|
2007-12-04 15:20:01 -07:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
all-local:
|
|
|
|
@if test "x$(noinst_PROGRAMS)" = "x"; then \
|
|
|
|
echo "WARNING: Cannot build the rhd_conntest program due to missing dependencies."; \
|
|
|
|
echo " *IF* you want to build rhd_conntest, install development packages of"; \
|
|
|
|
echo " both pciutils and zlib/libz and re-run the configure (or autogen) script."; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Including config.h requires xorg-config.h, so we need the XORG_CFLAGS here
|
2008-01-05 10:28:11 -07:00
|
|
|
AM_CFLAGS = @XORG_CFLAGS@ @WARN_CFLAGS@ @PCIUTILS_CFLAGS@
|
2007-12-04 15:20:01 -07:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src/AtomBios/includes
|
|
|
|
|
|
|
|
rhd_conntest_SOURCES = rhd_conntest.c
|
|
|
|
nodist_rhd_conntest_SOURCES = git_version.h
|
2009-11-24 09:57:34 -07:00
|
|
|
if XSERVER_LIBPCIACCESS
|
|
|
|
rhd_conntest_LDADD = @PCIACCESS_LIBS@
|
|
|
|
else
|
2008-01-05 10:28:11 -07:00
|
|
|
rhd_conntest_LDADD = @PCIUTILS_LIBS@
|
2009-11-24 09:57:34 -07:00
|
|
|
endif
|
2008-04-19 07:41:45 -06:00
|
|
|
|
|
|
|
rhd_dump_SOURCES = rhd_dump.c
|
|
|
|
nodist_rhd_dump_SOURCES = git_version.h
|
2009-11-24 09:57:34 -07:00
|
|
|
if XSERVER_LIBPCIACCESS
|
|
|
|
rhd_dump_LDADD = @PCIACCESS_LIBS@
|
|
|
|
else
|
|
|
|
rhd_dump_LDADD = @PCIUTILS_LIBS@
|
|
|
|
endif
|