Ben Menchaca | 84f3663 | 2014-02-28 20:57:38 +0000 | [diff] [blame] | 1 | ########################################################################## |
| 2 | # Copyright (c) 2014, The Linux Foundation. All rights reserved. |
| 3 | # Permission to use, copy, modify, and/or distribute this software for |
| 4 | # any purpose with or without fee is hereby granted, provided that the |
| 5 | # above copyright notice and this permission notice appear in all copies. |
| 6 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
| 7 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
| 8 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
| 9 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
| 10 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
| 11 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT |
| 12 | # OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 13 | ########################################################################## |
| 14 | |
| 15 | # ################################################### |
| 16 | # Makefile for the QCA NSS ECM |
| 17 | # ################################################### |
| 18 | |
Nicolas Costa | f46c33b | 2014-05-15 10:02:00 -0500 | [diff] [blame] | 19 | obj-m += ecm.o |
| 20 | |
| 21 | ecm-y := ecm_classifier_hyfi.o \ |
| 22 | ecm_classifier_nl.o \ |
| 23 | ecm_tracker_udp.o \ |
| 24 | ecm_tracker_tcp.o \ |
| 25 | ecm_tracker_datagram.o \ |
| 26 | ecm_tracker.o \ |
| 27 | ecm_front_end_ipv4.o \ |
| 28 | ecm_front_end_ipv6.o \ |
| 29 | ecm_db.o \ |
| 30 | ecm_classifier_default.o \ |
| 31 | ecm_conntrack_notifier.o \ |
| 32 | ecm_interface.o \ |
| 33 | ecm_bond_notifier.o \ |
| 34 | ecm_init.o |
Ben Menchaca | 84f3663 | 2014-02-28 20:57:38 +0000 | [diff] [blame] | 35 | |
| 36 | ccflags-y += -DECM_CLASSIFIER_HYFI_DEBUG_LEVEL=1 |
| 37 | ccflags-y += -DECM_CLASSIFIER_NL_DEBUG_LEVEL=1 |
| 38 | ccflags-y += -DECM_CLASSIFIER_DEFAULT_DEBUG_LEVEL=1 |
| 39 | ccflags-y += -DECM_DB_DEBUG_LEVEL=1 |
| 40 | ccflags-y += -DECM_FRONT_END_IPV4_DEBUG_LEVEL=1 |
| 41 | ccflags-y += -DECM_FRONT_END_IPV6_DEBUG_LEVEL=1 |
| 42 | ccflags-y += -DECM_CONNTRACK_NOTIFIER_DEBUG_LEVEL=1 |
| 43 | ccflags-y += -DECM_TRACKER_DEBUG_LEVEL=1 |
| 44 | ccflags-y += -DECM_TRACKER_DATAGRAM_DEBUG_LEVEL=1 |
| 45 | ccflags-y += -DECM_TRACKER_TCP_DEBUG_LEVEL=1 |
| 46 | ccflags-y += -DECM_TRACKER_UDP_DEBUG_LEVEL=1 |
| 47 | ccflags-y += -DECM_BOND_NOTIFIER_DEBUG_LEVEL=1 |
| 48 | ccflags-y += -DECM_INTERFACE_DEBUG_LEVEL=1 |
| 49 | |
| 50 | # |
| 51 | # Include paths added for bridge and NSS header files |
| 52 | # |
| 53 | ccflags-y += -I$(TOPDIR)/qca/src/linux/net/bridge |
| 54 | ccflags-y += -I$(TOPDIR)/qca/src/qca-nss-drv |
| 55 | ccflags-y += -I$(TOPDIR)/qca/src/qca-hyfi-bridge/hyfi-netfilter |
| 56 | |
| 57 | obj ?= . |
| 58 | |