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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
|
ICOFILES = \
ConvertAmicasJPEG2000FilesetToDicom.ico \
DicomCleaner.ico \
DicomImageBlackout.ico \
DicomImageViewer.ico \
DoseUtility.ico \
DownloadOrTransmit.ico \
MediaImporter.ico \
WatchFolderAndSend.ico
ICONFILES = \
ConvertAmicasJPEG2000FilesetToDicom.icns \
DicomCleaner.icns \
DicomImageBlackout.icns \
DicomImageViewer.icns \
DoseUtility.icns \
DownloadOrTransmit.icns \
MediaImporter.icns \
WatchFolderAndSend.icns
DERIVEDPNG1024FILES = \
ConvertAmicasJPEG2000FilesetToDicom_1024.png \
DicomImageBlackout_1024.png \
DicomImageViewer_1024.png \
DownloadOrTransmit_1024.png \
MediaImporter_1024.png \
WatchFolderAndSend_1024.png
PNG256FILES = \
ConvertAmicasJPEG2000FilesetToDicom.png \
DicomCleaner.png \
DicomImageBlackout.png \
DicomImageViewer.png \
DoseUtility.png \
DownloadOrTransmit.png \
MediaImporter.png \
WatchFolderAndSend.png
all: #${DERIVEDPNG1024FILES} ${PNG256FILES} ${ICOFILES} ${ICONFILES}
PATHTOROOT = ..
include ${PATHTOROOT}/Makefile.common.mk
.SUFFIXES: .iconset .icns .ico .png
# http://www.winterdrache.de/freeware/png2ico/
# port install png2ico
# NB. unusual reverse order of arguments ... USAGE: png2ico icofile [--colors <num>] pngfile1 [pngfile2 ...]
.png.ico:
png2ico $@ $<
.png.icns:
./makeiconsetfrompng.sh $@
clean:
rm -rf *~ *.class core *.bak test.* *.ico *.iconset *.icns
rm -f ${DERIVEDPNG1024FILES} ${PNG256FILES}
# logo_1024.png is hand created by Save for web in AI from logo.svg as 1024 wide then pad canvas to square in Photoshop
ConvertAmicasJPEG2000FilesetToDicom_1024.png: logo_1024.png
cp $< $@
ConvertAmicasJPEG2000FilesetToDicom.png: ConvertAmicasJPEG2000FilesetToDicom_1024.png
sips -z 128 128 $< --out $@
DicomImageBlackout_1024.png: logo_1024.png
cp $< $@
DicomImageBlackout.png: DicomImageBlackout_1024.png
sips -z 128 128 $< --out $@
DicomImageViewer_1024.png: logo_1024.png
cp $< $@
DicomImageViewer.png: DicomImageViewer_1024.png
sips -z 128 128 $< --out $@
DownloadOrTransmit_1024.png: logo_1024.png
cp $< $@
DownloadOrTransmit.png: DicomImageViewer_1024.png
sips -z 128 128 $< --out $@
MediaImporter_1024.png: logo_1024.png
cp $< $@
MediaImporter.png: DicomImageViewer_1024.png
sips -z 128 128 $< --out $@
WatchFolderAndSend_1024.png: logo_1024.png
cp $< $@
WatchFolderAndSend.png: DicomImageViewer_1024.png
sips -z 128 128 $< --out $@
# These are the non-derived PNG files created by hand editing ....
# DoseUtility_1024.png is hand created by pasting RadiationWarningSymbol/Radiation_warning_symbol.svg into logo.svg then Save for web in AI from logo.svg as 1024 wide then pad canvas to square in Photoshop
DoseUtility.png: DoseUtility_1024.png
sips -z 128 128 $< --out $@
# DicomCleaner_1024.png is hand created by pasting WashingMachine/Symbol-washing-machine.svg into logo.svg then Save for web in AI from logo.svg as 1024 wide then pad canvas to square in Photoshop
DicomCleaner.png: DicomCleaner_1024.png
sips -z 128 128 $< --out $@
|