summaryrefslogtreecommitdiff
path: root/hw/xfree86/fbdevhw/Makefile.am
blob: 9d79fa7f51fd7bb2b34aa0a061a363db5452a7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
linuxmoduledir = $(moduledir)/linux
linuxmodule_LTLIBRARIES = libfbdevhw.la

libfbdevhw_la_LDFLAGS = -avoid-version

if FBDEVHW
libfbdevhw_la_SOURCES = fbdevhw.c
else
libfbdevhw_la_SOURCES = fbdevhwstub.c
endif

INCLUDES = $(XORG_INCS) -I$(srcdir)/../i2c

AM_CFLAGS = $(XORG_CFLAGS) @SERVER_DEFINES@ @MODULE_DEFINES@ @LOADER_DEFINES@

sdk_HEADERS = fbdevhw.h

include $(top_srcdir)/cpprules.in

drivermandir = $(DRIVER_MAN_DIR)
driverman_DATA = fbdevhw.$(DRIVER_MAN_SUFFIX)
CLEANFILES = $(driverman_DATA) fbdevhw.man

fbdevhw.$(DRIVER_MAN_SUFFIX): fbdevhw.man
	-rm -f fbdevhw.$(DRIVER_MAN_SUFFIX)
	$(LN_S) fbdevhw.man fbdevhw.$(DRIVER_MAN_SUFFIX)

EXTRA_DIST = fbpriv.h fbdevhw.man.pre README