# SmartCAPWAP -- An Open Source CAPWAP WTP / AC # # Copyright (C) 2012-2013 Massimo Vellucci # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program (see the file COPYING included with this # distribution); if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA MAINTAINERCLEANFILES = \ $(srcdir)/Makefile.in bin_PROGRAMS = ac AM_CFLAGS = \ -DCAPWAP_MULTITHREADING_ENABLE \ -D_REENTRANT \ -D_GNU_SOURCE if DTLS_ENABLED AM_CFLAGS += $(SSL_CFLAGS) endif INCLUDES = \ -I$(top_srcdir)/build \ -I$(top_srcdir)/src/common \ -I$(top_srcdir)/src/ac include $(top_srcdir)/build/Makefile_common.am ac_SOURCES = \ $(capwap_SOURCES) \ $(top_srcdir)/src/common/capwap_event.c \ $(top_srcdir)/src/common/capwap_lock.c \ $(top_srcdir)/src/ac/ac.c \ $(top_srcdir)/src/ac/ac_execute.c \ $(top_srcdir)/src/ac/ac_session.c \ $(top_srcdir)/src/ac/ac_discovery.c \ $(top_srcdir)/src/ac/ac_dfa_join.c \ $(top_srcdir)/src/ac/ac_dfa_configure.c \ $(top_srcdir)/src/ac/ac_dfa_imagedata.c \ $(top_srcdir)/src/ac/ac_dfa_datacheck.c \ $(top_srcdir)/src/ac/ac_dfa_dtls.c \ $(top_srcdir)/src/ac/ac_dfa_run.c \ $(top_srcdir)/src/ac/ac_dfa_reset.c \ $(top_srcdir)/src/ac/ac_dfa_teardown.c ac_LDADD = \ $(CONFIG_LIBS) \ $(PTHREAD_LIBS) if DTLS_ENABLED ac_LDADD += $(SSL_LIBS) endif