Makefile.am revision fa225cbc
1# this is obnoxious:
2# -module lets us name the module exactly how we want
3# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
4# _ladir passes a dummy rpath to libtool so the thing will actually link
5# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
6AM_CFLAGS = @WARN_CFLAGS@ @XORG_CFLAGS@ @DRI_CFLAGS@ \
7	@PCIACCESS_CFLAGS@
8
9ch7xxx_la_LTLIBRARIES = ch7xxx.la
10ch7xxx_la_LDFLAGS = -module -avoid-version
11ch7xxx_ladir = @moduledir@/drivers
12
13ch7xxx_la_SOURCES = \
14	ch7xxx.c \
15	ch7xxx_module.c \
16	ch7xxx.h \
17	ch7xxx_reg.h
18