Subversion Repositories HelenOS

Rev

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

Rev 4346 Rev 4348
Line 47... Line 47...
47
	genarch/gsp.c \
47
	genarch/gsp.c \
48
	genarch/stroke.c \
48
	genarch/stroke.c \
49
	generic/key_buffer.c
49
	generic/key_buffer.c
50
 
50
 
51
ARCH_SOURCES =
51
ARCH_SOURCES =
52
GENARCH_SOURCES =
52
GENARCH_SOURCES = \
53
 
-
 
54
ifeq ($(KBD_LAYOUT), us_qwerty)
53
	layout/cz.c \
55
	GENARCH_SOURCES += layout/us_qwerty.c
54
	layout/us_qwerty.c \
56
endif
-
 
57
ifeq ($(KBD_LAYOUT), us_dvorak)
-
 
58
	GENARCH_SOURCES += layout/us_dvorak.c
55
	layout/us_dvorak.c
59
endif
-
 
60
 
56
 
61
ifeq ($(UARCH), amd64)
57
ifeq ($(UARCH), amd64)
62
	GENARCH_SOURCES += \
58
	GENARCH_SOURCES += \
63
		port/i8042.c \
59
		port/i8042.c \
64
		ctl/pc.c
60
		ctl/pc.c
65
endif
61
endif
-
 
62
 
66
ifeq ($(UARCH), arm32)
63
ifeq ($(UARCH), arm32)
67
	GENARCH_SOURCES += \
64
	GENARCH_SOURCES += \
68
		port/gxemul.c
65
		port/gxemul.c
-
 
66
	
69
	ifeq ($(CONFIG_FB), y)
67
	ifeq ($(CONFIG_FB), y)
70
		GENARCH_SOURCES += \
68
		GENARCH_SOURCES += \
71
			ctl/gxe_fb.c
69
			ctl/gxe_fb.c
72
	else
70
	else
73
		GENARCH_SOURCES += \
71
		GENARCH_SOURCES += \
74
			ctl/stty.c
72
			ctl/stty.c
75
	endif
73
	endif
76
endif
74
endif
-
 
75
 
77
ifeq ($(UARCH), ia32)
76
ifeq ($(UARCH), ia32)
78
	GENARCH_SOURCES += \
77
	GENARCH_SOURCES += \
79
		port/i8042.c \
78
		port/i8042.c \
80
		ctl/pc.c
79
		ctl/pc.c
81
endif
80
endif
-
 
81
 
82
ifeq ($(MACHINE), i460GX)
82
ifeq ($(MACHINE), i460GX)
83
	GENARCH_SOURCES += \
83
	GENARCH_SOURCES += \
84
		port/i8042.c \
84
		port/i8042.c \
85
		ctl/pc.c
85
		ctl/pc.c
86
endif
86
endif
-
 
87
 
87
ifeq ($(MACHINE), ski)
88
ifeq ($(MACHINE), ski)
88
	GENARCH_SOURCES += \
89
	GENARCH_SOURCES += \
89
		port/ski.c \
90
		port/ski.c \
90
		ctl/stty.c
91
		ctl/stty.c
91
endif
92
endif
-
 
93
 
92
ifeq ($(MACHINE), msim)
94
ifeq ($(MACHINE), msim)
93
	GENARCH_SOURCES += \
95
	GENARCH_SOURCES += \
94
		port/msim.c \
96
		port/msim.c \
95
		ctl/stty.c
97
		ctl/stty.c
96
endif
98
endif
-
 
99
 
97
ifeq ($(MACHINE), lgxemul)
100
ifeq ($(MACHINE), lgxemul)
98
	GENARCH_SOURCES += \
101
	GENARCH_SOURCES += \
99
		port/gxemul.c
102
		port/gxemul.c
-
 
103
	
100
	ifeq ($(CONFIG_FB), y)
104
	ifeq ($(CONFIG_FB), y)
101
		GENARCH_SOURCES += \
105
		GENARCH_SOURCES += \
102
			ctl/gxe_fb.c
106
			ctl/gxe_fb.c
103
	else
107
	else
104
		GENARCH_SOURCES += \
108
		GENARCH_SOURCES += \
105
			ctl/stty.c
109
			ctl/stty.c
106
	endif
110
	endif
107
endif
111
endif
-
 
112
 
108
ifeq ($(MACHINE), bgxemul)
113
ifeq ($(MACHINE), bgxemul)
109
	GENARCH_SOURCES += \
114
	GENARCH_SOURCES += \
110
		port/gxemul.c \
115
		port/gxemul.c
-
 
116
	
-
 
117
	ifeq ($(CONFIG_FB), y)
-
 
118
		GENARCH_SOURCES += \
-
 
119
			ctl/gxe_fb.c
-
 
120
	else
-
 
121
		GENARCH_SOURCES += \
111
		ctl/stty.c
122
			ctl/stty.c
-
 
123
	endif
112
endif
124
endif
-
 
125
 
113
ifeq ($(UARCH), ppc32)
126
ifeq ($(UARCH), ppc32)
114
	GENARCH_SOURCES += \
127
	GENARCH_SOURCES += \
115
		port/dummy.c \
128
		port/dummy.c \
116
		ctl/stty.c
129
		ctl/stty.c
117
endif
130
endif
-
 
131
 
118
ifeq ($(UARCH), sparc64)
132
ifeq ($(UARCH), sparc64)
119
    ifeq ($(MACHINE),serengeti)
133
	ifeq ($(MACHINE),serengeti)
120
	GENARCH_SOURCES += \
134
		GENARCH_SOURCES += \
121
		port/sgcn.c \
135
			port/sgcn.c \
122
		ctl/stty.c
136
			ctl/stty.c
123
    else
137
	else
124
	GENARCH_SOURCES += \
138
		GENARCH_SOURCES += \
-
 
139
			port/sun.c \
125
		port/z8530.c \
140
			port/z8530.c \
-
 
141
			port/ns16550.c \
126
		ctl/sun.c
142
			ctl/sun.c
127
    endif
143
	endif
128
endif
144
endif
129
 
145
 
130
GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
146
GENERIC_OBJECTS := $(addsuffix .o,$(basename $(GENERIC_SOURCES)))
131
ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
147
ARCH_OBJECTS := $(addsuffix .o,$(basename $(ARCH_SOURCES)))
132
GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES)))
148
GENARCH_OBJECTS := $(addsuffix .o,$(basename $(GENARCH_SOURCES)))