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
9ch7017_la_LTLIBRARIES = ch7017.la
10ch7017_la_LDFLAGS = -module -avoid-version
11ch7017_ladir = @moduledir@/drivers
12
13ch7017_la_SOURCES = \
14	ch7017.c \
15	ch7017_module.c \
16	ch7017_reg.h
17