aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2013-04-28 15:41:56 -0700
committerJames Bottomley <JBottomley@Parallels.com>2013-04-29 12:03:29 -0700
commit1f7795ba40b7502ef472058d865227f81053c941 (patch)
tree8b09bac755fef88c28a1f789e9103bdfb69e1f4b
parent80d6ef9c11f30aef9f713cb745ef2e9b464d76bf (diff)
downloadasterisk-aastra-1f7795ba40b7502ef472058d865227f81053c941.tar.gz
Add makefile for debian build
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
-rw-r--r--Makefile62
1 files changed, 62 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f4c2ac3
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,62 @@
+prefix := /usr/local
+php_prefix := $(prefix)/php
+
+
+base-files = \
+ include/AastraAsterisk.class.php \
+ include/AastraIPPhone.class.php \
+ include/AastraIPPhoneConfiguration.class.php \
+ include/AastraIPPhoneConfigurationEntry.class.php \
+ include/AastraIPPhoneDirectory.class.php \
+ include/AastraIPPhoneDirectoryEntry.class.php \
+ include/AastraIPPhoneExecute.class.php \
+ include/AastraIPPhoneExecuteEntry.class.php \
+ include/AastraIPPhoneFormattedTextScreen.class.php \
+ include/AastraIPPhoneFormattedTextScreenEntry.class.php \
+ include/AastraIPPhoneGDImage.class.php \
+ include/AastraIPPhoneIconEntry.class.php \
+ include/AastraIPPhoneImageMenu.class.php \
+ include/AastraIPPhoneImageMenuEntry.class.php \
+ include/AastraIPPhoneImageScreen.class.php \
+ include/AastraIPPhoneInputScreen.class.php \
+ include/AastraIPPhoneInputScreenEntry.class.php \
+ include/AastraIPPhone.php \
+ include/AastraIPPhoneScrollableDirectory.class.php \
+ include/AastraIPPhoneScrollableTextMenu.class.php \
+ include/AastraIPPhoneScrollHandler.php \
+ include/AastraIPPhoneSoftkeyEntry.class.php \
+ include/AastraIPPhoneSPImage.class.php \
+ include/AastraIPPhoneStatus.class.php \
+ include/AastraIPPhoneStatusEntry.class.php \
+ include/AastraIPPhoneTextMenu.class.php \
+ include/AastraIPPhoneTextMenuEntry.class.php \
+ include/AastraIPPhoneTextScreen.class.php \
+ include/BaseAastra.class.php \
+ include/BaseList.class.php \
+ include/DatabaseListManager.class.php
+
+blacklist-files = \
+ include/Blacklist.class.php \
+ include/BlacklistManager.class.php
+
+licence-files = \
+ COPYING
+
+packages := blacklist
+
+all:
+ @echo
+
+install: install-base install-doc
+ for i in $(packages); do $(MAKE) install-$$i ; done
+
+install-base:
+ install -d $(php_prefix)
+ install -m 0644 $(base-files) $(php_prefix)
+
+install-blacklist:
+ install -d $(php_prefix)
+ install -m 0644 $(blacklist-files) $(php_prefix)
+
+install-doc:
+ @echo