Guest User

Untitled

a guest
Feb 17th, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 4.09 KB | None | 0 0
  1. #
  2. # avrdude - A Downloader/Uploader for AVR device programmers
  3. # Copyright (C) 2003, 2004  Theodore A. Roth  <[email protected]>
  4. #
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  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.  See the
  13. # 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, see <http://www.gnu.org/licenses/>.
  17. #
  18.  
  19. #
  20. # $Id: Makefile.am 1175 2013-05-15 18:55:19Z rliebscher $
  21. #
  22.  
  23. EXTRA_DIST   = \
  24.     ChangeLog \
  25.     ChangeLog-2001 \
  26.     ChangeLog-2002 \
  27.     ChangeLog-2003 \
  28.     ChangeLog-2004-2006 \
  29.     ChangeLog-2007 \
  30.     ChangeLog-2008 \
  31.     ChangeLog-2009 \
  32.     ChangeLog-2010 \
  33.     ChangeLog-2011 \
  34.     ChangeLog-2012 \
  35.     avrdude.1 \
  36.     avrdude.spec \
  37.     bootstrap
  38.  
  39. CLEANFILES = \
  40.     config_gram.c \
  41.     config_gram.h \
  42.     lexer.c
  43.  
  44. BUILT_SOURCES = $(CLEANFILES)
  45.  
  46. #SUBDIRS      = doc @WINDOWS_DIRS@
  47. #DIST_SUBDIRS = doc windows
  48.  
  49. # . lets build this directory before the following in SUBDIRS
  50. SUBDIRS = .
  51. # doc comes here, and we want to use the built avrdude to generate the parts list
  52. SUBDIRS += @SUBDIRS_AC@
  53. SUBDIRS += @WINDOWS_DIRS@
  54. DIST_SUBDIRS = @DIST_SUBDIRS_AC@
  55.  
  56. AM_YFLAGS    = -d
  57.  
  58. avrdude_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\"
  59.  
  60. libavrdude_a_CPPFLAGS = -DCONFIG_DIR=\"$(sysconfdir)\"
  61.  
  62. avrdude_CFLAGS   = @ENABLE_WARNINGS@
  63.  
  64. libavrdude_a_CFLAGS   = @ENABLE_WARNINGS@
  65.  
  66. avrdude_LDADD  = $(top_builddir)/$(noinst_LIBRARIES) @LIBUSB_1_0@ @LIBUSB@ @LIBFTDI1@ @LIBFTDI@ @LIBHID@ @LIBELF@ @LIBPTHREAD@ -lm
  67.  
  68. bin_PROGRAMS = avrdude
  69.  
  70. noinst_LIBRARIES = libavrdude.a
  71.  
  72. # automake thinks these generated files should be in the distribution,
  73. # but this might cause trouble for some users, so we rather don't want
  74. # to have them there.
  75. #
  76. # See
  77. #
  78. # https://savannah.nongnu.org/bugs/index.php?func=detailitem&item_id=15536
  79. #
  80. # for why we don't want to have them.
  81. dist-hook:
  82.     rm -f \
  83.     $(distdir)/lexer.c \
  84.     $(distdir)/config_gram.c \
  85.     $(distdir)/config_gram.h
  86.  
  87. libavrdude_a_SOURCES = \
  88.     config_gram.y \
  89.     lexer.l \
  90.     arduino.h \
  91.     arduino.c \
  92.     avr.c \
  93.     avr.h \
  94.     avr910.c \
  95.     avr910.h \
  96.     avrdude.h \
  97.     avrftdi.c \
  98.     avrftdi.h \
  99.     avrftdi_private.h \
  100.     avrftdi_tpi.c \
  101.     avrftdi_tpi.h \
  102.     avrpart.c \
  103.     avrpart.h \
  104.     bitbang.c \
  105.     bitbang.h \
  106.     buspirate.c \
  107.     buspirate.h \
  108.     butterfly.c \
  109.     butterfly.h \
  110.     config.c \
  111.     config.h \
  112.     confwin.c \
  113.     confwin.h \
  114.     crc16.c \
  115.     crc16.h \
  116.     fileio.c \
  117.     fileio.h \
  118.     freebsd_ppi.h \
  119.     ft245r.c \
  120.     ft245r.h \
  121.     jtagmkI.c \
  122.     jtagmkI.h \
  123.     jtagmkI_private.h \
  124.     jtagmkII.c \
  125.     jtagmkII.h \
  126.     jtagmkII_private.h \
  127.     jtag3.c \
  128.     jtag3.h \
  129.     jtag3_private.h \
  130.     linuxgpio.c \
  131.     linuxgpio.h \
  132.     linux_ppdev.h \
  133.     lists.c \
  134.     lists.h \
  135.     my_ddk_hidsdi.h \
  136.     par.c \
  137.     par.h \
  138.     pgm.c \
  139.     pgm.h \
  140.     pgm_type.c \
  141.     pgm_type.h \
  142.     pickit2.c \
  143.     pickit2.h \
  144.     pindefs.c \
  145.     pindefs.h \
  146.     ppi.c \
  147.     ppi.h \
  148.     ppiwin.c \
  149.     safemode.c \
  150.     safemode.h \
  151.     serial.h \
  152.     serbb.h \
  153.     serbb_posix.c \
  154.     serbb_win32.c \
  155.     ser_avrdoper.c \
  156.     ser_posix.c \
  157.     ser_win32.c \
  158.     solaris_ecpp.h \
  159.     stk500.c \
  160.     stk500.h \
  161.     stk500_private.h \
  162.     stk500v2.c \
  163.     stk500v2.h \
  164.     stk500v2_private.h \
  165.     stk500generic.c \
  166.     stk500generic.h \
  167.     tpi.h \
  168.     usbasp.c \
  169.     usbasp.h \
  170.     usbdevs.h \
  171.     usb_libusb.c \
  172.     usbtiny.h \
  173.     usbtiny.c \
  174.     update.h \
  175.     update.c \
  176.     wiring.h \
  177.     wiring.c
  178.  
  179. avrdude_SOURCES = \
  180.     main.c \
  181.     term.c \
  182.     term.h
  183.  
  184. man_MANS = avrdude.1
  185.  
  186. sysconf_DATA = avrdude.conf
  187.  
  188. install-exec-local: backup-avrdude-conf
  189.  
  190. distclean-local:
  191.     rm -f avrdude.conf
  192.  
  193. # This will get run before the config file is installed.
  194. backup-avrdude-conf:
  195.     @echo "Backing up avrdude.conf in ${DESTDIR}${sysconfdir}"
  196.     @if test -e ${DESTDIR}${sysconfdir}/avrdude.conf; then \
  197.         cp -pR ${DESTDIR}${sysconfdir}/avrdude.conf \
  198.             ${DESTDIR}${sysconfdir}/avrdude.conf.bak; \
  199.     fi
Advertisement
Add Comment
Please, Sign In to add comment