summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 35a606f1cf3a0eddd8d25a39a5f9e249f6872506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
AM_CFLAGS = -Wall -std=c99
AM_CPPFLAGS = $(LIBUSB_CFLAGS)

bin_PROGRAMS = tegrarcm
tegrarcm_SOURCES = \
	main.c \
	usb.c \
	nv3p.c \
	debug.c \
	rcm.c \
	rsa-pss.cpp \
	rsa-pss.h \
	aes-cmac.cpp \
	aes-cmac.h \
	debug.h \
	nv3p.h \
	nv3p_status.h \
	rcm.h \
	miniloader/tegra20-miniloader.h \
	miniloader/tegra30-miniloader.h \
	miniloader/tegra114-miniloader.h \
	miniloader/tegra124-miniloader.h \
	usb.h

man_MANS = tegrarcm.1

EXTRA_DIST = tegrarcm.1.in
DISTCLEANFILES = tegrarcm.1

tegrarcm_LDADD = $(LIBUSB_LIBS) -l$(CRYPTOLIB) -lpthread

tegrarcm.1: $(srcdir)/tegrarcm.1.in
	sed 's|VERSION|$(VERSION)|g' $< >$@