summaryrefslogtreecommitdiffstats
path: root/heimdall/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--heimdall/Makefile.am76
1 files changed, 42 insertions, 34 deletions
diff --git a/heimdall/Makefile.am b/heimdall/Makefile.am
index 782134d..cec8fad 100644
--- a/heimdall/Makefile.am
+++ b/heimdall/Makefile.am
@@ -1,34 +1,42 @@
-AUTOMAKE_OPTIONS = subdir-objects
-ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
-AM_CPPFLAGS = $(DEPS_CFLAGS) -I../libpit/Source
-STATIC_LIBS = ../libpit/libpit-1.3.a
-
-bin_PROGRAMS = heimdall
-heimdall_SOURCES = source/BeginDumpPacket.h source/BridgeManager.cpp \
- source/BridgeManager.h source/DumpPartPitFilePacket.h source/DumpResponse.h \
- source/EndFileTransferPacket.h source/EndModemFileTransferPacket.h \
- source/EndPitFileTransferPacket.h source/EndPhoneFileTransferPacket.h \
- source/EndSessionPacket.h source/FileTransferPacket.h source/FlashPartFileTransferPacket.h \
- source/FlashPartPitFilePacket.h source/Heimdall.h source/InboundPacket.h \
- source/Interface.cpp source/Interface.h source/main.cpp source/OutboundPacket.h \
- source/Packet.h source/PitFilePacket.h source/PitFileResponse.h source/ReceiveFilePartPacket.h \
- source/ResponsePacket.h source/SendFilePartPacket.h source/SendFilePartResponse.h \
- source/ControlPacket.h source/SessionSetupPacket.h source/SessionSetupResponse.h \
- source/DumpPartFileTransferPacket.h
-
-heimdall_LDADD = $(DEPS_LIBS) $(STATIC_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
+AUTOMAKE_OPTIONS = subdir-objects
+ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS}
+AM_CPPFLAGS = $(DEPS_CFLAGS) -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/DumpAction.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 = /lib/udev/rules.d
+udevrules_DATA = 60-heimdall-galaxy-s.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