about summary refs log tree commit diff
path: root/icon
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-04-13 20:01:18 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2014-04-13 20:01:18 +0000
commitcb0bf68aa475ddb96b0ecc3ac3676ad9f5598b59 (patch)
treea55bb883fb941ff7a483bcb76138d70b2149822b /icon
parent24d2e20391c5949c20bc419ab9e4974541011294 (diff)
downloadnetpbm-mirror-cb0bf68aa475ddb96b0ecc3ac3676ad9f5598b59.tar.gz
netpbm-mirror-cb0bf68aa475ddb96b0ecc3ac3676ad9f5598b59.tar.xz
netpbm-mirror-cb0bf68aa475ddb96b0ecc3ac3676ad9f5598b59.zip
Add Windows icon capability, centralize make rule for link of programs
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2182 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'icon')
-rw-r--r--icon/Makefile24
-rw-r--r--icon/netpbm.icobin0 -> 3774 bytes
-rw-r--r--icon/netpbm.ppm12
3 files changed, 36 insertions, 0 deletions
diff --git a/icon/Makefile b/icon/Makefile
new file mode 100644
index 00000000..0bd33bf4
--- /dev/null
+++ b/icon/Makefile
@@ -0,0 +1,24 @@
+ifeq ($(SRCDIR)x,x)
+  SRCDIR = $(CURDIR)/..
+  BUILDDIR = $(SRCDIR)
+endif
+SUBDIR = buildtools
+VPATH = .:$(SRCDIR)/$(SUBDIR)
+include $(BUILDDIR)/config.mk
+
+all: netpbm.ico
+
+include $(SRCDIR)/common.mk
+
+%.ico:%.ppm
+	ppmtowinicon $< >$@
+
+%.o:%.ico
+	echo "id ICON \"$<\"" >rc
+	windres --input-format rc --input rc --output-format coff --output $@
+	rm rc
+
+distclean clean: cleanlocal
+.PHONY: cleanlocal
+cleanlocal:
+	rm -f rc
diff --git a/icon/netpbm.ico b/icon/netpbm.ico
new file mode 100644
index 00000000..3bb8e29f
--- /dev/null
+++ b/icon/netpbm.ico
Binary files differdiff --git a/icon/netpbm.ppm b/icon/netpbm.ppm
new file mode 100644
index 00000000..eb5e9d71
--- /dev/null
+++ b/icon/netpbm.ppm
@@ -0,0 +1,12 @@
+P6
+48 48
+255
+****''''
PPoooooPP<7YYhwwhhYHPoo>tbdvD~whH'*PVvhh$wh'*o"^vpp$h7*o^z̢̒|\h7oVz̢ҸҸx\hPo0n̢Ҹx4wH
o	V{\h'*0n		x4wHoBn	xY
+Y
oZ`XXaaaLLxY
+h'*o	Zhl`ؖX|ii4Y
+
+h'*o	b`lhȠؖؖ|ild`
+
+
+w'*olb`Ƞؖd`\
+w'*ohlX̹d\h'PhhX̰ҜLih'Pg>j̰ҰҐtLii4Y*d(jҐt,Ԝhw7odRztTԜh4h*odd(p̌؞Ԯt,ԜȨ|4wHP`Lp̌؞Ԯ̼tPȨTwY
*P`Lv̌Plwh'*P|lڸڰRvtTlzlh'*TlttИЦFj~ttLrVl/q4tt|̇|*lVTn,z~~r^6q/Rq4DTXddXXD!&BBddddXJ6R/R!!!R/qq//Rq//qq//Rqqq//qqq//qqR//qqqqq/RqqqqqR//RqqqqqqRR//////
\ No newline at end of file