OSDN Git Service

switch to pkg-config by default for libusb/libftdi
[pf3gnuchains/urjtag.git] / urjtag / Makefile.am
1 #
2 # $Id$
3 #
4 # Copyright (C) 2002 ETC s.r.o.
5 #
6 # This program is free software; you can redistribute it and/or
7 # modify it under the terms of the GNU General Public License
8 # as published by the Free Software Foundation; either version 2
9 # of the License, or (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
17 # along with this program; if not, write to the Free Software
18 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 # 02111-1307, USA.
20 #
21 # Written by Marcel Telka <marcel@telka.sk>, 2002.
22 #
23
24 include $(top_srcdir)/Makefile.rules
25
26 SUBDIRS = \
27         doc \
28         include/urjtag \
29         data \
30         src \
31         po
32
33 if ENABLE_APPS
34 SUBDIRS += \
35         src/apps/jtag
36
37 if ENABLE_BSDL
38 SUBDIRS += \
39         src/apps/bsdl2jtag
40 endif
41
42 endif
43
44 DIST_SUBDIRS = \
45         $(SUBDIRS)
46
47 EXTRA_DIST = \
48         Makefile.rules \
49         UrJTAG.nsi \
50         tools/config.rpath
51
52 ACLOCAL_AMFLAGS = -I m4
53
54 swig:
55         swig \
56                 -python \
57                 -includeall -ignoremissing -Iinclude/urjtag \
58                 -module urjtag \
59                 urjtag.i