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