blob: e390d94972380afd4e81d6e619b441b118640645 [file] [log] [blame]
adamdunkels5ab9ddb2003-04-08 19:05:22 +00001# 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#
adamdunkels82a4eec2004-02-16 20:54:42 +000033# $Id: Makefile.programs,v 1.19 2004/02/16 20:54:42 adamdunkels Exp $
adamdunkels5ab9ddb2003-04-08 19:05:22 +000034#
35
adamdunkels179f7182003-04-17 18:59:05 +000036all: loader-arch-module.o loader-arch-dsc.o contiki-labels.o \
adamdunkels00c9bdb2003-04-17 19:55:29 +000037 about.prg about.dsc \
38 netconf.prg netconf.dsc \
adamdunkelsf471cc42003-04-18 00:14:13 +000039 processes.prg processes.dsc \
40 www.prg www.dsc \
41 simpletelnet.prg telnet.dsc \
adamdunkelsf471cc42003-04-18 00:14:13 +000042 memstat.prg memstat.dsc \
adamdunkelsc80d9e32003-07-31 23:11:13 +000043 webserver.prg webserver.dsc \
44 wget.prg wget.dsc \
adamdunkelsf471cc42003-04-18 00:14:13 +000045 directory.prg directory.dsc \
46 blueround.prg blueround.dsc \
adamdunkelsfacd25c2003-04-24 17:12:54 +000047 enabler.prg enabler.dsc \
48 springlight.prg springlight.dsc \
49 default.prg default.dsc \
adamdunkelsdbfd2bf2003-08-12 20:13:50 +000050 ravenpine.prg ravenpine.dsc \
adamdunkelsfe6f4252003-08-20 22:53:20 +000051 ssfire.sav ssfire.dsc \
52 plasma.sav plasma.dsc \
adamdunkelsc80d9e32003-07-31 23:11:13 +000053 rrnet.drv rrnet.dsc \
adamdunkelseeb5edd2003-04-25 08:45:59 +000054 slip.drv slip.dsc \
adamdunkelsfe6f4252003-08-20 22:53:20 +000055 slip-ss.drv \
adamdunkelsc80d9e32003-07-31 23:11:13 +000056 tfe.drv tfe.dsc \
adamdunkelsfe6f4252003-08-20 22:53:20 +000057 config.prg configedit.prg configedit.dsc \
adamdunkels7b37bd82003-08-21 22:27:29 +000058 shell.prg shell.dsc \
adamdunkels82a4eec2004-02-16 20:54:42 +000059 telnetd.prg telnetd.dsc \
60 email.prg \
61 vnc.prg \
adamdunkels3ed0c262003-09-04 23:01:17 +000062# calc.prg \
63# ssconfig.prg \
adamdunkels5ab9ddb2003-04-08 19:05:22 +000064
adamdunkelsfacd25c2003-04-24 17:12:54 +000065SYS=c64
adamdunkels5ab9ddb2003-04-08 19:05:22 +000066
adamdunkelsfacd25c2003-04-24 17:12:54 +000067include $(CONTIKICC65)/Makefile.common
68
69CFLAGS:=$(CFLAGSCOMMON) \
adamdunkels77e47062003-04-17 15:09:31 +000070 -DCTK_HIRES \
adamdunkels5ab9ddb2003-04-08 19:05:22 +000071 -DWITH_LOADER_ARCH \
adamdunkelsc80d9e32003-07-31 23:11:13 +000072 -DWITH_UIP -DWITH_ETHERNET
adamdunkels179f7182003-04-17 18:59:05 +000073
adamdunkels39c57502003-08-09 13:14:33 +000074directory.prg: directory.o
75
adamdunkels7b37bd82003-08-21 22:27:29 +000076shell.prg: shell-gui.o shell.o
77
adamdunkels82a4eec2004-02-16 20:54:42 +000078telnetd.prg: telnetd.o shell.o memb.o telnetd-gui.o
adamdunkelsfe6f4252003-08-20 22:53:20 +000079
adamdunkels243e1f72003-08-06 23:13:06 +000080configedit.prg: configedit.o c64-fs-write.o
81
adamdunkels5ab9ddb2003-04-08 19:05:22 +000082email.prg: $(EMAIL)
83
84www.prg: $(WWW)
85
adamdunkels39c57502003-08-09 13:14:33 +000086webserver.prg: $(WEBSERVER) c64-fs-raw.o
adamdunkelsc80d9e32003-07-31 23:11:13 +000087
adamdunkels5ab9ddb2003-04-08 19:05:22 +000088simpletelnet.prg: $(TELNET)
89
adamdunkelsfe6f4252003-08-20 22:53:20 +000090tfe.drv: tfe-drv.o cs8900a.o tfe-drv-asm.o uip_arp.o
adamdunkelsc80d9e32003-07-31 23:11:13 +000091
adamdunkelsfe6f4252003-08-20 22:53:20 +000092rrnet.drv: rrnet-drv.o cs8900a.o rrnet-drv-asm.o uip_arp.o
adamdunkelseeb5edd2003-04-25 08:45:59 +000093
94slip.drv: slip-drv.o rs232dev.o
95
adamdunkelsfe6f4252003-08-20 22:53:20 +000096slip-ss.drv: slip-drv.o rs232dev-ss.o rs232silversurfer.o contiki-labels.o
97 cl65 --module -t $(SYS) -o $@ loader-arch-module.o $^
98
99
adamdunkelsc80d9e32003-07-31 23:11:13 +0000100wget.prg: wget.o webclient.o http-strings.o http-user-agent-string.o
101
adamdunkelsfacd25c2003-04-24 17:12:54 +0000102VNC=vnc.o vnc-viewer.o vnc-draw.o vnc-draw-asm.o
adamdunkels77e47062003-04-17 15:09:31 +0000103vnc.prg: $(VNC)
104
105blueround.prg: themeloader.o ctk-hires-theme-blueround.o contiki-labels.o
106 cl65 --module -t c64 -o $@ loader-arch-module.o $^
107
108default.prg: themeloader.o ctk-hires-theme-default.o contiki-labels.o
adamdunkels00c9bdb2003-04-17 19:55:29 +0000109 cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^
adamdunkelsfacd25c2003-04-24 17:12:54 +0000110
111enabler.prg: themeloader.o ctk-hires-theme-enabler.o contiki-labels.o
112 cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^
113
114springlight.prg: themeloader.o ctk-hires-theme-springlight.o contiki-labels.o
115 cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^
116
adamdunkelsdbfd2bf2003-08-12 20:13:50 +0000117ravenpine.prg: themeloader.o ctk-hires-theme-ravenpine.o contiki-labels.o
118 cl65 -Ln default-prg.labels --module -t c64 -o $@ loader-arch-module.o $^
119
120
adamdunkelsfe6f4252003-08-20 22:53:20 +0000121memstat.prg: memstat.o