diff options
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index a559d8e..e9d0dcf 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,7 +3,7 @@ AUTOMAKE_OPTIONS = gnu AM_CFLAGS = -Wall bin_PROGRAMS = mts-id-eeprom -sbin_PROGRAMS = mts-hashpwd mts-fpga-loader mts-hdr-copy +sbin_PROGRAMS = mts-hashpwd mts-fpga-loader mts_hashpwd_SOURCES = hashpwd.cpp mts_id_eeprom_SOURCES = eeprom_main.c noinst_HEADERS = eeprom.h log.h mts_error_codes.h mts_fpga_hash.h mts_fpga_reg.h mts_fpga_spi.h @@ -12,9 +12,7 @@ mts_hashpwd_LDADD = -lcrypto mts_fpga_loader_SOURCES = mts_fpga_hash.c mts_fpga_reg.c mts_fpga_spi.c mts_fpga_loader.c mts_fpga_loader_LDADD = -lrt -lm -lssl -lcrypto -mts_hdr_copy_SOURCES = mts_hdr_copy.c - -sbin_SCRIPTS = ubpasswd.sh +sbin_SCRIPTS = ubpasswd.sh mts-fpga-loader.sh EXTRA_DIST = SUFFIXES = .sh @@ -32,9 +30,10 @@ install-exec-hook: mv ubpasswd.sh ../../sbin/mts-ubpasswd && \ chmod 0744 ../../sbin/mts-ubpasswd cd $(DESTDIR)$(sbindir) && \ + mv mts-fpga-loader.sh ../../sbin/mts-fpga-loader-1_5 && \ + chmod 0744 ../../sbin/mts-fpga-loader-1_5 + cd $(DESTDIR)$(sbindir) && \ mv mts-hashpwd ../../sbin/mts-hashpwd cd $(DESTDIR)$(sbindir) && \ mv mts-fpga-loader ../../sbin/mts-fpga-loader - cd $(DESTDIR)$(sbindir) && \ - mv mts-hdr-copy ../../sbin/mts-hdr-copy rmdir $(DESTDIR)$(sbindir) |