diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2012-10-01 04:43:05 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2012-10-01 17:41:25 +0200 |
commit | 6cd6b35c737e0e4042a8fd79af1decc9f10ed84b (patch) | |
tree | 89625119662474ef30c84f410c056343d412121b /heimdall/Makefile.am | |
parent | Updated version to 1.3.2 and copyright notices to 2012. (diff) | |
download | Heimdall-6cd6b35c737e0e4042a8fd79af1decc9f10ed84b.tar Heimdall-6cd6b35c737e0e4042a8fd79af1decc9f10ed84b.tar.gz Heimdall-6cd6b35c737e0e4042a8fd79af1decc9f10ed84b.tar.bz2 Heimdall-6cd6b35c737e0e4042a8fd79af1decc9f10ed84b.tar.lz Heimdall-6cd6b35c737e0e4042a8fd79af1decc9f10ed84b.tar.xz Heimdall-6cd6b35c737e0e4042a8fd79af1decc9f10ed84b.tar.zst Heimdall-6cd6b35c737e0e4042a8fd79af1decc9f10ed84b.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall/Makefile.am | 76 |
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 |