xpp: strict compilation flags in oct612x/
[dahdi/tools.git] / xpp / oct612x / Makefile.am
1 GLOBAL_CFLAGS   = -Wall -Werror
2
3 OCTASIC_DEFINES = \
4         -DPTR_TYPE=uint32_t     \
5         -DcOCT6100_INTERNAL_SUPER_ARRAY_SIZE=1024       \
6         -DcOCT6100_MAX_ECHO_CHANNELS=672                \
7         -DcOCT6100_MAX_MIXER_EVENTS=1344
8
9 noinst_LTLIBRARIES      = liboctasic.la
10
11 # Taken from octasic-helper
12 liboctasic_la_SOURCES   = \
13         octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c \
14         octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c \
15         octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c \
16         octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c \
17         octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c \
18         octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c \
19         octdeviceapi/oct6100api/oct6100_api/oct6100_events.c \
20         octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c \
21         octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c \
22         octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c \
23         octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c \
24         octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c \
25         octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c \
26         octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c \
27         octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c \
28         octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c \
29         octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c \
30         octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c \
31         apilib/bt/octapi_bt0.c \
32         apilib/largmath/octapi_largmath.c \
33         apilib/llman/octapi_llman.c
34
35 noinst_HEADERS  = \
36                 apilib/bt/octapi_bt0_private.h  \
37                 apilib/llman/octapi_llman_private.h     \
38                 include/apilib/octapi_bt0.h     \
39                 include/apilib/octapi_largmath.h        \
40                 include/apilib/octapi_llman.h   \
41                 include/digium_unused.h \
42                 include/oct6100api/oct6100_adpcm_chan_inst.h    \
43                 include/oct6100api/oct6100_adpcm_chan_pub.h     \
44                 include/oct6100api/oct6100_api.h        \
45                 include/oct6100api/oct6100_api_inst.h   \
46                 include/oct6100api/oct6100_apimi.h      \
47                 include/oct6100api/oct6100_apiud.h      \
48                 include/oct6100api/oct6100_channel_inst.h       \
49                 include/oct6100api/oct6100_channel_pub.h        \
50                 include/oct6100api/oct6100_chip_open_inst.h     \
51                 include/oct6100api/oct6100_chip_open_pub.h      \
52                 include/oct6100api/oct6100_chip_stats_inst.h    \
53                 include/oct6100api/oct6100_chip_stats_pub.h     \
54                 include/oct6100api/oct6100_conf_bridge_inst.h   \
55                 include/oct6100api/oct6100_conf_bridge_pub.h    \
56                 include/oct6100api/oct6100_debug_inst.h \
57                 include/oct6100api/oct6100_debug_pub.h  \
58                 include/oct6100api/oct6100_defines.h    \
59                 include/oct6100api/oct6100_errors.h     \
60                 include/oct6100api/oct6100_events_inst.h        \
61                 include/oct6100api/oct6100_events_pub.h \
62                 include/oct6100api/oct6100_interrupts_inst.h    \
63                 include/oct6100api/oct6100_interrupts_pub.h     \
64                 include/oct6100api/oct6100_mixer_inst.h \
65                 include/oct6100api/oct6100_mixer_pub.h  \
66                 include/oct6100api/oct6100_phasing_tsst_inst.h  \
67                 include/oct6100api/oct6100_phasing_tsst_pub.h   \
68                 include/oct6100api/oct6100_playout_buf_inst.h   \
69                 include/oct6100api/oct6100_playout_buf_pub.h    \
70                 include/oct6100api/oct6100_remote_debug_inst.h  \
71                 include/oct6100api/oct6100_remote_debug_pub.h   \
72                 include/oct6100api/oct6100_tlv_inst.h   \
73                 include/oct6100api/oct6100_tone_detection_inst.h        \
74                 include/oct6100api/oct6100_tone_detection_pub.h \
75                 include/oct6100api/oct6100_tsi_cnct_inst.h      \
76                 include/oct6100api/oct6100_tsi_cnct_pub.h       \
77                 include/oct6100api/oct6100_tsst_inst.h  \
78                 include/octdef.h        \
79                 include/octmac.h        \
80                 include/octosdependant.h        \
81                 include/octrpc/oct6100_rpc_protocol.h   \
82                 include/octrpc/rpc_protocol.h   \
83                 include/octtype.h       \
84                 include/octtypevx.h     \
85                 include/octtypewin.h    \
86                 #
87
88 liboctasic_la_CFLAGS    = \
89         $(GLOBAL_CFLAGS) \
90         $(OCTASIC_DEFINES) \
91         $(OCTASIC_CFLAGS)
92
93
94 EXTRA_DIST      = \
95                 get_discards    \
96                 octasic-helper  \
97                 octdeviceapi/oct6100api/oct6100_adpcm_chan_priv.h       \
98                 octdeviceapi/oct6100api/oct6100_api/oct6100_user.c      \
99                 octdeviceapi/oct6100api/oct6100_apimi/oct6100_mask_interrupts.c \
100                 octdeviceapi/oct6100api/oct6100_channel_priv.h  \
101                 octdeviceapi/oct6100api/oct6100_chip_open_priv.h        \
102                 octdeviceapi/oct6100api/oct6100_chip_stats_priv.h       \
103                 octdeviceapi/oct6100api/oct6100_conf_bridge_priv.h      \
104                 octdeviceapi/oct6100api/oct6100_debug_priv.h    \
105                 octdeviceapi/oct6100api/oct6100_events_priv.h   \
106                 octdeviceapi/oct6100api/oct6100_interrupts_priv.h       \
107                 octdeviceapi/oct6100api/oct6100_memory_priv.h   \
108                 octdeviceapi/oct6100api/oct6100_miscellaneous_priv.h    \
109                 octdeviceapi/oct6100api/oct6100_mixer_priv.h    \
110                 octdeviceapi/oct6100api/oct6100_phasing_tsst_priv.h     \
111                 octdeviceapi/oct6100api/oct6100_playout_buf_priv.h      \
112                 octdeviceapi/oct6100api/oct6100_remote_debug_priv.h     \
113                 octdeviceapi/oct6100api/oct6100_tlv_priv.h      \
114                 octdeviceapi/oct6100api/oct6100_tone_detection_priv.h   \
115                 octdeviceapi/oct6100api/oct6100_tsi_cnct_priv.h \
116                 octdeviceapi/oct6100api/oct6100_tsst_priv.h     \
117                 octdeviceapi/oct6100api/oct6100_version.h       \
118                 test.c  \
119                 #