Rev 1560 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1560 | Rev 1561 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | LIBC_PREFIX = ../libc |
32 | LIBC_PREFIX = ../libc |
33 | SOFTINT_PREFIX = ../softint |
33 | SOFTINT_PREFIX = ../softint |
34 | include $(LIBC_PREFIX)/Makefile.toolchain |
34 | include $(LIBC_PREFIX)/Makefile.toolchain |
35 | 35 | ||
36 | CFLAGS += -I../libipc/include |
36 | CFLAGS += -I../libipc/include |
37 | ifeq ($(ARCH), mips32) |
- | |
38 | CFLAGS += -DFB_BIG_ENDIAN |
- | |
39 | endif |
- | |
40 | 37 | ||
41 | LIBS = $(LIBC_PREFIX)/libc.a |
38 | LIBS = $(LIBC_PREFIX)/libc.a |
42 | 39 | ||
43 | ## Sources |
40 | ## Sources |
44 | # |
41 | # |
Line 47... | Line 44... | ||
47 | SOURCES = \ |
44 | SOURCES = \ |
48 | main.c \ |
45 | main.c \ |
49 | sysio.c \ |
46 | sysio.c \ |
50 | ppm.c |
47 | ppm.c |
51 | 48 | ||
- | 49 | ifneq ($(ARCH), ia64) |
|
- | 50 | SOURCES += fb.c \ |
|
- | 51 | font-8x16.c |
|
- | 52 | CFLAGS += -DFB_ENABLED |
|
- | 53 | endif |
|
- | 54 | ||
52 | ifeq ($(ARCH), ia32) |
55 | ifeq ($(ARCH), ia32) |
53 | SOURCES += fb.c \ |
56 | SOURCES += ega.c |
54 | font-8x16.c \ |
57 | CFLAGS += -DEGA_ENABLED |
55 | ega.c |
- | |
56 | endif |
58 | endif |
57 | ifeq ($(ARCH), amd64) |
59 | ifeq ($(ARCH), amd64) |
58 | SORCES += fb.c \ |
60 | SOURCES += ega.c |
59 | font-8x16.c \ |
61 | CFLAGS += -DEGA_ENABLED |
60 | ega.c |
62 | endif |
- | 63 | ifeq ($(ARCH), mips32) |
|
- | 64 | CFLAGS += -DFB_BIG_ENDIAN |
|
61 | endif |
65 | endif |
62 | 66 | ||
63 | CFLAGS += -D$(ARCH) |
67 | CFLAGS += -D$(ARCH) |
64 | 68 | ||
65 | 69 |