From 69492ff4eae5f376821ea05fc8098e57bd44f79e Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 31 Dec 2006 14:30:11 +0000 Subject: [PATCH] Removed Contiki 1.x makefiles to avoid confusion on understanding the (already complex enough) Contiki 2.x build system. --- cpu/6502/Makefile.cc65 | 76 ---------------------------------------- cpu/6502/Makefile.common | 27 -------------- 2 files changed, 103 deletions(-) delete mode 100644 cpu/6502/Makefile.cc65 delete mode 100644 cpu/6502/Makefile.common diff --git a/cpu/6502/Makefile.cc65 b/cpu/6502/Makefile.cc65 deleted file mode 100644 index 7f29239e1..000000000 --- a/cpu/6502/Makefile.cc65 +++ /dev/null @@ -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' diff --git a/cpu/6502/Makefile.common b/cpu/6502/Makefile.common deleted file mode 100644 index 36f74a683..000000000 --- a/cpu/6502/Makefile.common +++ /dev/null @@ -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