summaryrefslogtreecommitdiffstats
path: root/heimdall/Makefile.am
blob: 4f5ffdb2aa57b06225c4cf010287207ebf15193f (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
AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
AM_CPPFLAGS = $(DEPS_CFLAGS)

bin_PROGRAMS = heimdall
heimdall_SOURCES = source/BeginDumpPacket.h source/BridgeManager.cpp \
	source/BridgeManager.h source/ControlPacket.h source/DeviceInfoPacket.h  \
	source/DeviceInfoResponse.h source/DumpPartFileTransferPacket.h \
	source/DumpPartPitFilePacket.h source/DumpResponse.h source/EndFileTransferPacket.h \
	source/EndModemFileTransferPacket.h source/EndPhoneFileTransferPacket.h \
	source/FileTransferPacket.h source/FlashPartFileTransferPacket.h \
	source/FlashPartPitFilePacket.h source/Heimdall.h \
	source/InboundPacket.h source/InterfaceManager.cpp source/InterfaceManager.h \
	source/main.cpp source/OutboundPacket.h source/Packet.h source/PitFilePacket.h \
	source/PitFileResponse.h source/EndSessionPacket.h source/ReceiveFilePartPacket.h \
	source/ResponsePacket.h source/SendFilePartPacket.h \
        source/SendFilePartResponse.h source/PitData.cpp source/PitData.h

heimdall_LDADD = $(DEPS_LIBS)

if LINUXTARGET
udevrulesdir = /lib/udev/rules.d
udevrules_DATA = 60-heimdall-galaxy-s.rules

install-data-hook:
if UDEVADM
	sudo udevadm control --reload_rules
else
	sudo service udev restart
endif

endif

dist_noinst_SCRIPTS = autogen.sh