adamdunkels | 5ab9ddb | 2003-04-08 19:05:22 +0000 | [diff] [blame] | 1 | # Copyright (c) 2003, Adam Dunkels. |
| 2 | # All rights reserved. |
| 3 | # |
| 4 | # Redistribution and use in source and binary forms, with or without |
| 5 | # modification, are permitted provided that the following conditions |
| 6 | # are met: |
| 7 | # 1. Redistributions of source code must retain the above copyright |
| 8 | # notice, this list of conditions and the following disclaimer. |
| 9 | # 2. Redistributions in binary form must reproduce the above copyright |
| 10 | # notice, this list of conditions and the following disclaimer in the |
| 11 | # documentation and/or other materials provided with the distribution. |
| 12 | # 3. All advertising materials mentioning features or use of this software |
| 13 | # must display the following acknowledgement: |
| 14 | # This product includes software developed by Adam Dunkels. |
| 15 | # 4. The name of the author may not be used to endorse or promote |
| 16 | # products derived from this software without specific prior |
| 17 | # written permission. |
| 18 | # |
| 19 | # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS |
| 20 | # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 21 | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 22 | # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY |
| 23 | # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 24 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE |
| 25 | # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
| 26 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
| 27 | # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
| 28 | # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 29 | # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 | # |
| 31 | # This file is part of the Contiki desktop environment |
| 32 | # |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 33 | # $Id: Makefile.programs,v 1.16 2003/08/20 22:53:20 adamdunkels Exp $ |
adamdunkels | 5ab9ddb | 2003-04-08 19:05:22 +0000 | [diff] [blame] | 34 | # |
| 35 | |
adamdunkels | 179f718 | 2003-04-17 18:59:05 +0000 | [diff] [blame] | 36 | all: loader-arch-module.o loader-arch-dsc.o contiki-labels.o \ |
adamdunkels | 00c9bdb | 2003-04-17 19:55:29 +0000 | [diff] [blame] | 37 | about.prg about.dsc \ |
| 38 | netconf.prg netconf.dsc \ |
adamdunkels | f471cc4 | 2003-04-18 00:14:13 +0000 | [diff] [blame] | 39 | processes.prg processes.dsc \ |
| 40 | www.prg www.dsc \ |
| 41 | simpletelnet.prg telnet.dsc \ |
| 42 | email.prg \ |
| 43 | memstat.prg memstat.dsc \ |
adamdunkels | 0471403 | 2003-08-05 13:54:31 +0000 | [diff] [blame] | 44 | vnc.prg \ |
adamdunkels | c80d9e3 | 2003-07-31 23:11:13 +0000 | [diff] [blame] | 45 | webserver.prg webserver.dsc \ |
| 46 | wget.prg wget.dsc \ |
adamdunkels | 243e1f7 | 2003-08-06 23:13:06 +0000 | [diff] [blame] | 47 | calc.prg \ |
adamdunkels | f471cc4 | 2003-04-18 00:14:13 +0000 | [diff] [blame] | 48 | directory.prg directory.dsc \ |
| 49 | blueround.prg blueround.dsc \ |
adamdunkels | facd25c | 2003-04-24 17:12:54 +0000 | [diff] [blame] | 50 | enabler.prg enabler.dsc \ |
| 51 | springlight.prg springlight.dsc \ |
| 52 | default.prg default.dsc \ |
adamdunkels | dbfd2bf | 2003-08-12 20:13:50 +0000 | [diff] [blame] | 53 | ravenpine.prg ravenpine.dsc \ |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 54 | ssfire.sav ssfire.dsc \ |
| 55 | plasma.sav plasma.dsc \ |
adamdunkels | c80d9e3 | 2003-07-31 23:11:13 +0000 | [diff] [blame] | 56 | rrnet.drv rrnet.dsc \ |
adamdunkels | eeb5edd | 2003-04-25 08:45:59 +0000 | [diff] [blame] | 57 | slip.drv slip.dsc \ |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 58 | slip-ss.drv \ |
adamdunkels | c80d9e3 | 2003-07-31 23:11:13 +0000 | [diff] [blame] | 59 | tfe.drv tfe.dsc \ |
adamdunkels | 243e1f7 | 2003-08-06 23:13:06 +0000 | [diff] [blame] | 60 | ssconfig.prg \ |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 61 | config.prg configedit.prg configedit.dsc \ |
| 62 | shell.prg shell.dsc |
adamdunkels | 5ab9ddb | 2003-04-08 19:05:22 +0000 | [diff] [blame] | 63 | |
adamdunkels | facd25c | 2003-04-24 17:12:54 +0000 | [diff] [blame] | 64 | SYS=c64 |
adamdunkels | 5ab9ddb | 2003-04-08 19:05:22 +0000 | [diff] [blame] | 65 | |
adamdunkels | facd25c | 2003-04-24 17:12:54 +0000 | [diff] [blame] | 66 | include $(CONTIKICC65)/Makefile.common |
| 67 | |
| 68 | CFLAGS:=$(CFLAGSCOMMON) \ |
adamdunkels | 77e4706 | 2003-04-17 15:09:31 +0000 | [diff] [blame] | 69 | -DCTK_HIRES \ |
adamdunkels | 5ab9ddb | 2003-04-08 19:05:22 +0000 | [diff] [blame] | 70 | -DWITH_LOADER_ARCH \ |
adamdunkels | c80d9e3 | 2003-07-31 23:11:13 +0000 | [diff] [blame] | 71 | -DWITH_UIP -DWITH_ETHERNET |
adamdunkels | 179f718 | 2003-04-17 18:59:05 +0000 | [diff] [blame] | 72 | |
adamdunkels | 39c5750 | 2003-08-09 13:14:33 +0000 | [diff] [blame] | 73 | directory.prg: directory.o |
| 74 | |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 75 | shell.prg: shell.o |
| 76 | |
adamdunkels | 243e1f7 | 2003-08-06 23:13:06 +0000 | [diff] [blame] | 77 | configedit.prg: configedit.o c64-fs-write.o |
| 78 | |
adamdunkels | 5ab9ddb | 2003-04-08 19:05:22 +0000 | [diff] [blame] | 79 | email.prg: $(EMAIL) |
| 80 | |
| 81 | www.prg: $(WWW) |
| 82 | |
adamdunkels | 39c5750 | 2003-08-09 13:14:33 +0000 | [diff] [blame] | 83 | webserver.prg: $(WEBSERVER) c64-fs-raw.o |
adamdunkels | c80d9e3 | 2003-07-31 23:11:13 +0000 | [diff] [blame] | 84 | |
adamdunkels | 5ab9ddb | 2003-04-08 19:05:22 +0000 | [diff] [blame] | 85 | simpletelnet.prg: $(TELNET) |
| 86 | |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 87 | tfe.drv: tfe-drv.o cs8900a.o tfe-drv-asm.o uip_arp.o |
adamdunkels | c80d9e3 | 2003-07-31 23:11:13 +0000 | [diff] [blame] | 88 | |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 89 | rrnet.drv: rrnet-drv.o cs8900a.o rrnet-drv-asm.o uip_arp.o |
adamdunkels | eeb5edd | 2003-04-25 08:45:59 +0000 | [diff] [blame] | 90 | |
| 91 | slip.drv: slip-drv.o rs232dev.o |
| 92 | |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 93 | slip-ss.drv: slip-drv.o rs232dev-ss.o rs232silversurfer.o contiki-labels.o |
| 94 | cl65 --module -t $(SYS) -o $@ loader-arch-module.o $^ |
| 95 | |
| 96 | |
adamdunkels | c80d9e3 | 2003-07-31 23:11:13 +0000 | [diff] [blame] | 97 | wget.prg: wget.o webclient.o http-strings.o http-user-agent-string.o |
| 98 | |
adamdunkels | facd25c | 2003-04-24 17:12:54 +0000 | [diff] [blame] | 99 | VNC=vnc.o vnc-viewer.o vnc-draw.o vnc-draw-asm.o |
adamdunkels | 77e4706 | 2003-04-17 15:09:31 +0000 | [diff] [blame] | 100 | vnc.prg: $(VNC) |
| 101 | |
| 102 | blueround.prg: themeloader.o ctk-hires-theme-blueround.o contiki-labels.o |
| 103 | cl65 --module -t c64 -o $@ loader-arch-module.o $^ |
| 104 | |
| 105 | default.prg: themeloader.o ctk-hires-theme-default.o contiki-labels.o |
adamdunkels | 00c9bdb | 2003-04-17 19:55:29 +0000 | [diff] [blame] | 106 | cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^ |
adamdunkels | facd25c | 2003-04-24 17:12:54 +0000 | [diff] [blame] | 107 | |
| 108 | enabler.prg: themeloader.o ctk-hires-theme-enabler.o contiki-labels.o |
| 109 | cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^ |
| 110 | |
| 111 | springlight.prg: themeloader.o ctk-hires-theme-springlight.o contiki-labels.o |
| 112 | cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^ |
| 113 | |
adamdunkels | dbfd2bf | 2003-08-12 20:13:50 +0000 | [diff] [blame] | 114 | ravenpine.prg: themeloader.o ctk-hires-theme-ravenpine.o contiki-labels.o |
| 115 | cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^ |
| 116 | |
| 117 | |
adamdunkels | fe6f425 | 2003-08-20 22:53:20 +0000 | [diff] [blame^] | 118 | memstat.prg: memstat.o |