Removed Contiki 1.x makefiles to avoid confusion on understanding the (already complex enough) Contiki 2.x build system.

This commit is contained in:
oliverschmidt 2006-12-31 14:30:11 +00:00
parent 6c4bcfb86f
commit 69492ff4ea
2 changed files with 0 additions and 103 deletions

View File

@ -1,76 +0,0 @@
-include *.u
.SECONDARY:
CONTIKI_CPU=$(CONTIKI)/cpu/6502
INCLUDES=-I. -I$(CONTIKI_CPU) \
${addprefix -I$(CONTIKI)/platform/$(TARGET)/, . apps ctk lib loader net} \
${addprefix -I,$(APPDIRS)} -I$(CONTIKI)/core
CCDEP=gcc
CDEPFLAGS=$(INCLUDES)
CC=cc65
AS=ca65
LD=ld65
CL=cl65
PORTDIRS=apps conf ctk lib loader net
CONTIKICC65DIRS=${addprefix $(CONTIKI_CPU)/, apps lib loader net}
CFLAGSCC65=$(INCLUDES) \
-DWITH_PETSCII \
-t $(SYS) --add-source --create-dep
CLFLAGS=-Ln contiki-labels
OPT=-Or
#%.o: %.c
#%.s: %.c
# $(CC) $(CFLAGS) $(OPT) -o $(notdir $@) $<
#%.o: %.s
# $(AS) $(AFLAGS) -o $@ $<
#%.o: %.S
# $(AS) $(AFLAGS) -o $@ $<
$(OBJECTDIR)/%.o: %.c
$(CC) $(CFLAGS) $< -o $@
CONTIKI_TARGET_DIRS_CONCAT = ${addprefix $(CONTIKI)/platform/$(TARGET)/, \
$(CONTIKI_TARGET_DIRS)}
vpath %.c $(PROJECTDIRS) \
$(CONTIKIDIRS) $(APPDIRS) $(CONTIKI_TARGET_DIRS_CONCAT) \
$(CONTIKI_CPU)
vpath %.S $(PORTDIRS) $(CONTIKICC65DIRS) $(CONTIKIDIRS)
%.sav: %.o contiki-labels.o
cl65 --module -t $(SYS) -o $@ loader-arch-module.o $^
%.prg: %.o contiki-labels.o
cl65 --module -t $(SYS) -o $@ loader-arch-module.o $^
%.drv: %-drv.o contiki-labels.o
cl65 --module -t $(SYS) -o $@ loader-arch-module.o $^
%.drv: %.o contiki-labels.o
cl65 --module -t $(SYS) -o $@ loader-arch-module.o $^
%.dsc: %-dsc.o contiki-labels.o
cl65 --module -t $(SYS) -o $@ loader-arch-module-dsc.o $^
contiki-labels.s: contiki
./$(CONTIKI)/tools/cc65-make-labels
#clean:
# rm -f *.o *~ *core contiki *.map *.s *.u *.dsc *.prg *.drv *.sav contiki-labels
codesize:
od65 --dump-segsize *.o | egrep '\.o|CODE'

View File

@ -1,27 +0,0 @@
UIP=uip.o uip_arch.o uiplib.o resolv.o tcpip.o
DHCP=dhcp.o dhcpc.o
DIRECTORY=directory.o loader-arch-dsc.o
EDITOR=editor.o memb.o ctk-filedialog.o
EMAIL=email.o smtp-socket.o smtp-strings.o ctk-textentry-multiline.o psock.o uipbuf.o memb.o
FTP=ftp.o ftpc.o memb.o
IRC=irc.o ircc.o psock.o uipbuf.o ircc-strings.o ctk-textentry-cmdline.o
SHELL_=shell-gui.o shell.o ctk-textentry-cmdline.o
TELNET=simpletelnet.o telnet.o
TELNETD=telnetd.o shell.o memb.o telnetd-gui.o
VNCVIEWER=vnc.o vnc-viewer.o vnc-draw.o
WEBSERVER=webserver.o httpd.o http-strings.o psock.o uipbuf.o memb.o httpd-fs.o
WGET=wget.o webclient.o http-strings.o http-user-agent-string.o
WWW=www.o webclient.o http-strings.o http-user-agent-string.o htmlparser.o html-strings.o