Subversion Repositories HelenOS

Rev

Rev 3149 | Rev 3203 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3149 Rev 3191
Line 41... Line 41...
41
 
41
 
42
DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" \
42
DEFS = -D$(ARCH) -DARCH=\"$(ARCH)\" -DRELEASE=\"$(RELEASE)\" "-DNAME=\"$(NAME)\"" \
43
	-DKERNEL
43
	-DKERNEL
44
 
44
 
45
GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) \
45
GCC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) \
46
	-fno-builtin -fomit-frame-pointer -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Werror \
46
	-fno-builtin -Wall -Wextra -Wno-unused-parameter -Wmissing-prototypes -Werror \
47
	-nostdlib -nostdinc
47
	-nostdlib -nostdinc
48
 
48
 
49
ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) \
49
ICC_CFLAGS = -I$(INCLUDES) -O$(OPTIMIZATION) \
50
	-fno-builtin -fomit-frame-pointer -Wall -Wmissing-prototypes -Werror \
50
	-fno-builtin -Wall -Wmissing-prototypes -Werror \
51
	-nostdlib -nostdinc \
51
	-nostdlib -nostdinc \
52
	-wd170
52
	-wd170
53
 
53
 
54
SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
54
SUNCC_CFLAGS = -I$(INCLUDES) -xO$(OPTIMIZATION) \
55
	-xnolib -xc99=all -features=extensions \
55
	-xnolib -xc99=all -features=extensions \
Line 391... Line 391...
391
	$(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@
391
	$(GCC) $(DEFS) $(GCC_CFLAGS) -D__ASM__ -c $< -o $@
392
 
392
 
393
%.o: %.s
393
%.o: %.s
394
	$(AS) $(AFLAGS) $< -o $@
394
	$(AS) $(AFLAGS) $< -o $@
395
 
395
 
-
 
396
#
-
 
397
# The FPU tests are the only objects for which we allow the compiler to generate
-
 
398
# FPU instructions.
-
 
399
#
396
%.o: %.c
400
test/fpu/%.o: test/fpu/%.c
397
	$(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c $< -o $@
401
	$(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) -c $< -o $@
-
 
402
 
-
 
403
#
-
 
404
# Ordinary objects.
-
 
405
#
-
 
406
%.o: %.c
-
 
407
	$(CC) $(DEFS) $(CFLAGS) $(EXTRA_FLAGS) $(FPU_NO_CFLAGS) -c $< -o $@