First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xfree86 / common / Makefile.am
blobd15e99a51f360f81058f3204dc1deb5612e5026d
1 noinst_LIBRARIES = libinit.a
2 noinst_LTLIBRARIES = libcommon.la
4 if XORG_BUS_SPARC
5 SBUS_SOURCES = xf86sbusBus.c
6 endif
8 if DEBUG
9 DEBUGSOURCES = xf86Debug.c
10 endif
12 if XV
13 XVSOURCES = xf86xv.c xf86xvmc.c
14 XVSDKINCS = xf86xv.h xf86xvmc.h
15 endif
17 XKBSOURCES = xf86XKB.c
18 XISOURCES = xf86Xinput.c xisb.c
19 XISDKINCS = xf86Xinput.h xisb.h
20 RANDRSOURCES = xf86RandR.c
22 BUSSOURCES = xf86isaBus.c xf86pciBus.c xf86fbBus.c xf86noBus.c $(SBUS_SOURCES)
24 MODEDEFSOURCES = $(srcdir)/vesamodes $(srcdir)/extramodes
26 xf86DefModeSet.c: $(srcdir)/modeline2c.pl $(MODEDEFSOURCES)
27         cat $(MODEDEFSOURCES) | $(PERL) $(srcdir)/modeline2c.pl > $@
29 BUILT_SOURCES = xf86DefModeSet.c
31 AM_LDFLAGS = -r
32 libcommon_la_SOURCES = xf86Configure.c xf86Bus.c xf86Config.c \
33                       xf86Cursor.c xf86cvt.c xf86DGA.c xf86DPMS.c \
34                       xf86DoProbe.c xf86DoScanPci.c xf86Events.c \
35                       xf86Globals.c xf86AutoConfig.c \
36                       xf86MiscExt.c xf86Option.c \
37                       xf86VidMode.c xf86fbman.c xf86cmap.c \
38                       xf86Helper.c xf86PM.c \
39                       xf86Mode.c xf86Build.h xorgHelper.c xf86Versions.c \
40                       $(XVSOURCES) $(BUSSOURCES) $(XKBSOURCES) \
41                       $(DEBUGSOURCES) $(XISOURCES) $(RANDRSOURCES)
42 nodist_libcommon_la_SOURCES = xf86DefModeSet.c
43 libinit_a_SOURCES = xf86Build.h xf86Init.c
45 INCLUDES = $(XORG_INCS) -I$(srcdir)/../ddc -I$(srcdir)/../i2c \
46            -I$(srcdir)/../loader -I$(srcdir)/../rac -I$(srcdir)/../parser \
47            -I$(srcdir)/../scanpci -I$(srcdir)/../vbe -I$(srcdir)/../int10 \
48            -I$(srcdir)/../vgahw -I$(srcdir)/../dixmods/extmod
50 sdk_HEADERS = compiler.h fourcc.h xf86.h xf86Module.h xf86Opt.h \
51               xf86PciInfo.h xf86Priv.h xf86Privstr.h xf86Resources.h \
52               xf86cmap.h xf86fbman.h xf86str.h $(XISDKINCS) \
53               $(XVSDKINCS) atKeynames.h xf86Version.h xorgVersion.h \
54               xf86sbusBus.h xf86xv.h xf86xvmc.h xf86xvpriv.h
56 DISTCLEANFILES = xf86Build.h
57 CLEANFILES = $(BUILT_SOURCES)
59 EXTRA_DIST = \
60         atKeynames.h \
61         compiler.h \
62         fourcc.h \
63         scoasm.h \
64         xf86.h \
65         xf86Build.h \
66         xf86Bus.h \
67         xf86Config.h \
68         xf86InPriv.h \
69         xf86Module.h \
70         xf86Opt.h \
71         xf86PciInfo.h \
72         xf86Priv.h \
73         xf86Privstr.h \
74         xf86Resources.h \
75         xf86Xinput.h \
76         xf86cmap.h \
77         xf86fbman.h \
78         xf86pciBus.h \
79         xf86str.h \
80         xf86xv.h \
81         xf86xvmc.h \
82         xf86xvpriv.h \
83         xisb.h \
84         xf86Build.h.in \
85         xf86Version.h \
86         xorgVersion.h \
87         xf86Date.h \
88         xf86DefModes.c \
89         $(MODEDEFSOURCES) \
90         modeline2c.pl \
91         $(DISTKBDSOURCES)
93 if LNXACPI
94 XORG_CFLAGS += -DHAVE_ACPI
95 endif
97 AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS)