Makefile.am revision de2362d3
1# Copyright 2005 Adam Jackson. 2# Copyright 2005 Red Hat, Inc. 3# 4# Permission is hereby granted, free of charge, to any person obtaining a 5# copy of this software and associated documentation files (the "Software"), 6# to deal in the Software without restriction, including without limitation 7# on the rights to use, copy, modify, merge, publish, distribute, sub 8# license, and/or sell copies of the Software, and to permit persons to whom 9# the Software is furnished to do so, subject to the following conditions: 10# 11# The above copyright notice and this permission notice (including the next 12# paragraph) shall be included in all copies or substantial portions of the 13# Software. 14# 15# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 18# ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 22 23# this is obnoxious: 24# -module lets us name the module exactly how we want 25# -avoid-version prevents gratuitous .0.0.0 version numbers on the end 26# _ladir passes a dummy rpath to libtool so the thing will actually link 27# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc. 28 29ati_drv_la_LIBADD = $(PCIACCESS_LIBS) 30radeon_drv_la_LIBADD = $(LIBDRM_RADEON_LIBS) $(PCIACCESS_LIBS) 31 32RADEON_KMS_SRCS=radeon_dri2.c radeon_kms.c drmmode_display.c radeon_vbo.c \ 33 radeon_bo_helper.c 34 35RADEON_EXA_SOURCES = radeon_exa.c r600_exa.c r6xx_accel.c r600_textured_videofuncs.c r600_shader.c radeon_exa_shared.c \ 36 evergreen_exa.c evergreen_accel.c evergreen_shader.c evergreen_textured_videofuncs.c cayman_accel.c cayman_shader.c 37 38AM_CFLAGS = \ 39 @LIBDRM_RADEON_CFLAGS@ \ 40 @XORG_CFLAGS@ \ 41 @LIBUDEV_CFLAGS@ 42 43if LIBUDEV 44radeon_drv_la_LIBADD += $(LIBUDEV_LIBS) 45endif 46 47ati_drv_la_LTLIBRARIES = ati_drv.la 48ati_drv_la_LDFLAGS = -module -avoid-version 49ati_drv_ladir = @moduledir@/drivers 50ati_drv_la_SOURCES = \ 51 ati.c atimodule.c 52 53radeon_drv_la_LTLIBRARIES = radeon_drv.la 54radeon_drv_la_LDFLAGS = -module -avoid-version 55radeon_drv_ladir = @moduledir@/drivers 56radeon_drv_la_SOURCES = \ 57 radeon_accel.c radeon_video.c \ 58 radeon_misc.c radeon_probe.c \ 59 radeon_textured_video.c radeon_xvmc.c \ 60 $(RADEON_EXA_SOURCES) \ 61 $(RADEON_KMS_SRCS) 62 63if GLAMOR 64AM_CFLAGS += @LIBGLAMOR_CFLAGS@ 65radeon_drv_la_LIBADD += @LIBGLAMOR_LIBS@ 66radeon_drv_la_SOURCES += \ 67 radeon_glamor.c 68endif 69 70EXTRA_DIST = \ 71 radeon_textured_videofuncs.c \ 72 r600_reg.h \ 73 r600_reg_auto_r6xx.h \ 74 r600_reg_r6xx.h \ 75 r600_reg_r7xx.h \ 76 r600_shader.h \ 77 r600_state.h \ 78 evergreen_reg.h \ 79 evergreen_reg_auto.h \ 80 evergreen_shader.h \ 81 evergreen_state.h \ 82 cayman_reg.h \ 83 cayman_reg_auto.h \ 84 cayman_shader.h \ 85 compat-api.h \ 86 ati.h \ 87 ativersion.h \ 88 bicubic_table.h \ 89 bicubic_table.py \ 90 radeon_bo_helper.h \ 91 radeon_exa_render.c \ 92 radeon_exa_funcs.c \ 93 radeon_exa_shared.h \ 94 radeon_glamor.h \ 95 radeon.h \ 96 radeon_probe.h \ 97 radeon_reg.h \ 98 radeon_version.h \ 99 radeon_vbo.h \ 100 radeon_video.h \ 101 simple_list.h \ 102 atipciids.h \ 103 atipcirename.h \ 104 ati_pciids_gen.h \ 105 radeon_chipinfo_gen.h \ 106 radeon_chipset_gen.h \ 107 radeon_pci_chipset_gen.h \ 108 radeon_pci_device_match_gen.h \ 109 pcidb/ati_pciids.csv \ 110 pcidb/parse_pci_ids.pl \ 111 radeon_dri2.h \ 112 drmmode_display.h 113