blob: 4b1844dede3306e1e171f865463f5e2f74dc8b8f [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#
oliverschmidt6523c5d2005-05-07 14:25:47 +000030# $Id: Makefile.programs,v 1.17 2005/05/07 14:30:35 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 \
51 uther.drv uther.dsc
oliverschmidt76872e82004-12-26 14:13:34 +000052
53SYS=apple2enh
54
oliverschmidt28857a42005-04-18 23:19:33 +000055include $(CONTIKI)/Makefile.common
56include $(CONTIKICC65)/Makefile.cc65
oliverschmidt76872e82004-12-26 14:13:34 +000057
58AFLAGS:=-t $(SYS)
59
oliverschmidta34b1312005-04-24 23:23:29 +000060CFLAGS:=$(CFLAGSCC65) \
oliverschmidt76872e82004-12-26 14:13:34 +000061 -DWITH_ASCII -DWITH_UIP -DWITH_LOADER_ARCH -DWITH_ETHERNET
62
oliverschmidt0dca9282005-05-06 00:05:46 +000063configedit.prg: configedit.o ctk-textentry-checkbox.o
64
oliverschmidt28857a42005-04-18 23:19:33 +000065dhcp.prg: $(DHCP) lc-asm.o
oliverschmidt76872e82004-12-26 14:13:34 +000066
oliverschmidt6523c5d2005-05-07 14:25:47 +000067directory.prg: $(DIRECTORY) cfs.o
68
oliverschmidt7ca33552005-05-05 00:14:16 +000069email.prg: $(EMAIL) lc-asm.o
70
oliverschmidt28857a42005-04-18 23:19:33 +000071ftp.prg: $(FTP) cfs.o
72
73irc.prg: $(IRC) lc-asm.o
74
oliverschmidtf323cbf2005-04-19 22:17:47 +000075shell.prg: $(SHELL_) cfs.o
oliverschmidt76872e82004-12-26 14:13:34 +000076
77telnet.prg: $(TELNET)
78
oliverschmidt28857a42005-04-18 23:19:33 +000079wget.prg: $(WGET)
oliverschmidtd78036e2005-03-31 21:55:14 +000080
oliverschmidt76872e82004-12-26 14:13:34 +000081www.prg: $(WWW)
oliverschmidt63e299e2005-05-06 22:38:17 +000082
83lancegs.drv: lancegs-drv.o lan91c96.o uip_arp.o
84
85uther.drv: uther-drv.o cs8900a.o uther-drv-asm.o uip_arp.o