1## Process this file with automake to produce Makefile.in
2## Copyright (c) 2010-2011 Philip Kendall
3
4## $Id: Makefile.am 4898 2013-02-25 22:20:54Z pak21 $
5
6## This program is free software; you can redistribute it and/or modify
7## it under the terms of the GNU General Public License as published by
8## the Free Software Foundation; either version 2 of the License, or
9## (at your option) any later version.
10##
11## This program is distributed in the hope that it will be useful,
12## but WITHOUT ANY WARRANTY; without even the implied warranty of
13## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14## GNU General Public License for more details.
15##
16## You should have received a copy of the GNU General Public License along
17## with this program; if not, write to the Free Software Foundation, Inc.,
18## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19##
20## Author contact information:
21##
22## E-mail: philip-fuse@shadowmagic.org.uk
23
24AUTOMAKE_OPTIONS = foreign
25
26AM_CPPFLAGS = -I$(srcdir)/../..
27
28noinst_LIBRARIES = libnic.a
29
30AM_CPPFLAGS += @LIBSPEC_CFLAGS@ @GLIB_CFLAGS@ @GTK_CFLAGS@
31
32libnic_a_SOURCES =
33
34if BUILD_SPECCYBOOT
35libnic_a_SOURCES += enc28j60.c
36endif
37
38if BUILD_SPECTRANET
39libnic_a_SOURCES += w5100.c \
40  w5100_socket.c
41endif
42
43noinst_HEADERS = \
44  enc28j60.h \
45  w5100.h \
46  w5100_internals.h
47