1# tcpreen source directory Makefile
2# $Id: Makefile.am 190 2006-03-18 20:16:14Z remi $
3
4# ***********************************************************************
5# *  Copyright (C) 2002-2004 Remi Denis-Courmont.                       *
6# *  This program is free software; you can redistribute and/or modify  *
7# *  it under the terms of the GNU General Public License as published  *
8# *  by the Free Software Foundation; version 2 of the license.         *
9# *                                                                     *
10# *  This program is distributed in the hope that it will be useful,    *
11# *  but WITHOUT ANY WARRANTY; without even the implied warranty of     *
12# *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.               *
13# *  See the GNU General Public License for more details.               *
14# *                                                                     *
15# *  You should have received a copy of the GNU General Public License  *
16# *  along with this program; if not, you can get it from:              *
17# *  http://www.gnu.org/copyleft/gpl.html                               *
18# ***********************************************************************
19
20top_srcdir = @top_srcdir@
21datadir = @datadir@
22localedir = $(datadir)/locale
23AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\" -D_GNU_SOURCE \
24		-I$(top_srcdir)/include -I$(top_srcdir) \
25		-I$(top_srcdir)/logs
26
27bin_PROGRAMS = tcpreen
28
29# tcpreen
30tcpreen_SOURCES = tcpreen.cpp tcpreen.h bridge.cpp bridge.h \
31		  main.cpp proto.h proto.cpp format.h format.cpp
32tcpreen_LDADD = @LIBINTL@ ../libsolve/libsolve.a ../logs/liblogs.a
33
34if WINSOCK
35tcpreen_SOURCES += winstub.c
36endif
37
38