Changeset 1b1164e8 in mainline
- Timestamp:
- 2010-03-23T14:44:00Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 63f8966
- Parents:
- d99c1d2
- Files:
-
- 6 added
- 8 deleted
- 96 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
HelenOS.config
rd99c1d2 r1b1164e8 526 526 @ "modular" Modular 527 527 @ "module" One module 528 ! NETWORKING (choice)528 ! CONFIG_NETWORKING (choice) 529 529 530 530 % DP8390 (NE2k) network interface 531 ! [ NETWORKING=modular|NETWORKING=module] CONFIG_NETIF_DP8390 (y/n)532 531 ! [CONFIG_NETWORKING=modular|CONFIG_NETWORKING=module] CONFIG_NETIF_DP8390 (y/n) 532 -
boot/Makefile.common
rd99c1d2 r1b1164e8 102 102 $(USPACEDIR)/srv/net/app/nettest2/nettest2 103 103 104 ifneq ($(NETWORKING), none) 105 NET_CFG = \ 106 $(USPACEDIR)/srv/net/cfg/$(NETWORKING)/general \ 107 $(USPACEDIR)/srv/net/cfg/$(NETWORKING)/lo 108 109 ifeq ($(CONFIG_NETIF_DP8390),y) 110 NET_SRVS += $(USPACEDIR)/srv/net/netif/dp8390/dp8390 111 112 NET_CFG += $(USPACEDIR)/srv/net/cfg/$(NETWORKING)/ne2k 113 endif 114 115 ifeq ($(NETWORKING), module) 116 RD_APPS += $(NET_APPS) 117 118 RD_SRVS += $(NET_SRVS) 119 120 CFG += $(NET_CFG) 121 else 122 ifeq ($(NETWORKING), modular) 123 RD_APPS += $(NET_APPS) 124 125 RD_SRVS += $(NET_SRVS) 126 127 RD_SRVS += $(USPACEDIR)/srv/net/il/ip/ip \ 104 ifneq ($(CONFIG_NETWORKING),none) 105 NET_CFG = \ 106 $(USPACEDIR)/srv/net/cfg/$(CONFIG_NETWORKING)/general \ 107 $(USPACEDIR)/srv/net/cfg/$(CONFIG_NETWORKING)/lo 108 109 ifeq ($(CONFIG_NETIF_DP8390),y) 110 NET_SRVS += $(USPACEDIR)/srv/net/netif/dp8390/dp8390 111 NET_CFG += $(USPACEDIR)/srv/net/cfg/$(CONFIG_NETWORKING)/ne2k 112 endif 113 114 ifeq ($(CONFIG_NETWORKING),module) 115 RD_APPS += $(NET_APPS) 116 RD_SRVS += $(NET_SRVS) 117 CFG += $(NET_CFG) 118 endif 119 120 ifeq ($(CONFIG_NETWORKING),modular) 121 RD_APPS += $(NET_APPS) 122 RD_SRVS += $(NET_SRVS) 123 RD_SRVS += \ 124 $(USPACEDIR)/srv/net/il/ip/ip \ 128 125 $(USPACEDIR)/srv/net/il/arp/arp \ 129 126 $(USPACEDIR)/srv/net/tl/udp/udp \ 130 127 $(USPACEDIR)/srv/net/tl/tcp/tcp \ 131 128 $(USPACEDIR)/srv/net/tl/icmp/icmp 132 133 CFG += $(NET_CFG)129 CFG += $(NET_CFG) 130 endif 134 131 endif 135 endif136 endif -
defaults/amd64/Makefile.config
rd99c1d2 r1b1164e8 63 63 64 64 # Default networking architecture 65 NETWORKING = modular65 CONFIG_NETWORKING = modular -
defaults/arm32/Makefile.config
rd99c1d2 r1b1164e8 39 39 40 40 # Default networking architecture 41 NETWORKING = none 41 CONFIG_NETWORKING = none -
defaults/ia32/Makefile.config
rd99c1d2 r1b1164e8 69 69 70 70 # Default networking architecture 71 NETWORKING = modular71 CONFIG_NETWORKING = modular -
defaults/ia64/Makefile.config
rd99c1d2 r1b1164e8 51 51 52 52 # Default networking architecture 53 NETWORKING = modular53 CONFIG_NETWORKING = modular -
defaults/mips32/Makefile.config
rd99c1d2 r1b1164e8 45 45 46 46 # Default networking architecture 47 NETWORKING = none 47 CONFIG_NETWORKING = none -
defaults/ppc32/Makefile.config
rd99c1d2 r1b1164e8 45 45 46 46 # Default networking architecture 47 NETWORKING = none 47 CONFIG_NETWORKING = none -
defaults/sparc64/Makefile.config
rd99c1d2 r1b1164e8 63 63 64 64 # Default networking architecture 65 NETWORKING = modular65 CONFIG_NETWORKING = modular -
defaults/sparc64/sun4v/Makefile.config
rd99c1d2 r1b1164e8 13 13 CONFIG_FB = n 14 14 15 NETWORKING = none 16 15 CONFIG_NETWORKING = none -
defaults/special/abs32le/Makefile.config
rd99c1d2 r1b1164e8 6 6 7 7 # Networking architecture 8 NETWORKING = none8 CONFIG_NETWORKING = none -
uspace/Makefile
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ## Include configuration30 #31 32 29 -include ../Makefile.common 33 30 -include ../Makefile.config 31 32 ## Common binaries 33 # 34 34 35 35 DIRS = \ … … 64 64 srv/hid/fb \ 65 65 srv/hid/kbd \ 66 srv/hw/char/i8042 \ 67 srv/net 66 srv/hw/char/i8042 67 68 ## Platform-specific hardware support 69 # 68 70 69 71 ifneq ($(UARCH),abs32le) … … 89 91 endif 90 92 93 ## Networking 94 # 95 96 ifeq ($(CONFIG_NETIF_DP8390),y) 97 DIRS += srv/net/netif/dp8390 98 endif 99 100 NETWORKING_COMMON += \ 101 srv/net/netif/lo \ 102 srv/net/nil/eth \ 103 srv/net/nil/nildummy \ 104 srv/net/net \ 105 srv/net/net/start \ 106 srv/net/socket \ 107 srv/net/app/echo \ 108 srv/net/app/ping \ 109 srv/net/app/nettest1 \ 110 srv/net/app/nettest2 111 112 NETWORKING_MODULAR = \ 113 srv/net/il/arp \ 114 srv/net/il/ip \ 115 srv/net/tl/icmp \ 116 srv/net/tl/udp \ 117 srv/net/tl/tcp 118 119 ## System libraries 120 # 121 91 122 LIBC = lib/libc 92 123 LIBS = \ … … 108 139 LIBS_BUILD = $(addsuffix .build,$(LIBS)) 109 140 110 BUILDS := $(addsuffix .build,$(DIRS)) 111 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 141 ifeq ($(CONFIG_NETWORKING),modular) 142 BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) $(addsuffix .build,$(NETWORKING_MODULAR)) 143 endif 144 145 ifeq ($(CONFIG_NETWORKING),module) 146 BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) 147 endif 148 149 ifeq ($(CONFIG_NETWORKING),none) 150 BUILDS := $(addsuffix .build,$(DIRS)) 151 endif 152 153 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(NETWORKING_COMMON)) $(addsuffix .clean,$(NETWORKING_MODULAR)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 112 154 113 155 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean -
uspace/app/bdsh/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBC_PREFIX)/libc.a31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a 32 32 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) -I. -Icmds/ -Icmds/builtins -Icmds/modules 33 34 OUTPUT = bdsh 33 BINARY = bdsh 35 34 36 35 SOURCES = \ … … 60 59 scli.c 61 60 62 include ../Makefile.common61 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/edit/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = edit 31 BINARY = edit 34 32 35 33 SOURCES = \ … … 37 35 sheet.c 38 36 39 include ../Makefile.common37 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/getterm/Makefile
rd99c1d2 r1b1164e8 28 28 # 29 29 30 include ../../../version31 DEFS += -DRELEASE=$(RELEASE) "-DNAME=$(NAME)"32 33 30 USPACE_PREFIX = ../.. 34 LIBS = $(LIBC_PREFIX)/libc.a 35 36 OUTPUT = getterm 31 DEFS = -DRELEASE=$(RELEASE) "-DNAME=$(NAME)" 32 BINARY = getterm 37 33 38 34 SOURCES = \ … … 40 36 version.c 41 37 42 include ../Makefile.common38 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/init/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = init 31 BINARY = init 34 32 35 33 SOURCES = \ 36 34 init.c 37 35 38 include ../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/klog/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = klog 31 BINARY = klog 34 32 35 33 SOURCES = \ 36 34 klog.c 37 35 38 include ../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/mkfat/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBC_PREFIX)/libc.a31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a 32 32 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) 33 34 OUTPUT = mkfat 33 BINARY = mkfat 35 34 36 35 SOURCES = \ 37 36 mkfat.c 38 37 39 include ../Makefile.common38 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/redir/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = redir 31 BINARY = redir 34 32 35 33 SOURCES = \ 36 34 redir.c 37 35 38 include ../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/taskdump/Makefile
rd99c1d2 r1b1164e8 28 28 29 29 USPACE_PREFIX = ../.. 30 LIBS = $(LIBC_PREFIX)/libc.a31 30 EXTRA_CFLAGS = -Iinclude 32 33 OUTPUT = taskdump 31 BINARY = taskdump 34 32 35 33 SOURCES = \ … … 38 36 symtab.c 39 37 40 include ../Makefile.common38 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/tester/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = tester 31 BINARY = tester 34 32 35 33 SOURCES = \ … … 53 51 mm/malloc1.c 54 52 55 include ../Makefile.common53 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/tetris/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = tetris 31 BINARY = tetris 34 32 35 33 SOURCES = \ … … 40 38 screen.c 41 39 42 include ../Makefile.common40 include $(USPACE_PREFIX)/Makefile.common -
uspace/app/trace/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = trace 31 BINARY = trace 34 32 35 33 SOURCES = \ … … 41 39 errors.c 42 40 43 include ../Makefile.common41 include $(USPACE_PREFIX)/Makefile.common -
uspace/lib/libblock/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = libblock.a 31 LIBRARY = libblock 34 32 35 33 SOURCES = \ 36 34 libblock.c 37 35 38 include ../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/lib/libc/Makefile
rd99c1d2 r1b1164e8 28 28 # 29 29 30 -include ../../../Makefile.common 31 -include ../../../Makefile.config 32 33 USPACE_PREFIX = $(shell pwd)/../.. 34 LIBS = 35 36 LINK = arch/$(UARCH)/_link.ld 37 38 PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) 39 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) 40 EXTRA_OUTPUT = $(LINK) 30 USPACE_PREFIX = ../.. 31 ROOT_PATH = $(USPACE_PREFIX)/.. 41 32 42 33 INCLUDE_KERNEL = include/kernel … … 44 35 INCLUDE_LIBARCH = include/libarch 45 36 46 OUTPUT = libc.a 37 PRE_DEPEND = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) 38 EXTRA_OUTPUT = $(LINKER_SCRIPT) 39 EXTRA_CLEAN = $(INCLUDE_KERNEL) $(INCLUDE_ARCH) $(INCLUDE_LIBARCH) $(LINKER_SCRIPT) 40 LIBRARY = libc 41 42 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 43 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 44 45 -include $(COMMON_MAKEFILE) 46 -include $(CONFIG_MAKEFILE) 47 -include arch/$(UARCH)/Makefile.inc 47 48 48 49 GENERIC_SOURCES = \ … … 95 96 $(ARCH_SOURCES) 96 97 97 include ../Makefile.common98 include $(USPACE_PREFIX)/Makefile.common 98 99 99 100 $(INCLUDE_ARCH): $(INCLUDE_KERNEL) $(INCLUDE_KERNEL)/arch … … 108 109 ln -sfn ../$< $@ 109 110 110 $(LINK ): $(LINK).in111 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_P REFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@111 $(LINKER_SCRIPT): $(LINKER_SCRIPT).in 112 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@ -
uspace/lib/libc/arch/abs32le/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ifeq ($(COMPILER),clang)30 CLANG_ARCH = i38631 endif32 33 29 ARCH_SOURCES = \ 34 30 arch/$(UARCH)/src/entry.c \ … … 39 35 arch/$(UARCH)/src/stacktrace.c 40 36 41 ENDIANESS = LE 37 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/abs32le/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libc/arch/amd64/Makefile.common
rd99c1d2 r1b1164e8 27 27 # 28 28 29 CLANG_ARCH = x86_64 30 GCC_CFLAGS += -fno-omit-frame-pointer 29 31 30 ## Common names 31 # 32 ENDIANESS = LE 32 33 33 LIBC_PREFIX = ../../../lib/libc 34 SOFTINT_PREFIX = ../../../lib/softint 35 LIBS = $(LIBC_PREFIX)/libc.a 36 37 DEPEND = Makefile.depend 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = fb.job 40 OUTPUT = fb 34 BFD_NAME = elf64-x86-64 35 BFD_ARCH = i386:x86-64 -
uspace/lib/libc/arch/amd64/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 CLANG_ARCH = x86_6430 31 29 ARCH_SOURCES = \ 32 30 arch/$(UARCH)/src/entry.s \ … … 38 36 arch/$(UARCH)/src/stacktrace_asm.S 39 37 40 GCC_CFLAGS += -fno-omit-frame-pointer 41 LFLAGS += -N 42 43 ENDIANESS = LE 44 45 BFD_NAME = elf64-x86-64 46 BFD_ARCH = i386:x86-64 38 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/amd64/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libc/arch/arm32/Makefile.inc
rd99c1d2 r1b1164e8 38 38 arch/$(UARCH)/src/stacktrace_asm.S 39 39 40 GCC_CFLAGS += -ffixed-r9 -mtp=soft -mapcs-frame -fno-omit-frame-pointer 41 LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a 42 43 ENDIANESS = LE 44 45 BFD_NAME = elf32-littlearm 46 BFD_ARCH = arm 40 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/arm32/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libc/arch/ia32/Makefile.common
rd99c1d2 r1b1164e8 27 27 # 28 28 29 CLANG_ARCH = i386 30 GCC_CFLAGS += -march=pentium 29 31 30 ## Common names 31 # 32 ENDIANESS = LE 32 33 33 LIBC_PREFIX = ../../../lib/libc 34 SOFTINT_PREFIX = ../../../lib/softint 35 LIBS = $(LIBC_PREFIX)/libc.a 36 37 DEPEND = Makefile.depend 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = kbd.job 40 OUTPUT = kbd 34 BFD_NAME = elf32-i386 35 BFD_ARCH = i386 -
uspace/lib/libc/arch/ia32/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 CLANG_ARCH = i38630 31 29 ARCH_SOURCES = \ 32 30 arch/$(UARCH)/src/entry.s \ … … 39 37 arch/$(UARCH)/src/stacktrace_asm.S 40 38 41 GCC_CFLAGS += -march=pentium 42 LFLAGS += -N 43 44 ENDIANESS = LE 45 46 BFD_NAME = elf32-i386 47 BFD_ARCH = i386 39 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/ia32/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libc/arch/ia64/Makefile.common
rd99c1d2 r1b1164e8 27 27 # 28 28 29 GCC_CFLAGS += -fno-unwind-tables 29 30 30 ## Common names 31 # 31 ENDIANESS = LE 32 32 33 LIBC_PREFIX = ../../../lib/libc 34 SOFTINT_PREFIX = ../../../lib/softint 35 LIBS = $(LIBC_PREFIX)/libc.a 36 37 DEPEND = Makefile.depend 38 DEPEND_PREV = $(DEPEND).prev 39 JOB = console.job 40 OUTPUT = console 33 BFD_NAME = elf64-ia64-little 34 BFD_ARCH = ia64-elf64 -
uspace/lib/libc/arch/ia64/Makefile.inc
rd99c1d2 r1b1164e8 37 37 arch/$(UARCH)/src/stacktrace_asm.S 38 38 39 GCC_CFLAGS += -fno-unwind-tables 40 LFLAGS += -N $(SOFTINT_PREFIX)/libsoftint.a 41 42 ENDIANESS = LE 43 44 BFD_NAME = elf64-ia64-little 45 BFD_ARCH = ia64-elf64 39 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/ia64/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libc/arch/ia64/include/types.h
rd99c1d2 r1b1164e8 38 38 #define __64_BITS__ 39 39 40 typedef unsigned long longsysarg_t;40 typedef unsigned long sysarg_t; 41 41 42 42 typedef char int8_t; -
uspace/lib/libc/arch/mips32/Makefile.inc
rd99c1d2 r1b1164e8 36 36 arch/$(UARCH)/src/stacktrace_asm.S 37 37 38 GCC_CFLAGS += -mips3 39 40 ENDIANESS = LE 41 42 BFD_ARCH = mips 43 BFD_NAME = elf32-tradlittlemips 38 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/mips32/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libc/arch/mips32eb/Makefile.inc
rd99c1d2 r1b1164e8 36 36 arch/$(UARCH)/src/stacktrace_asm.S 37 37 38 GCC_CFLAGS += -mips3 39 LFLAGS += -N 40 41 ENDIANESS = BE 42 43 BFD_ARCH = mips 44 BFD_NAME = elf32-tradbigmips 38 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/ppc32/Makefile.inc
rd99c1d2 r1b1164e8 36 36 arch/$(UARCH)/src/stacktrace_asm.S 37 37 38 GCC_CFLAGS += -mcpu=powerpc -msoft-float -m32 39 AFLAGS += -a32 40 LFLAGS += -N 41 42 ENDIANESS = BE 43 44 BFD_NAME = elf32-powerpc 45 BFD_ARCH = powerpc:common 38 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/ppc32/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libc/arch/sparc64/Makefile.common
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 200 9 Lukas Mejdrech2 # Copyright (c) 2006 Martin Decky 3 3 # All rights reserved. 4 4 # … … 27 27 # 28 28 29 include ../../../Makefile.common 30 include ../../../Makefile.config 29 GCC_CFLAGS += -mcpu=ultrasparc -m64 30 LFLAGS = -no-check-sections 31 31 32 # keep netif drivers before nil modules 33 # in order to support networking architectures build 32 ENDIANESS = BE 34 33 35 ifeq ($(CONFIG_NETIF_DP8390),y) 36 DIRS = netif/dp8390 37 else 38 DIRS = 34 BFD_NAME = elf64-sparc 35 BFD_ARCH = sparc 36 37 ifeq ($(PROCESSOR),us) 38 DEFS += -DSUN4U 39 39 endif 40 40 41 DIRS += \ 42 netif/lo \ 43 nil/eth \ 44 nil/nildummy \ 45 net \ 46 net/start \ 47 socket \ 48 app/echo \ 49 app/ping \ 50 app/nettest1 \ 51 app/nettest2 52 53 DIRS_MODULAR = \ 54 il/arp \ 55 il/ip \ 56 tl/icmp \ 57 tl/udp \ 58 tl/tcp \ 59 60 DIRS_ALL = $(DIRS) $(DIRS_MODULAR) 61 62 ifeq ($(NETWORKING), module) 63 BUILDS := $(addsuffix .build,$(DIRS)) 64 else 65 ifeq ($(NETWORKING), modular) 66 BUILDS := $(addsuffix .build,$(DIRS_ALL)) 67 endif 41 ifeq ($(PROCESSOR),us3) 42 DEFS += -DSUN4U 68 43 endif 69 44 70 CLEANS := $(addsuffix .clean,$(DIRS_ALL)) 71 72 CHECKS := $(addsuffix .check,$(basename $(BUILDS))) 73 74 .PHONY: all build $(BUILDS) $(CLEANS) clean 75 76 all: $(BUILDS) 77 78 build: $(BUILDS) 79 80 check: $(CHECKS) 81 82 clean: $(CLEANS) 83 find $(DIRS_ALL) ./ -name '*.o' -follow -exec rm \{\} \; 84 85 $(CHECKS): 86 -$(MAKE) -C $(basename $@) check 87 88 $(CLEANS): 89 -$(MAKE) -C $(basename $@) clean 90 91 $(BUILDS): 92 $(MAKE) -C $(basename $@) all 45 ifeq ($(PROCESSOR),sun4v) 46 DEFS += -DSUN4V 47 endif -
uspace/lib/libc/arch/sparc64/Makefile.inc
rd99c1d2 r1b1164e8 35 35 arch/$(UARCH)/src/stacktrace_asm.S 36 36 37 GCC_CFLAGS += -mcpu=ultrasparc -m64 38 LFLAGS += -no-check-sections -N 39 40 ENDIANESS = BE 41 42 BFD_NAME = elf64-sparc 43 BFD_ARCH = sparc 44 45 ifeq ($(PROCESSOR),us) 46 DEFS += -DSUN4U 47 endif 48 49 ifeq ($(PROCESSOR),us3) 50 DEFS += -DSUN4U 51 endif 52 53 ifeq ($(PROCESSOR),sun4v) 54 DEFS += -DSUN4V 55 endif 37 .PRECIOUS: arch/$(UARCH)/src/entry.o -
uspace/lib/libc/arch/sparc64/_link.ld.in
rd99c1d2 r1b1164e8 1 STARTUP(LIBC_P REFIX/arch/UARCH/src/entry.o)1 STARTUP(LIBC_PATH/arch/UARCH/src/entry.o) 2 2 ENTRY(__entry) 3 3 -
uspace/lib/libfs/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = libfs.a 31 LIBRARY = libfs 34 32 35 33 SOURCES = \ 36 34 libfs.c 37 35 38 include ../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/lib/libpci/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = libpci.a 31 LIBRARY = libpci 34 32 35 33 SOURCES = \ … … 39 37 i386-ports.c 40 38 41 include ../Makefile.common39 include $(USPACE_PREFIX)/Makefile.common -
uspace/lib/softfloat/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 EXTRA_CFLAGS += -Iinclude -Iarch/$(UARCH)/include/ 33 34 OUTPUT = libsoftfloat.a 31 EXTRA_CFLAGS = -Iinclude -Iarch/$(UARCH)/include/ 32 LIBRARY = libsoftfloat 35 33 36 34 SOURCES = \ … … 45 43 generic/sub.c 46 44 47 include ../Makefile.common45 include $(USPACE_PREFIX)/Makefile.common -
uspace/lib/softint/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a32 31 EXTRA_CFLAGS = -Iinclude 33 34 OUTPUT = libsoftint.a 32 LIBRARY = libsoftint 35 33 36 34 SOURCES = \ … … 38 36 generic/multiplication.c 39 37 40 include ../Makefile.common38 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/bd/ata_bd/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = ata_bd 31 BINARY = ata_bd 34 32 35 33 SOURCES = \ 36 34 ata_bd.c 37 35 38 include ../../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/bd/file_bd/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = file_bd 31 BINARY = file_bd 34 32 35 33 SOURCES = \ 36 34 file_bd.c 37 35 38 include ../../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/bd/gxe_bd/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = gxe_bd 31 BINARY = gxe_bd 34 32 35 33 SOURCES = \ 36 34 gxe_bd.c 37 35 38 include ../../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/bd/part/guid_part/Makefile
rd99c1d2 r1b1164e8 28 28 29 29 USPACE_PREFIX = ../../../.. 30 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBC_PREFIX)/libc.a30 LIBS = $(LIBBLOCK_PREFIX)/libblock.a 31 31 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) 32 32 33 33 # Correct name is 'guid_part' but must use this because of FAT 8.3 names. 34 OUTPUT= g_part34 BINARY = g_part 35 35 36 36 SOURCES = \ 37 37 guid_part.c 38 38 39 include ../../../Makefile.common39 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/bd/part/mbr_part/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../../.. 31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBC_PREFIX)/libc.a31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a 32 32 EXTRA_CFLAGS = -I$(LIBBLOCK_PREFIX) 33 34 OUTPUT = mbr_part 33 BINARY = mbr_part 35 34 36 35 SOURCES = \ 37 36 mbr_part.c 38 37 39 include ../../../Makefile.common38 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/bd/rd/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = rd 31 BINARY = rd 34 32 35 33 SOURCES = \ 36 34 rd.c 37 35 38 include ../../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/clip/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = clip 31 BINARY = clip 34 32 35 33 SOURCES = \ 36 34 clip.c 37 35 38 include ../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/devmap/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = devmap 31 BINARY = devmap 34 32 35 33 SOURCES = \ 36 34 devmap.c 37 35 38 include ../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/fs/devfs/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBFS_PREFIX)/libfs.a $(LIBC_PREFIX)/libc.a31 LIBS = $(LIBFS_PREFIX)/libfs.a 32 32 EXTRA_CFLAGS += -I$(LIBFS_PREFIX) 33 34 OUTPUT = devfs 33 BINARY = devfs 35 34 36 35 SOURCES = \ … … 38 37 devfs_ops.c 39 38 40 include ../../Makefile.common39 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/fs/fat/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBFS_PREFIX)/libfs.a $(LIBC_PREFIX)/libc.a31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBFS_PREFIX)/libfs.a 32 32 EXTRA_CFLAGS += -I$(LIBBLOCK_PREFIX) -I$(LIBFS_PREFIX) 33 34 OUTPUT = fat 33 BINARY = fat 35 34 36 35 SOURCES = \ … … 41 40 fat_fat.c 42 41 43 include ../../Makefile.common42 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/fs/tmpfs/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBFS_PREFIX)/libfs.a $(LIBC_PREFIX)/libc.a31 LIBS = $(LIBBLOCK_PREFIX)/libblock.a $(LIBFS_PREFIX)/libfs.a 32 32 EXTRA_CFLAGS += -I$(LIBBLOCK_PREFIX) -I$(LIBFS_PREFIX) 33 34 OUTPUT = tmpfs 33 BINARY = tmpfs 35 34 36 35 SOURCES = \ … … 39 38 tmpfs_dump.c 40 39 41 include ../../Makefile.common40 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hid/adb_mouse/Makefile
rd99c1d2 r1b1164e8 28 28 29 29 USPACE_PREFIX = ../../.. 30 LIBS = $(LIBC_PREFIX)/libc.a31 30 EXTRA_CFLAGS = -Iinclude 32 33 OUTPUT = adb_ms 31 BINARY = adb_ms 34 32 35 33 SOURCES = \ … … 37 35 adb_dev.c 38 36 39 include ../../Makefile.common37 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hid/char_mouse/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a32 31 EXTRA_CFLAGS = -Iinclude 33 34 OUTPUT = char_ms 32 BINARY = char_ms 35 33 36 34 SOURCES = \ … … 39 37 chardev.c 40 38 41 include ../../Makefile.common39 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hid/console/Makefile
rd99c1d2 r1b1164e8 28 28 # 29 29 30 include Makefile.common 30 USPACE_PREFIX = ../../.. 31 BINARY = console 31 32 32 .PHONY: all clean 33 GENERIC_SOURCES = \ 34 console.c \ 35 screenbuffer.c \ 36 keybuffer.c \ 37 gcons.c 33 38 34 all: $(LIBC_PREFIX)/../../../Makefile.common $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBS) 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK) 39 IMAGES = \ 40 gfx/helenos.ppm \ 41 gfx/nameic.ppm \ 42 gfx/cons_selected.ppm \ 43 gfx/cons_idle.ppm \ 44 gfx/cons_has_data.ppm \ 45 gfx/cons_kernel.ppm \ 46 gfx/anim_1.ppm \ 47 gfx/anim_2.ppm \ 48 gfx/anim_3.ppm \ 49 gfx/anim_4.ppm 37 50 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 find . -name '*.o' -follow -exec rm \{\} \; 51 SOURCES = \ 52 $(GENERIC_SOURCES) \ 53 $(IMAGES) 54 55 include $(USPACE_PREFIX)/Makefile.common 56 57 %.o: %.ppm 58 $(OBJCOPY) -I binary -O $(BFD_NAME) -B $(BFD_ARCH) $< $@ -
uspace/srv/hid/fb/Makefile
rd99c1d2 r1b1164e8 28 28 # 29 29 30 include Makefile.common 30 USPACE_PREFIX = ../../.. 31 BINARY = fb 31 32 32 .PHONY: all clean 33 SOURCES = \ 34 main.c \ 35 ppm.c 33 36 34 all: $(LIBC_PREFIX)/../../../Makefile.common $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBS) 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK) 37 ifneq ($(UARCH),ia64) 38 SOURCES += fb.c \ 39 font-8x16.c 40 EXTRA_CFLAGS = -DFB_ENABLED 41 endif 37 42 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 find . -name '*.o' -follow -exec rm \{\} \; 43 ifeq ($(UARCH),ia32) 44 SOURCES += ega.c 45 EXTRA_CFLAGS = -DEGA_ENABLED 46 endif 47 48 ifeq ($(UARCH),ia64) 49 SOURCES += ega.c \ 50 ski.c \ 51 serial_console.c 52 EXTRA_CFLAGS = -DSKI_ENABLED -DEGA_ENABLED 53 endif 54 55 ifeq ($(UARCH),amd64) 56 SOURCES += ega.c 57 EXTRA_CFLAGS = -DEGA_ENABLED 58 endif 59 60 ifeq ($(UARCH),mips32) 61 SOURCES += msim.c \ 62 serial_console.c 63 EXTRA_CFLAGS = -DMSIM_ENABLED 64 endif 65 66 ifeq ($(UARCH),sparc64) 67 ifeq ($(PROCESSOR), sun4v) 68 SOURCES += niagara.c \ 69 serial_console.c 70 EXTRA_CFLAGS = -DNIAGARA_ENABLED 71 endif 72 73 ifeq ($(MACHINE), serengeti) 74 SOURCES += sgcn.c \ 75 serial_console.c 76 EXTRA_CFLAGS = -DSGCN_ENABLED 77 endif 78 endif 79 80 EXTRA_CFLAGS += -D$(UARCH) 81 82 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hid/kbd/Makefile
rd99c1d2 r1b1164e8 28 28 # 29 29 30 include Makefile.common 30 USPACE_PREFIX = ../../.. 31 ROOT_PATH = $(USPACE_PREFIX)/.. 31 32 32 .PHONY: all clean 33 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 34 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 33 35 34 all: $(LIBC_PREFIX)/../../../Makefile.common $(LIBC_PREFIX)/../../../Makefile.config $(LIBC_PREFIX)/../../../config.h $(LIBS) 35 -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV) 36 $(MAKE) -f Makefile.build PRECHECK=$(PRECHECK) 36 EXTRA_CFLAGS = -Iinclude 37 BINARY = kbd 37 38 38 clean: 39 rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm 40 find . -name '*.o' -follow -exec rm \{\} \; 39 -include $(COMMON_MAKEFILE) 40 -include $(CONFIG_MAKEFILE) 41 42 ## Sources 43 # 44 45 SOURCES = \ 46 generic/kbd.c \ 47 genarch/gsp.c \ 48 genarch/stroke.c \ 49 layout/cz.c \ 50 layout/us_qwerty.c \ 51 layout/us_dvorak.c 52 53 ifeq ($(UARCH),amd64) 54 SOURCES += \ 55 port/chardev.c \ 56 ctl/pc.c 57 endif 58 59 ifeq ($(UARCH),arm32) 60 ifeq ($(MACHINE),testarm) 61 SOURCES += \ 62 port/gxemul.c 63 64 ifeq ($(CONFIG_FB),y) 65 SOURCES += \ 66 ctl/gxe_fb.c 67 else 68 SOURCES += \ 69 ctl/stty.c 70 endif 71 endif 72 ifeq ($(MACHINE),integratorcp) 73 SOURCES += \ 74 port/pl050.c \ 75 ctl/pl050.c 76 endif 77 endif 78 79 ifeq ($(UARCH),ia32) 80 SOURCES += \ 81 port/chardev.c \ 82 ctl/pc.c 83 endif 84 85 ifeq ($(MACHINE),i460GX) 86 SOURCES += \ 87 port/chardev.c \ 88 ctl/pc.c 89 endif 90 91 ifeq ($(MACHINE),ski) 92 SOURCES += \ 93 port/ski.c \ 94 ctl/stty.c 95 endif 96 97 ifeq ($(MACHINE),msim) 98 SOURCES += \ 99 port/msim.c \ 100 ctl/stty.c 101 endif 102 103 ifeq ($(MACHINE),lgxemul) 104 SOURCES += \ 105 port/gxemul.c 106 107 ifeq ($(CONFIG_FB),y) 108 SOURCES += \ 109 ctl/gxe_fb.c 110 else 111 SOURCES += \ 112 ctl/stty.c 113 endif 114 endif 115 116 ifeq ($(MACHINE),bgxemul) 117 SOURCES += \ 118 port/gxemul.c 119 120 ifeq ($(CONFIG_FB),y) 121 SOURCES += \ 122 ctl/gxe_fb.c 123 else 124 SOURCES += \ 125 ctl/stty.c 126 endif 127 endif 128 129 ifeq ($(UARCH),ppc32) 130 SOURCES += \ 131 port/adb.c \ 132 ctl/apple.c 133 endif 134 135 ifeq ($(UARCH),sparc64) 136 ifeq ($(PROCESSOR),sun4v) 137 SOURCES += \ 138 port/niagara.c \ 139 ctl/stty.c 140 else 141 ifeq ($(MACHINE),serengeti) 142 SOURCES += \ 143 port/sgcn.c \ 144 ctl/stty.c 145 endif 146 ifeq ($(MACHINE),generic) 147 SOURCES += \ 148 port/sun.c \ 149 port/z8530.c \ 150 port/ns16550.c \ 151 ctl/sun.c 152 endif 153 endif 154 endif 155 156 ifeq ($(UARCH),abs32le) 157 SOURCES += \ 158 port/dummy.c \ 159 ctl/pc.c 160 endif 161 162 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hw/bus/cuda_adb/Makefile
rd99c1d2 r1b1164e8 28 28 29 29 USPACE_PREFIX = ../../../.. 30 LIBS = $(LIBC_PREFIX)/libc.a 31 32 OUTPUT = cuda_adb 30 BINARY = cuda_adb 33 31 34 32 SOURCES = \ 35 33 cuda_adb.c 36 34 37 include ../../../Makefile.common 38 35 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hw/bus/pci/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../../.. 31 LIBS = $(LIBPCI_PREFIX)/libpci.a $(LIBC_PREFIX)/libc.a31 LIBS = $(LIBPCI_PREFIX)/libpci.a 32 32 EXTRA_CFLAGS = -I$(LIBPCI_PREFIX) 33 34 OUTPUT = pci 33 BINARY = pci 35 34 36 35 SOURCES = \ 37 36 pci.c 38 37 39 include ../../../Makefile.common38 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hw/char/i8042/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = i8042 31 BINARY = i8042 34 32 35 33 SOURCES = \ 36 34 i8042.c 37 35 38 include ../../../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hw/cir/fhc/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = fhc 31 BINARY = fhc 34 32 35 33 SOURCES = \ 36 34 fhc.c 37 35 38 include ../../../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/hw/cir/obio/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../../../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = obio 31 BINARY = obio 34 32 35 33 SOURCES = \ 36 34 obio.c 37 35 38 include ../../../Makefile.common36 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/loader/Makefile
rd99c1d2 r1b1164e8 28 28 # 29 29 30 -include ../../../Makefile.common 31 -include ../../../Makefile.config 30 USPACE_PREFIX = ../.. 31 ROOT_PATH = $(USPACE_PREFIX)/.. 32 33 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 34 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 35 36 -include $(COMMON_MAKEFILE) 37 -include $(CONFIG_MAKEFILE) 32 38 -include arch/$(UARCH)/Makefile.inc 33 39 34 USPACE_PREFIX = ../.. 35 LIBS = $(LIBC_PREFIX)/libc.a 36 EXTRA_CFLAGS += -Iinclude 37 LINK_SCRIPT = arch/$(UARCH)/_link.ld 40 LINKER_SCRIPT = arch/$(UARCH)/_link.ld 41 EXTRA_CLEAN = $(LINKER_SCRIPT) 38 42 39 OUTPUT = loader 40 EXTRA_OUTPUT = $(LINK_SCRIPT) 43 EXTRA_CFLAGS = -Iinclude 44 45 BINARY = loader 41 46 42 47 GENERIC_SOURCES = \ … … 45 50 interp.s 46 51 47 SOURCES := $(GENERIC_SOURCES) $(ARCH_SOURCES) 48 OBJECTS := $(addsuffix .o,$(basename $(SOURCES))) 52 SOURCES = \ 53 $(GENERIC_SOURCES) \ 54 $(ARCH_SOURCES) 49 55 50 include ../Makefile.common56 include $(USPACE_PREFIX)/Makefile.common 51 57 52 $(LINK _SCRIPT): $(LINK_SCRIPT).in58 $(LINKER_SCRIPT): $(LINKER_SCRIPT).in 53 59 $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@ -
uspace/srv/loader/arch/abs32le/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/abs32le.c29 ARCH_SOURCES = arch/$(UARCH)/abs32le.c -
uspace/srv/loader/arch/amd64/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/amd64.s29 ARCH_SOURCES = arch/$(UARCH)/amd64.s -
uspace/srv/loader/arch/arm32/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/arm32.s29 ARCH_SOURCES = arch/$(UARCH)/arm32.s -
uspace/srv/loader/arch/ia32/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/ia32.s29 ARCH_SOURCES = arch/$(UARCH)/ia32.s -
uspace/srv/loader/arch/ia64/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/ia64.s29 ARCH_SOURCES = arch/$(UARCH)/ia64.s 30 30 AFLAGS += -xexplicit -
uspace/srv/loader/arch/mips32/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/mips32.s29 ARCH_SOURCES = arch/$(UARCH)/mips32.s -
uspace/srv/loader/arch/ppc32/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/ppc32.s29 ARCH_SOURCES = arch/$(UARCH)/ppc32.s -
uspace/srv/loader/arch/sparc64/Makefile.inc
rd99c1d2 r1b1164e8 27 27 # 28 28 29 ARCH_SOURCES := arch/$(UARCH)/sparc64.s29 ARCH_SOURCES = arch/$(UARCH)/sparc64.s -
uspace/srv/net/app/echo/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = echo 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 LIBS = $(NET_BASE)/socket/libsocket.a 33 BINARY = echo 30 34 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 35 SOURCES = \ 36 echo.c \ 37 $(NET_BASE)/app/parse.c \ 38 $(NET_BASE)/app/print_error.c 33 39 34 include ../../../../../Makefile.common 35 include ../../../../../Makefile.config 36 37 ## Sources 38 # 39 40 OUTPUT = $(NAME) 41 SOURCES = \ 42 $(NAME).c \ 43 $(NET_BASE)app/parse.c \ 44 $(NET_BASE)app/print_error.c 45 46 LIBS += ../../socket/libsocket.a 47 48 include $(NET_BASE)Makefile.module 40 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/app/nettest1/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = nettest1 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 LIBS = $(NET_BASE)/socket/libsocket.a 33 BINARY = nettest1 30 34 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 35 SOURCES = \ 36 nettest1.c \ 37 $(NET_BASE)/app/nettest.c \ 38 $(NET_BASE)/app/parse.c \ 39 $(NET_BASE)/app/print_error.c 33 40 34 include ../../../../../Makefile.common 35 include ../../../../../Makefile.config 36 37 ## Sources 38 # 39 40 OUTPUT = $(NAME) 41 SOURCES = \ 42 $(NAME).c \ 43 $(NET_BASE)app/nettest.c \ 44 $(NET_BASE)app/parse.c \ 45 $(NET_BASE)app/print_error.c 46 47 LIBS += ../../socket/libsocket.a 48 49 include $(NET_BASE)Makefile.module 41 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/app/nettest2/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = nettest2 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 LIBS = $(NET_BASE)/socket/libsocket.a 33 BINARY = nettest2 30 34 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 35 SOURCES = \ 36 nettest2.c \ 37 $(NET_BASE)/app/nettest.c \ 38 $(NET_BASE)/app/parse.c \ 39 $(NET_BASE)/app/print_error.c 33 40 34 include ../../../../../Makefile.common 35 include ../../../../../Makefile.config 36 37 ## Sources 38 # 39 40 OUTPUT = $(NAME) 41 SOURCES = \ 42 $(NAME).c \ 43 $(NET_BASE)app/nettest.c \ 44 $(NET_BASE)app/parse.c \ 45 $(NET_BASE)app/print_error.c 46 47 LIBS += ../../socket/libsocket.a 48 49 include $(NET_BASE)Makefile.module 41 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/app/ping/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = ping 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 LIBS = $(NET_BASE)/socket/libsocket.a 33 BINARY = ping 30 34 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 35 SOURCES = \ 36 ping.c \ 37 $(NET_BASE)/app/parse.c \ 38 $(NET_BASE)/app/print_error.c \ 39 $(NET_BASE)/inet.c \ 40 $(NET_BASE)/modules.c \ 41 $(NET_BASE)/tl/icmp/icmp_api.c \ 42 $(NET_BASE)/tl/icmp/icmp_common.c 33 43 34 include ../../../../../Makefile.common 35 include ../../../../../Makefile.config 36 37 ## Sources 38 # 39 40 OUTPUT = $(NAME) 41 SOURCES = \ 42 $(NAME).c \ 43 $(NET_BASE)app/parse.c \ 44 $(NET_BASE)app/print_error.c \ 45 $(NET_BASE)inet.c \ 46 $(NET_BASE)modules.c \ 47 $(NET_BASE)tl/icmp/icmp_api.c \ 48 $(NET_BASE)tl/icmp/icmp_common.c 49 50 include $(NET_BASE)Makefile.module 44 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/il/arp/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = arp 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = arp 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 arp.c \ 36 arp_module.c \ 37 $(NET_BASE)/module.c \ 38 $(NET_BASE)/modules.c \ 39 $(NET_BASE)/net/net_remote.c \ 40 $(NET_BASE)/nil/nil_remote.c \ 41 $(NET_BASE)/structures/char_map.c \ 42 $(NET_BASE)/structures/measured_strings.c \ 43 $(NET_BASE)/structures/packet/packet.c \ 44 $(NET_BASE)/structures/packet/packet_client.c \ 45 $(NET_BASE)/structures/packet/packet_remote.c 33 46 34 ## Sources 35 # 36 37 OUTPUT = $(NAME) 38 SOURCES = \ 39 $(NAME).c \ 40 $(NAME)_module.c \ 41 $(NET_BASE)module.c \ 42 $(NET_BASE)modules.c \ 43 $(NET_BASE)net/net_remote.c \ 44 $(NET_BASE)nil/nil_remote.c \ 45 $(STRUCTURES)char_map.c \ 46 $(STRUCTURES)measured_strings.c \ 47 $(STRUCTURES)packet/packet.c \ 48 $(STRUCTURES)packet/packet_client.c \ 49 $(STRUCTURES)packet/packet_remote.c 50 51 include $(NET_BASE)Makefile.module 47 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/il/ip/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = ip 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = ip 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 ip.c \ 36 ip_client.c \ 37 ip_module.c \ 38 $(NET_BASE)/checksum.c \ 39 $(NET_BASE)/inet.c \ 40 $(NET_BASE)/module.c \ 41 $(NET_BASE)/modules.c \ 42 $(NET_BASE)/il/arp/arp_remote.c \ 43 $(NET_BASE)/nil/nil_remote.c \ 44 $(NET_BASE)/net/net_remote.c \ 45 $(NET_BASE)/tl/icmp/icmp_client.c \ 46 $(NET_BASE)/tl/icmp/icmp_common.c \ 47 $(NET_BASE)/tl/icmp/icmp_remote.c \ 48 $(NET_BASE)/structures/char_map.c \ 49 $(NET_BASE)/structures/measured_strings.c \ 50 $(NET_BASE)/structures/module_map.c \ 51 $(NET_BASE)/structures/packet/packet.c \ 52 $(NET_BASE)/structures/packet/packet_client.c \ 53 $(NET_BASE)/structures/packet/packet_remote.c 33 54 34 ## Sources 35 # 36 37 OUTPUT = $(NAME) 38 SOURCES = \ 39 $(NAME).c \ 40 $(NAME)_client.c \ 41 $(NAME)_module.c \ 42 $(NET_BASE)checksum.c \ 43 $(NET_BASE)inet.c \ 44 $(NET_BASE)module.c \ 45 $(NET_BASE)modules.c \ 46 $(NET_BASE)il/arp/arp_remote.c \ 47 $(NET_BASE)nil/nil_remote.c \ 48 $(NET_BASE)net/net_remote.c \ 49 $(NET_BASE)tl/icmp/icmp_client.c \ 50 $(NET_BASE)tl/icmp/icmp_common.c \ 51 $(NET_BASE)tl/icmp/icmp_remote.c \ 52 $(STRUCTURES)char_map.c \ 53 $(STRUCTURES)measured_strings.c \ 54 $(STRUCTURES)module_map.c \ 55 $(STRUCTURES)packet/packet.c \ 56 $(STRUCTURES)packet/packet_client.c \ 57 $(STRUCTURES)packet/packet_remote.c 58 59 include $(NET_BASE)Makefile.module 55 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/net/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = net 30 NET_BASE = .. 31 USPACE_PREFIX = ../../.. 32 ROOT_PATH = $(USPACE_PREFIX)/.. 30 33 31 NET_BASE = ../ 32 STRUCTURES = $(NET_BASE)structures/ 34 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 35 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 33 36 34 include $(NET_BASE)../../../Makefile.common 35 include $(NET_BASE)../../../Makefile.config 37 BINARY = net 36 38 37 ## Sources 38 # 39 -include $(COMMON_MAKEFILE) 40 -include $(CONFIG_MAKEFILE) 39 41 40 OUTPUT = $(NAME)41 42 SOURCES = \ 42 $(NAME).c \43 $(NET_BASE) module.c \44 $(NET_BASE) modules.c \45 $(NET_BASE) netif/netif_remote.c \46 $( STRUCTURES)char_map.c \47 $( STRUCTURES)measured_strings.c \48 $( STRUCTURES)module_map.c \49 $( STRUCTURES)packet/packet.c \50 $( STRUCTURES)packet/packet_client.c \51 $( STRUCTURES)packet/packet_server.c43 net.c \ 44 $(NET_BASE)/module.c \ 45 $(NET_BASE)/modules.c \ 46 $(NET_BASE)/netif/netif_remote.c \ 47 $(NET_BASE)/structures/char_map.c \ 48 $(NET_BASE)/structures/measured_strings.c \ 49 $(NET_BASE)/structures/module_map.c \ 50 $(NET_BASE)/structures/packet/packet.c \ 51 $(NET_BASE)/structures/packet/packet_client.c \ 52 $(NET_BASE)/structures/packet/packet_server.c 52 53 53 ifeq ($(NETWORKING), module) 54 55 SOURCES += $(NAME)_bundle.c \ 56 $(NET_BASE)checksum.c \ 57 $(NET_BASE)inet.c \ 58 $(NET_BASE)il/arp/arp.c \ 59 $(NET_BASE)il/ip/ip.c \ 60 $(NET_BASE)il/ip/ip_client.c \ 61 $(NET_BASE)socket/socket_core.c \ 62 $(NET_BASE)tl/icmp/icmp.c \ 63 $(NET_BASE)tl/icmp/icmp_client.c \ 64 $(NET_BASE)tl/tcp/tcp.c \ 65 $(NET_BASE)tl/tl_common.c \ 66 $(NET_BASE)tl/udp/udp.c \ 67 $(STRUCTURES)dynamic_fifo.c 68 69 else 70 71 SOURCES += $(NAME)_standalone.c \ 72 $(NET_BASE)il/ip/ip_remote.c 73 54 ifeq ($(CONFIG_NETWORKING),module) 55 SOURCES += \ 56 net_bundle.c \ 57 $(NET_BASE)/checksum.c \ 58 $(NET_BASE)/inet.c \ 59 $(NET_BASE)/il/arp/arp.c \ 60 $(NET_BASE)/il/ip/ip.c \ 61 $(NET_BASE)/il/ip/ip_client.c \ 62 $(NET_BASE)/socket/socket_core.c \ 63 $(NET_BASE)/tl/icmp/icmp.c \ 64 $(NET_BASE)/tl/icmp/icmp_client.c \ 65 $(NET_BASE)/tl/tcp/tcp.c \ 66 $(NET_BASE)/tl/tl_common.c \ 67 $(NET_BASE)/tl/udp/udp.c \ 68 $(NET_BASE)/structures/dynamic_fifo.c 74 69 endif 75 70 76 include $(NET_BASE)Makefile.module 71 ifeq ($(CONFIG_NETWORKING),modular) 72 SOURCES += \ 73 net_standalone.c \ 74 $(NET_BASE)/il/ip/ip_remote.c 75 endif 76 77 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/net/start/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = netstart 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = netstart 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 netstart.c \ 36 $(NET_BASE)/checksum.c \ 37 $(NET_BASE)/modules.c \ 38 $(NET_BASE)/self_test.c \ 39 $(NET_BASE)/structures/char_map.c \ 40 $(NET_BASE)/structures/dynamic_fifo.c \ 41 $(NET_BASE)/structures/measured_strings.c 33 42 34 include ../../../../../Makefile.common 35 include ../../../../../Makefile.config 36 37 ## Sources 38 # 39 40 OUTPUT = $(NAME) 41 SOURCES = \ 42 $(NAME).c \ 43 $(NET_BASE)checksum.c \ 44 $(NET_BASE)modules.c \ 45 $(NET_BASE)self_test.c \ 46 $(STRUCTURES)char_map.c \ 47 $(STRUCTURES)dynamic_fifo.c \ 48 $(STRUCTURES)measured_strings.c 49 50 include $(NET_BASE)Makefile.module 43 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/netif/dp8390/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = dp8390 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 ROOT_PATH = $(USPACE_PREFIX)/.. 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 35 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 33 36 34 include $(NET_BASE)../../../Makefile.common 35 include $(NET_BASE)../../../Makefile.config 37 BINARY = dp8390 36 38 37 ## Sources 38 # 39 -include $(COMMON_MAKEFILE) 40 -include $(CONFIG_MAKEFILE) 39 41 40 OUTPUT = $(NAME)41 42 SOURCES = \ 42 $(NAME).c \43 $(NAME)_module.c \43 dp8390.c \ 44 dp8390_module.c \ 44 45 ne2000.c \ 45 $(NET_BASE) module.c \46 $(NET_BASE) modules.c \47 $(NET_BASE) netif/netif.c \48 $( STRUCTURES)measured_strings.c \49 $( STRUCTURES)packet/packet.c \50 $( STRUCTURES)packet/packet_client.c \51 $( STRUCTURES)packet/packet_remote.c46 $(NET_BASE)/module.c \ 47 $(NET_BASE)/modules.c \ 48 $(NET_BASE)/netif/netif.c \ 49 $(NET_BASE)/structures/measured_strings.c \ 50 $(NET_BASE)/structures/packet/packet.c \ 51 $(NET_BASE)/structures/packet/packet_client.c \ 52 $(NET_BASE)/structures/packet/packet_remote.c 52 53 53 ifeq ($(NETWORKING), module) 54 55 SOURCES += $(NET_BASE)checksum.c \ 56 $(NET_BASE)nil/eth/eth.c \ 57 $(NET_BASE)net/net_remote.c \ 58 $(NET_BASE)netif/netif_nil_bundle.c 59 60 else 61 62 SOURCES += $(NET_BASE)nil/nil_remote.c \ 63 $(NET_BASE)netif/netif_standalone.c 64 54 ifeq ($(CONFIG_NETWORKING),module) 55 SOURCES += \ 56 $(NET_BASE)/checksum.c \ 57 $(NET_BASE)/nil/eth/eth.c \ 58 $(NET_BASE)/net/net_remote.c \ 59 $(NET_BASE)/netif/netif_nil_bundle.c 65 60 endif 66 61 67 include $(NET_BASE)Makefile.module 62 ifeq ($(CONFIG_NETWORKING),modular) 63 SOURCES += \ 64 $(NET_BASE)/nil/nil_remote.c \ 65 $(NET_BASE)/netif/netif_standalone.c 66 endif 67 68 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/netif/lo/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = lo 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 ROOT_PATH = $(USPACE_PREFIX)/.. 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common 35 CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config 33 36 34 include $(NET_BASE)../../../Makefile.common 35 include $(NET_BASE)../../../Makefile.config 37 BINARY = lo 36 38 37 ## Sources 38 # 39 -include $(COMMON_MAKEFILE) 40 -include $(CONFIG_MAKEFILE) 39 41 40 OUTPUT = $(NAME)41 42 SOURCES = \ 42 $(NAME).c \43 $(NET_BASE) module.c \44 $(NET_BASE) modules.c \45 $(NET_BASE) net/net_remote.c \46 $(NET_BASE) netif/netif.c \47 $( STRUCTURES)measured_strings.c \48 $( STRUCTURES)packet/packet.c \49 $( STRUCTURES)packet/packet_client.c \50 $( STRUCTURES)packet/packet_remote.c43 lo.c \ 44 $(NET_BASE)/module.c \ 45 $(NET_BASE)/modules.c \ 46 $(NET_BASE)/net/net_remote.c \ 47 $(NET_BASE)/netif/netif.c \ 48 $(NET_BASE)/structures/measured_strings.c \ 49 $(NET_BASE)/structures/packet/packet.c \ 50 $(NET_BASE)/structures/packet/packet_client.c \ 51 $(NET_BASE)/structures/packet/packet_remote.c 51 52 52 ifeq ($(NETWORKING), module) 53 54 SOURCES += $(NET_BASE)nil/nildummy/nildummy.c \ 55 $(NET_BASE)netif/netif_nil_bundle.c 56 57 else 58 59 SOURCES += $(NET_BASE)nil/nil_remote.c \ 60 $(NET_BASE)netif/netif_standalone.c 61 53 ifeq ($(CONFIG_NETWORKING),module) 54 SOURCES += \ 55 $(NET_BASE)/nil/nildummy/nildummy.c \ 56 $(NET_BASE)/netif/netif_nil_bundle.c 62 57 endif 63 58 64 include $(NET_BASE)Makefile.module 59 ifeq ($(CONFIG_NETWORKING),modular) 60 SOURCES += \ 61 $(NET_BASE)/nil/nil_remote.c \ 62 $(NET_BASE)/netif/netif_standalone.c 63 endif 64 65 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/nil/eth/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = eth 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = eth 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 eth.c \ 36 eth_module.c \ 37 $(NET_BASE)/checksum.c \ 38 $(NET_BASE)/module.c \ 39 $(NET_BASE)/modules.c \ 40 $(NET_BASE)/net/net_remote.c \ 41 $(NET_BASE)/netif/netif_remote.c \ 42 $(NET_BASE)/structures/measured_strings.c \ 43 $(NET_BASE)/structures/packet/packet.c \ 44 $(NET_BASE)/structures/packet/packet_client.c \ 45 $(NET_BASE)/structures/packet/packet_remote.c 33 46 34 OUTPUT = $(NAME) 35 SOURCES = \ 36 $(NAME).c \ 37 $(NAME)_module.c \ 38 $(NET_BASE)checksum.c \ 39 $(NET_BASE)module.c \ 40 $(NET_BASE)modules.c \ 41 $(NET_BASE)net/net_remote.c \ 42 $(NET_BASE)netif/netif_remote.c \ 43 $(STRUCTURES)measured_strings.c \ 44 $(STRUCTURES)packet/packet.c \ 45 $(STRUCTURES)packet/packet_client.c \ 46 $(STRUCTURES)packet/packet_remote.c 47 48 include $(NET_BASE)Makefile.module 47 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/nil/nildummy/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = nildummy 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = nildummy 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 nildummy.c \ 36 nildummy_module.c \ 37 $(NET_BASE)/module.c \ 38 $(NET_BASE)/modules.c \ 39 $(NET_BASE)/net/net_remote.c \ 40 $(NET_BASE)/netif/netif_remote.c \ 41 $(NET_BASE)/structures/measured_strings.c \ 42 $(NET_BASE)/structures/packet/packet.c \ 43 $(NET_BASE)/structures/packet/packet_client.c \ 44 $(NET_BASE)/structures/packet/packet_remote.c 33 45 34 OUTPUT = $(NAME) 35 SOURCES = \ 36 $(NAME).c \ 37 $(NAME)_module.c \ 38 $(NET_BASE)module.c \ 39 $(NET_BASE)modules.c \ 40 $(NET_BASE)net/net_remote.c \ 41 $(NET_BASE)netif/netif_remote.c \ 42 $(STRUCTURES)measured_strings.c \ 43 $(STRUCTURES)packet/packet.c \ 44 $(STRUCTURES)packet/packet_client.c \ 45 $(STRUCTURES)packet/packet_remote.c 46 47 include $(NET_BASE)Makefile.module 46 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/socket/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = socket 30 NET_BASE = .. 31 USPACE_PREFIX = ../../.. 32 LIBRARY = libsocket 30 33 31 NET_BASE = ../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 socket_client.c \ 36 $(NET_BASE)/inet.c \ 37 $(NET_BASE)/modules.c \ 38 $(NET_BASE)/structures/dynamic_fifo.c 33 39 34 ## Sources 35 # 36 37 LIB = lib$(NAME).a 38 SOURCES = \ 39 $(NAME)_client.c \ 40 $(NET_BASE)inet.c \ 41 $(NET_BASE)modules.c \ 42 $(STRUCTURES)dynamic_fifo.c 43 44 include $(NET_BASE)Makefile.module 40 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/tl/icmp/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = icmp 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = icmp 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 icmp.c \ 36 icmp_module.c \ 37 icmp_client.c \ 38 $(NET_BASE)/checksum.c \ 39 $(NET_BASE)/module.c \ 40 $(NET_BASE)/modules.c \ 41 $(NET_BASE)/il/ip/ip_client.c \ 42 $(NET_BASE)/il/ip/ip_remote.c \ 43 $(NET_BASE)/net/net_remote.c \ 44 $(NET_BASE)/structures/measured_strings.c \ 45 $(NET_BASE)/structures/packet/packet.c \ 46 $(NET_BASE)/structures/packet/packet_client.c \ 47 $(NET_BASE)/structures/packet/packet_remote.c 33 48 34 ## Sources 35 # 36 37 OUTPUT = $(NAME) 38 SOURCES = \ 39 $(NAME).c \ 40 $(NAME)_module.c \ 41 $(NAME)_client.c \ 42 $(NET_BASE)checksum.c \ 43 $(NET_BASE)module.c \ 44 $(NET_BASE)modules.c \ 45 $(NET_BASE)il/ip/ip_client.c \ 46 $(NET_BASE)il/ip/ip_remote.c \ 47 $(NET_BASE)net/net_remote.c \ 48 $(STRUCTURES)measured_strings.c \ 49 $(STRUCTURES)packet/packet.c \ 50 $(STRUCTURES)packet/packet_client.c \ 51 $(STRUCTURES)packet/packet_remote.c 52 53 include $(NET_BASE)Makefile.module 49 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/tl/tcp/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = tcp 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = tcp 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 tcp.c \ 36 tcp_module.c \ 37 $(NET_BASE)/checksum.c \ 38 $(NET_BASE)/module.c \ 39 $(NET_BASE)/modules.c \ 40 $(NET_BASE)/il/ip/ip_client.c \ 41 $(NET_BASE)/il/ip/ip_remote.c \ 42 $(NET_BASE)/net/net_remote.c \ 43 $(NET_BASE)/socket/socket_core.c \ 44 $(NET_BASE)/tl/icmp/icmp_client.c \ 45 $(NET_BASE)/tl/icmp/icmp_common.c \ 46 $(NET_BASE)/tl/icmp/icmp_remote.c \ 47 $(NET_BASE)/tl/tl_common.c \ 48 $(NET_BASE)/structures/char_map.c \ 49 $(NET_BASE)/structures/dynamic_fifo.c \ 50 $(NET_BASE)/structures/measured_strings.c \ 51 $(NET_BASE)/structures/packet/packet.c \ 52 $(NET_BASE)/structures/packet/packet_client.c \ 53 $(NET_BASE)/structures/packet/packet_remote.c 33 54 34 ## Sources 35 # 36 37 OUTPUT = $(NAME) 38 SOURCES = \ 39 $(NAME).c \ 40 $(NAME)_module.c \ 41 $(NET_BASE)checksum.c \ 42 $(NET_BASE)module.c \ 43 $(NET_BASE)modules.c \ 44 $(NET_BASE)il/ip/ip_client.c \ 45 $(NET_BASE)il/ip/ip_remote.c \ 46 $(NET_BASE)net/net_remote.c \ 47 $(NET_BASE)socket/socket_core.c \ 48 $(NET_BASE)tl/icmp/icmp_client.c \ 49 $(NET_BASE)tl/icmp/icmp_common.c \ 50 $(NET_BASE)tl/icmp/icmp_remote.c \ 51 $(NET_BASE)tl/tl_common.c \ 52 $(STRUCTURES)char_map.c \ 53 $(STRUCTURES)dynamic_fifo.c \ 54 $(STRUCTURES)measured_strings.c \ 55 $(STRUCTURES)packet/packet.c \ 56 $(STRUCTURES)packet/packet_client.c \ 57 $(STRUCTURES)packet/packet_remote.c 58 59 include $(NET_BASE)Makefile.module 55 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/net/tl/udp/Makefile
rd99c1d2 r1b1164e8 1 1 # 2 # Copyright (c) 2009 Lukas Mejdrech 2 # Copyright (c) 2005 Martin Decky 3 # Copyright (c) 2007 Jakub Jermar 3 4 # All rights reserved. 4 5 # … … 27 28 # 28 29 29 NAME = udp 30 NET_BASE = ../.. 31 USPACE_PREFIX = ../../../.. 32 BINARY = udp 30 33 31 NET_BASE = ../../ 32 STRUCTURES = $(NET_BASE)structures/ 34 SOURCES = \ 35 udp.c \ 36 udp_module.c \ 37 $(NET_BASE)/checksum.c \ 38 $(NET_BASE)/module.c \ 39 $(NET_BASE)/modules.c \ 40 $(NET_BASE)/il/ip/ip_client.c \ 41 $(NET_BASE)/il/ip/ip_remote.c \ 42 $(NET_BASE)/net/net_remote.c \ 43 $(NET_BASE)/socket/socket_core.c \ 44 $(NET_BASE)/tl/icmp/icmp_client.c \ 45 $(NET_BASE)/tl/icmp/icmp_common.c \ 46 $(NET_BASE)/tl/icmp/icmp_remote.c \ 47 $(NET_BASE)/tl/tl_common.c \ 48 $(NET_BASE)/structures/char_map.c \ 49 $(NET_BASE)/structures/dynamic_fifo.c \ 50 $(NET_BASE)/structures/measured_strings.c \ 51 $(NET_BASE)/structures/packet/packet.c \ 52 $(NET_BASE)/structures/packet/packet_client.c \ 53 $(NET_BASE)/structures/packet/packet_remote.c 33 54 34 ## Sources 35 # 36 37 OUTPUT = $(NAME) 38 SOURCES = \ 39 $(NAME).c \ 40 $(NAME)_module.c \ 41 $(NET_BASE)checksum.c \ 42 $(NET_BASE)module.c \ 43 $(NET_BASE)modules.c \ 44 $(NET_BASE)il/ip/ip_client.c \ 45 $(NET_BASE)il/ip/ip_remote.c \ 46 $(NET_BASE)net/net_remote.c \ 47 $(NET_BASE)socket/socket_core.c \ 48 $(NET_BASE)tl/icmp/icmp_client.c \ 49 $(NET_BASE)tl/icmp/icmp_common.c \ 50 $(NET_BASE)tl/icmp/icmp_remote.c \ 51 $(NET_BASE)tl/tl_common.c \ 52 $(STRUCTURES)char_map.c \ 53 $(STRUCTURES)dynamic_fifo.c \ 54 $(STRUCTURES)measured_strings.c \ 55 $(STRUCTURES)packet/packet.c \ 56 $(STRUCTURES)packet/packet_client.c \ 57 $(STRUCTURES)packet/packet_remote.c 58 59 include $(NET_BASE)Makefile.module 55 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/ns/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = ns 31 BINARY = ns 34 32 35 33 SOURCES = \ … … 39 37 task.c 40 38 41 include ../Makefile.common39 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/taskmon/Makefile
rd99c1d2 r1b1164e8 28 28 29 29 USPACE_PREFIX = ../.. 30 LIBS = $(LIBC_PREFIX)/libc.a 31 32 OUTPUT = taskmon 30 BINARY = taskmon 33 31 34 32 SOURCES = \ 35 33 taskmon.c 36 34 37 include ../Makefile.common35 include $(USPACE_PREFIX)/Makefile.common -
uspace/srv/vfs/Makefile
rd99c1d2 r1b1164e8 29 29 30 30 USPACE_PREFIX = ../.. 31 LIBS = $(LIBC_PREFIX)/libc.a 32 33 OUTPUT = vfs 31 BINARY = vfs 34 32 35 33 SOURCES = \ … … 41 39 vfs_register.c 42 40 43 include ../Makefile.common41 include $(USPACE_PREFIX)/Makefile.common
Note:
See TracChangeset
for help on using the changeset viewer.