2015-03-05 20:35:35 +01:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2014-11-29T15:53:29
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
|
|
|
QT += core gui
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
|
|
|
TARGET = newrpl-ui
|
|
|
|
TEMPLATE = app
|
|
|
|
|
2015-08-13 23:34:16 +02:00
|
|
|
DEFINES += TARGET_PC
|
2015-03-05 20:35:35 +01:00
|
|
|
|
|
|
|
SOURCES += main.cpp\
|
|
|
|
mainwindow.cpp \
|
|
|
|
qemuscreen.cpp \
|
|
|
|
firmware/ggl/ggl/ggl_bitblt.c \
|
|
|
|
firmware/ggl/ggl/ggl_bitbltoper.c \
|
|
|
|
firmware/ggl/ggl/ggl_filter.c \
|
|
|
|
firmware/ggl/ggl/ggl_fltdarken.c \
|
|
|
|
firmware/ggl/ggl/ggl_fltlighten.c \
|
|
|
|
firmware/ggl/ggl/ggl_getnib.c \
|
|
|
|
firmware/ggl/ggl/ggl_hblt.c \
|
|
|
|
firmware/ggl/ggl/ggl_hbltfilter.c \
|
|
|
|
firmware/ggl/ggl/ggl_hbltoper.c \
|
|
|
|
firmware/ggl/ggl/ggl_hline.c \
|
|
|
|
firmware/ggl/ggl/ggl_initscr.c \
|
|
|
|
firmware/ggl/ggl/ggl_mkcolor.c \
|
|
|
|
firmware/ggl/ggl/ggl_mkcolor32.c \
|
|
|
|
firmware/ggl/ggl/ggl_opmask.c \
|
|
|
|
firmware/ggl/ggl/ggl_optransp.c \
|
|
|
|
firmware/ggl/ggl/ggl_ovlblt.c \
|
|
|
|
firmware/ggl/ggl/ggl_pltnib.c \
|
|
|
|
firmware/ggl/ggl/ggl_rect.c \
|
|
|
|
firmware/ggl/ggl/ggl_rectp.c \
|
|
|
|
firmware/ggl/ggl/ggl_revblt.c \
|
|
|
|
firmware/ggl/ggl/ggl_scrolldn.c \
|
|
|
|
firmware/ggl/ggl/ggl_scrolllf.c \
|
|
|
|
firmware/ggl/ggl/ggl_scrollrt.c \
|
|
|
|
firmware/ggl/ggl/ggl_scrollup.c \
|
|
|
|
firmware/ggl/ggl/ggl_vline.c \
|
|
|
|
firmware/hal_battery.c \
|
|
|
|
firmware/hal_keyboard.c \
|
|
|
|
firmware/hal_screen.c \
|
|
|
|
firmware/sys/graphics.c \
|
|
|
|
firmware/sys/icons.c \
|
|
|
|
firmware/sys/target_pc/battery.c \
|
|
|
|
firmware/sys/target_pc/cpu.c \
|
|
|
|
firmware/sys/target_pc/exception.c \
|
|
|
|
firmware/sys/target_pc/irq.c \
|
|
|
|
firmware/sys/target_pc/keyboard.c \
|
|
|
|
firmware/sys/target_pc/lcd.c \
|
|
|
|
firmware/sys/target_pc/stdlib.c \
|
|
|
|
firmware/sys/target_pc/timer.c \
|
|
|
|
firmware/hal_globals.c \
|
|
|
|
newrpl/compiler.c \
|
|
|
|
newrpl/datastack.c \
|
|
|
|
newrpl/directory.c \
|
|
|
|
newrpl/errors.c \
|
|
|
|
newrpl/gc.c \
|
|
|
|
newrpl/lam.c \
|
|
|
|
newrpl/lib-24-string.c \
|
|
|
|
newrpl/lib-28-dirs.c \
|
|
|
|
newrpl/lib-30-complex.c \
|
2015-09-04 23:30:41 +02:00
|
|
|
newrpl/lib-64-arithmetic.c \
|
2015-03-05 20:35:35 +01:00
|
|
|
newrpl/lib-66-transcendentals.c \
|
|
|
|
newrpl/lib-68-flags.c \
|
|
|
|
newrpl/lib-70-binary.c \
|
|
|
|
newrpl/lib-72-stack.c \
|
|
|
|
newrpl/lib-4080-localenv.c \
|
|
|
|
newrpl/lib-4090-overloaded.c \
|
|
|
|
newrpl/lib-common.c \
|
|
|
|
newrpl/lib-eight-docol.c \
|
|
|
|
newrpl/lib-nine-docol2.c \
|
|
|
|
newrpl/lib-ten-reals.c \
|
|
|
|
newrpl/lib-twelve-bint.c \
|
|
|
|
newrpl/lib-two-ident.c \
|
|
|
|
newrpl/lists.c \
|
|
|
|
newrpl/returnstack.c \
|
|
|
|
newrpl/romlibs.c \
|
|
|
|
newrpl/runstream.c \
|
|
|
|
newrpl/symbolic.c \
|
|
|
|
newrpl/sysvars.c \
|
|
|
|
newrpl/tempob.c \
|
|
|
|
firmware/sys/target_pc/mem.c \
|
|
|
|
firmware/sys/target_pc/boot.c \
|
2015-03-17 05:14:50 +01:00
|
|
|
rplthread.cpp \
|
2015-03-25 23:02:35 +01:00
|
|
|
firmware/ui_cmdline.c \
|
2015-05-03 04:28:59 +02:00
|
|
|
newrpl/utf8lib.c \
|
2015-05-11 03:30:49 +02:00
|
|
|
newrpl/utf8data.c \
|
|
|
|
firmware/sys/Font5C.c \
|
2015-05-30 21:53:24 +02:00
|
|
|
firmware/sys/Font6A.c \
|
2015-05-31 04:45:19 +02:00
|
|
|
firmware/sys/keybcommon.c \
|
2015-07-30 18:33:26 +02:00
|
|
|
firmware/sys/Font7A.c \
|
2015-08-03 16:47:45 +02:00
|
|
|
newrpl/matrix.c \
|
|
|
|
firmware/sys/Font8C.c \
|
2015-08-07 22:41:15 +02:00
|
|
|
firmware/sys/Font8D.c \
|
|
|
|
newrpl/atan_1_8_comp.c \
|
|
|
|
newrpl/atan_2_8_comp.c \
|
|
|
|
newrpl/atan_5_8_comp.c \
|
|
|
|
newrpl/atanh_1_8_comp.c \
|
|
|
|
newrpl/atanh_2_8_comp.c \
|
|
|
|
newrpl/atanh_5_8_comp.c \
|
|
|
|
newrpl/cordic_K_8_comp.c \
|
|
|
|
newrpl/cordic_Kh_8_comp.c \
|
|
|
|
newrpl/decimal.c \
|
2015-08-19 21:58:24 +02:00
|
|
|
newrpl/dectranscen.c \
|
2015-08-20 18:27:07 +02:00
|
|
|
newrpl/backup.c \
|
2015-08-26 19:07:35 +02:00
|
|
|
newrpl/sanity.c \
|
|
|
|
newrpl/lib-32-lam.c \
|
2015-08-28 14:34:26 +02:00
|
|
|
newrpl/lib-65-system.c \
|
2015-09-16 00:28:44 +02:00
|
|
|
firmware/hal_msgenglish.c \
|
2015-09-29 18:53:14 +02:00
|
|
|
newrpl/units.c \
|
2015-09-30 03:31:32 +02:00
|
|
|
newrpl/lib-62-lists.c \
|
|
|
|
newrpl/lib-56-symbolic.c \
|
|
|
|
newrpl/lib-52-matrix.c \
|
2015-10-14 03:31:16 +02:00
|
|
|
newrpl/lib-54-units.c \
|
2015-10-23 23:50:18 +02:00
|
|
|
newrpl/autocomplete.c \
|
2015-11-02 18:22:26 +01:00
|
|
|
newrpl/arithmetic.c \
|
2015-11-16 01:22:53 +01:00
|
|
|
newrpl/lib-20-comments.c \
|
2015-11-25 23:27:24 +01:00
|
|
|
firmware/sys/target_pc/flash.c \
|
2015-12-31 18:19:21 +01:00
|
|
|
firmware/ui_softmenu.c \
|
|
|
|
firmware/ggl/ggl/ggl_fltinvert.c
|
2015-03-05 20:35:35 +01:00
|
|
|
|
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
qemuscreen.h \
|
|
|
|
firmware/include/ggl.h \
|
|
|
|
target_pc.h \
|
|
|
|
firmware/include/ui.h \
|
|
|
|
firmware/include/hal_api.h \
|
|
|
|
newrpl/hal.h \
|
|
|
|
newrpl/libraries.h \
|
|
|
|
newrpl/newrpl.h \
|
|
|
|
newrpl/sysvars.h \
|
2015-05-03 04:28:59 +02:00
|
|
|
rplthread.h \
|
2015-08-07 22:41:15 +02:00
|
|
|
newrpl/utf8lib.h \
|
2015-08-26 23:53:01 +02:00
|
|
|
newrpl/decimal.h \
|
2015-10-23 23:50:18 +02:00
|
|
|
newrpl/errorcodes.h \
|
2016-01-06 00:15:20 +01:00
|
|
|
newrpl/arithmetic.h \
|
|
|
|
newrpl/cmdcodes.h \
|
2016-01-07 00:43:28 +01:00
|
|
|
newrpl/common-macros.h \
|
2016-01-07 01:31:41 +01:00
|
|
|
newrpl/lib-header.h \
|
|
|
|
newrpl/include-all.h \
|
|
|
|
newrpl/romlibs.h
|
2015-03-05 20:35:35 +01:00
|
|
|
|
2016-03-15 22:48:49 +01:00
|
|
|
RPL_OBJECTS = newrpl/rpl-objects/lib-54.nrpl \
|
2016-03-16 20:16:48 +01:00
|
|
|
newrpl/rpl-objects/lib-9.nrpl \
|
2016-03-21 14:50:27 +01:00
|
|
|
newrpl/rpl-objects/lib-10.nrpl
|
2016-01-11 23:50:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-08-07 22:41:15 +02:00
|
|
|
INCLUDEPATH += firmware/include newrpl /usr/local/include /usr/include
|
2015-03-05 20:35:35 +01:00
|
|
|
|
2015-03-25 23:02:35 +01:00
|
|
|
LIBS += -L/usr/local/lib
|
2015-03-05 20:35:35 +01:00
|
|
|
|
|
|
|
FORMS += mainwindow.ui
|
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
annunciators.qrc
|
2016-01-06 00:15:20 +01:00
|
|
|
|
|
|
|
QMAKE_CFLAGS += -Wno-duplicate-decl-specifier
|
2016-01-11 23:50:59 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Additional RPL compiler, make sure it's in the PATH
|
|
|
|
rpl_compiler.output = auto_${QMAKE_FILE_BASE}.c
|
|
|
|
rpl_compiler.commands = $$PWD/tools-bin/newrpl-comp -c -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME}
|
|
|
|
rpl_compiler.input = RPL_OBJECTS
|
|
|
|
rpl_compiler.variable_out = SOURCES
|
|
|
|
|
|
|
|
QMAKE_EXTRA_COMPILERS += rpl_compiler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-03-16 20:16:48 +01:00
|
|
|
|