2015-08-09 19:43:47 +00:00
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += console
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
CONFIG -= qt
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
src/console.c \
|
|
|
|
src/init.c \
|
|
|
|
src/interrupts.c \
|
|
|
|
src/malloc.c \
|
|
|
|
src/pmm.c \
|
|
|
|
src/stdlib.c \
|
2015-10-06 13:23:15 +00:00
|
|
|
src/vmm.c \
|
2015-08-13 12:56:50 +00:00
|
|
|
src/timer.c \
|
2015-08-13 15:23:11 +00:00
|
|
|
src/cplusplus.cpp \
|
2015-08-17 13:38:19 +00:00
|
|
|
src/vm.cpp \
|
2015-10-06 13:23:15 +00:00
|
|
|
src/serial.c \
|
|
|
|
src/cpp-test.cpp
|
2015-08-09 19:43:47 +00:00
|
|
|
|
|
|
|
HEADERS += \
|
2015-08-13 12:56:50 +00:00
|
|
|
include/console.h \
|
|
|
|
include/cpustate.h \
|
|
|
|
include/interrupts.h \
|
|
|
|
include/intr_stubs.h \
|
|
|
|
include/io.h \
|
|
|
|
include/kernel.h \
|
|
|
|
include/multiboot.h \
|
|
|
|
include/pmm.h \
|
2015-10-07 01:43:23 +00:00
|
|
|
include/kstdlib.h \
|
2015-08-13 12:56:50 +00:00
|
|
|
include/varargs.h \
|
|
|
|
include/vmm.h \
|
|
|
|
include/timer.h \
|
|
|
|
include/ker/string.hpp \
|
|
|
|
include/ker/pair.hpp \
|
|
|
|
include/ker/vector.hpp \
|
|
|
|
include/ker/dictionary.hpp \
|
2015-10-07 01:43:23 +00:00
|
|
|
include/kstring.h \
|
2015-08-14 21:53:51 +00:00
|
|
|
include/ker/new.hpp \
|
2015-08-16 21:40:34 +00:00
|
|
|
include/dynamic.h \
|
2015-08-17 13:38:19 +00:00
|
|
|
include/config.h \
|
2015-08-17 18:04:14 +00:00
|
|
|
include/serial.h \
|
2015-10-06 13:23:15 +00:00
|
|
|
include/malloc.h
|
2015-08-09 19:43:47 +00:00
|
|
|
|
|
|
|
DISTFILES += \
|
|
|
|
asm/intr_common_handler.S \
|
|
|
|
asm/multiboot.S \
|
|
|
|
asm/start.S \
|
|
|
|
trainscript.md \
|
2015-10-06 13:23:15 +00:00
|
|
|
Makefile \
|
2015-08-14 09:58:16 +00:00
|
|
|
kernel.ld \
|
2015-08-14 11:27:04 +00:00
|
|
|
Depfile \
|
2015-08-14 13:38:01 +00:00
|
|
|
Makefile.new \
|
2015-08-14 21:53:51 +00:00
|
|
|
scripts/main.ts \
|
2015-08-15 12:22:38 +00:00
|
|
|
asm/dynamic.S \
|
2015-10-06 13:23:15 +00:00
|
|
|
README.md
|
2015-08-09 19:43:47 +00:00
|
|
|
|
|
|
|
QMAKE_INCDIR =
|
|
|
|
|
|
|
|
QMAKE_CFLAGS = -m32 -Dnullptr=0 -std=c11 -Wall -fno-stack-protector -ffreestanding
|
|
|
|
|
|
|
|
QMAKE_LINK = ld
|
|
|
|
QMAKE_LFLAGS = -g -melf_i386 -Tkernel.ld
|