summaryrefslogtreecommitdiff
path: root/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'codecs')
-rw-r--r--codecs/Makefile.am11
1 files changed, 2 insertions, 9 deletions
diff --git a/codecs/Makefile.am b/codecs/Makefile.am
index d55b259644..d75f246f2b 100644
--- a/codecs/Makefile.am
+++ b/codecs/Makefile.am
@@ -20,13 +20,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
include Makefile.common
-include ../Makefile.am.inc
+include $(top_srcdir)/Makefile.am.inc
-AM_CFLAGS =-DWS_BUILD_DLL
-
-if HAVE_WARNINGS_AS_ERRORS
-AM_CFLAGS += -Werror
-endif
+AM_CPPFLAGS += -I$(top_srcdir)/wiretap -DWS_BUILD_DLL
CLEANFILES = \
libwscodec.la \
@@ -48,9 +44,6 @@ libwscodecs_la_DEPENDENCIES = ${top_builddir}/wsutil/libwsutil.la
libwscodecs_la_LIBADD = ${top_builddir}/wsutil/libwsutil.la
-# Common headers
-AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/wiretap
-
checkapi:
$(PERL) $(top_srcdir)/tools/checkAPIs.pl -g abort -g termoutput -build \
-sourcedir=$(srcdir) \