summaryrefslogtreecommitdiffstats
path: root/heimdall/Makefile.am
blob: c7937574a5c281279aba7e271ce4f0ef664d9003 (plain) (blame)
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
34
35
36
37
38
39
40
41
AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
AM_CPPFLAGS = $(DEPS_CFLAGS) -std=c++0x -I../libpit/Source
STATIC_LIBS = ../libpit/libpit-1.4.a

bin_PROGRAMS = heimdall
heimdall_SOURCES = source/Arguments.cpp \
	source/BridgeManager.cpp \
	source/ClosePcScreenAction.cpp \
	source/DetectAction.cpp \
	source/DownloadPitAction.cpp \
	source/FlashAction.cpp \
	source/HelpAction.cpp \
	source/InfoAction.cpp \
	source/Interface.cpp \
	source/main.cpp \
	source/PrintPitAction.cpp \
	source/Utility.cpp \
	source/VersionAction.cpp

heimdall_LDADD = $(DEPS_LIBS) $(STATIC_LIBS)

if LINUXTARGET

udevrulesdir = @libdir@/udev/rules.d
udevrules_DATA = 60-heimdall.rules

install-data-hook:
	@echo ""
	@echo "IMPORTANT - You must reboot your machine or execute the following as root:"

if UDEVADM
	@echo "udevadm control --reload-rules"
else
	@echo "service udev restart"
endif
	@echo ""

endif

dist_noinst_SCRIPTS = autogen.sh