xref: /freebsd/sys/contrib/dev/ath/ath_hal/ar9300/sources (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
1#
2#  SOURCES file for ar9300 module
3#
4
5HAL_TOP=..
6
7!IFDEF TOP_HAL_DIR
8TOP=$(HAL_TOP)\$(TOP_HAL_DIR)
9!ELSE
10# The default is to assume the relative position of HAL in the Fusion tree.
11TOP=$(HAL_TOP)\..\..\..
12!ENDIF
13
14INC=$(TOP)\include
15ASF=$(TOP)\asf
16ADF=$(TOP)\adf
17
18!IFDEF BUILD_UMAC
19INC_MP=$(TOP)\os\win_nwf\include
20!ELSE
21INC_MP=$(INC)\winvista
22!ENDIF
23
24!include $(INC_MP)\sources.inc
25
26TARGETNAME=ath_hal_ar9300
27TARGETPATH=$(TOP)\lib
28TARGETTYPE=LIBRARY
29
30INCLUDES= $(INCLUDES)            \
31    $(HAL_TOP);                  \
32    $(INC);                      \
33    $(INC_MP);                   \
34    $(ASF)\include;              \
35    $(ADF)\include\os;           \
36    $(ADF)\include\net;          \
37    $(ADF)\include\nbuf;         \
38    $(ADF)\os\win_nwf;           \
39    $(ADF)\net\win_nwf;          \
40    $(ADF)\nbuf\win_nwf;         \
41    $(SDXROOT)\net\inc;          \
42    $(DDK_INC_PATH)
43
44HAL_OSDEP_INCLUDES=$(HAL_TOP)\winvista;
45
46INCLUDES=$(HAL_OSDEP_INCLUDES) $(INCLUDES)
47
48!IF "$(DDKBUILDENV)"=="chk"
49C_DEFINES=$(C_DEFINES) -DAH_DEBUG=1
50!ENDIF
51
52C_DEFINES=$(C_DEFINES) -DAH_SUPPORT_WRITE_EEPROM -DATH_SLOW_ANT_DIV=1 -DATH_BT_COEX
53
54SOURCES=$(SOURCES)     	\
55	ar9300_radio.c      \
56	ar9300_gpio.c       \
57	ar9300_radar.c      \
58	ar9300_xmit.c       \
59	ar9300_xmit_ds.c    \
60	ar9300_interrupts.c \
61	ar9300_recv.c       \
62	ar9300_recv_ds.c    \
63	ar9300_ani.c        \
64	ar9300_keycache.c   \
65	ar9300_attach.c     \
66	ar9300_misc.c       \
67	ar9300_beacon.c     \
68	ar9300_phy.c        \
69	ar9300_eeprom.c     \
70	ar9300_power.c      \
71	ar9300_reset.c      \
72	ar9300_timer.c      \
73	ar9300_spectral.c   \
74	ar9300_txbf.c		\
75	ar9300_raw_adc_capture.c \
76	ar9300_txbf_cal.c	\
77	ar9300_paprd.c      \
78	ar9300_sim.c        \
79	ar9300_mci.c        \
80	ar9300_rtt.c        \
81	ar9300_aic.c
82