Updated license from GPL version 2 or later to GPL version 3 or later.
[debian/gnuradio] / gr-sounder / src / fpga / top / Makefile.am
1 #
2 # Copyright 2007 Free Software Foundation, Inc.
3
4 # This file is part of GNU Radio
5
6 # GNU Radio 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 3, or (at your option)
9 # any later version.
10
11 # GNU Radio 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 GNU Radio; see the file COPYING.  If not, write to
18 # the Free Software Foundation, Inc., 51 Franklin Street,
19 # Boston, MA 02110-1301, USA.
20
21
22 include $(top_srcdir)/Makefile.common
23
24 datadir = $(prefix)/share/usrp
25
26 RBFS =  usrp_sounder.rbf
27
28 EXTRA_DIST =                    \
29         config.vh               \
30         usrp_sounder.v          \
31         usrp_sounder.csf        \
32         usrp_sounder.esf        \
33         usrp_sounder.psf        \
34         usrp_sounder.qpf        \
35         $(RBFS)
36
37
38 install-data-local:
39         @for file in $(RBFS); do \
40                 echo "$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(datadir)/rev2/$$file"; \
41                 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(datadir)/rev2/$$file; \
42                 echo "$(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(datadir)/rev4/$$file"; \
43                 $(INSTALL_DATA) $(srcdir)/$$file $(DESTDIR)$(datadir)/rev4/$$file; \
44         done
45
46 uninstall-local:
47         @for file in $(RBFS); do \
48                 echo "$(RM) $(DESTDIR)$(datadir)/rev2/$$file"; \
49                 $(RM) $(DESTDIR)$(datadir)/rev2/$$file; \
50                 echo "$(RM) $(DESTDIR)$(datadir)/rev4/$$file"; \
51                 $(RM) $(DESTDIR)$(datadir)/rev4/$$file; \
52         done
53
54 MOSTLYCLEANFILES =      \
55         db/*            \
56         *.rpt           \
57         *.summary       \
58         *.qws           \
59         *.smsg          \
60         *.done          \
61         *.pin           \
62         *.sof           \
63         *~
64