blob: b3df70e856bc3e58180e9c2fa0d1fe1c1cb25fcf [file] [log] [blame]
oliverschmidt76872e82004-12-26 14:13:34 +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. The name of the author may not be used to endorse or promote
13# products derived from this software without specific prior
14# written permission.
15#
16# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
17# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
22# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
25# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
26# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27#
28# This file is part of the Contiki desktop environment
29#
oliverschmidtd7616e82006-05-30 20:50:26 +000030# $Id: Makefile.programs,v 1.20 2006/05/30 20:51:01 oliverschmidt Exp $
oliverschmidt76872e82004-12-26 14:13:34 +000031#
32
oliverschmidt240f9032005-05-07 13:29:18 +000033all: loader-arch-module.o loader-arch-module-dsc.o contiki-labels.o \
oliverschmidt63e299e2005-05-06 22:38:17 +000034 about.prg about.dsc \
35 calc.prg calc.dsc \
oliverschmidt76872e82004-12-26 14:13:34 +000036 config.prg \
oliverschmidt63e299e2005-05-06 22:38:17 +000037 configedit.prg configedit.dsc \
38 dhcp.prg dhcp.dsc \
39 directory.prg directory.dsc \
40 email.prg email.dsc \
41 ftp.prg ftp.dsc \
42 irc.prg irc.dsc \
43 memstat.prg memstat.dsc \
44 processes.prg processes.dsc \
45 shell.prg shell.dsc \
46 telnet.prg telnet.dsc \
oliverschmidt76872e82004-12-26 14:13:34 +000047 welcome.prg \
oliverschmidt63e299e2005-05-06 22:38:17 +000048 wget.prg wget.dsc \
49 www.prg www.dsc \
50 lancegs.drv lancegs.dsc \
oliverschmidt0851aaa2005-05-12 21:14:20 +000051 uther.drv uther.dsc \
52 plasma.sav plasma.dsc \
53 ssfire.sav ssfire.dsc
oliverschmidt76872e82004-12-26 14:13:34 +000054
oliverschmidtd7616e82006-05-30 20:50:26 +000055ifeq ($(SYS),apple2enh)
56
57all: webserver.prg webserver.dsc \
58 bounce.sav bounce.dsc
59
60endif # apple2enh
oliverschmidt76872e82004-12-26 14:13:34 +000061
oliverschmidt28857a42005-04-18 23:19:33 +000062include $(CONTIKI)/Makefile.common
63include $(CONTIKICC65)/Makefile.cc65
oliverschmidt76872e82004-12-26 14:13:34 +000064
65AFLAGS:=-t $(SYS)
66
oliverschmidta34b1312005-04-24 23:23:29 +000067CFLAGS:=$(CFLAGSCC65) \
oliverschmidt76872e82004-12-26 14:13:34 +000068 -DWITH_ASCII -DWITH_UIP -DWITH_LOADER_ARCH -DWITH_ETHERNET
69
oliverschmidt0dca9282005-05-06 00:05:46 +000070configedit.prg: configedit.o ctk-textentry-checkbox.o
71
oliverschmidt28857a42005-04-18 23:19:33 +000072dhcp.prg: $(DHCP) lc-asm.o
oliverschmidt76872e82004-12-26 14:13:34 +000073
oliverschmidt6523c5d2005-05-07 14:25:47 +000074directory.prg: $(DIRECTORY) cfs.o
75
oliverschmidt7ca33552005-05-05 00:14:16 +000076email.prg: $(EMAIL) lc-asm.o
77
oliverschmidt28857a42005-04-18 23:19:33 +000078ftp.prg: $(FTP) cfs.o
79
80irc.prg: $(IRC) lc-asm.o
81
oliverschmidtf323cbf2005-04-19 22:17:47 +000082shell.prg: $(SHELL_) cfs.o
oliverschmidt76872e82004-12-26 14:13:34 +000083
84telnet.prg: $(TELNET)
85
oliverschmidt3fa67222006-05-28 23:22:29 +000086webserver.prg: $(WEBSERVER) lc-asm.o
87
oliverschmidt28857a42005-04-18 23:19:33 +000088wget.prg: $(WGET)
oliverschmidtd78036e2005-03-31 21:55:14 +000089
oliverschmidt76872e82004-12-26 14:13:34 +000090www.prg: $(WWW)
oliverschmidt63e299e2005-05-06 22:38:17 +000091
92lancegs.drv: lancegs-drv.o lan91c96.o uip_arp.o
93
94uther.drv: uther-drv.o cs8900a.o uther-drv-asm.o uip_arp.o