2012-04-30 00:10:52 +02:00
|
|
|
#################################################################################
|
2019-04-05 02:53:29 +02:00
|
|
|
# apps/graphics/nxwm/Makefile
|
2012-04-30 00:10:52 +02:00
|
|
|
#
|
2021-06-07 17:31:08 +02:00
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership. The
|
|
|
|
# ASF licenses this file to you under the Apache License, Version 2.0 (the
|
|
|
|
# "License"); you may not use this file except in compliance with the
|
|
|
|
# License. You may obtain a copy of the License at
|
2012-04-30 00:10:52 +02:00
|
|
|
#
|
2021-06-07 17:31:08 +02:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2012-04-30 00:10:52 +02:00
|
|
|
#
|
2021-06-07 17:31:08 +02:00
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
|
|
# License for the specific language governing permissions and limitations
|
|
|
|
# under the License.
|
2012-04-30 00:10:52 +02:00
|
|
|
#
|
|
|
|
#################################################################################
|
|
|
|
|
2020-05-20 06:35:03 +02:00
|
|
|
include $(APPDIR)/Make.defs
|
2012-05-19 01:08:34 +02:00
|
|
|
|
2019-10-06 14:14:39 +02:00
|
|
|
PROGNAME = nxwm
|
|
|
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
2020-03-27 05:57:26 +01:00
|
|
|
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
2019-10-06 14:14:39 +02:00
|
|
|
MODULE = $(CONFIG_NXWM)
|
|
|
|
|
2012-04-30 00:10:52 +02:00
|
|
|
# Window Manager
|
2016-07-22 19:10:07 +02:00
|
|
|
|
2019-04-05 02:53:29 +02:00
|
|
|
MAINSRC = nxwm_main.cxx
|
2012-05-22 21:29:22 +02:00
|
|
|
CXXSRCS = capplicationwindow.cxx cfullscreenwindow.cxx ctaskbar.cxx cwindowmessenger.cxx
|
|
|
|
|
|
|
|
# Device support
|
2012-05-19 01:08:34 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_NXWM_TOUCHSCREEN),y)
|
2012-05-22 21:29:22 +02:00
|
|
|
CXXSRCS += ctouchscreen.cxx
|
2012-05-19 01:08:34 +02:00
|
|
|
endif
|
|
|
|
|
2012-05-21 00:10:34 +02:00
|
|
|
ifeq ($(CONFIG_NXWM_KEYBOARD),y)
|
|
|
|
CXXSRCS += ckeyboard.cxx
|
|
|
|
endif
|
|
|
|
|
2012-05-22 21:29:22 +02:00
|
|
|
# Applications
|
|
|
|
|
2013-12-30 17:04:34 +01:00
|
|
|
CXXSRCS += cstartwindow.cxx chexcalculator.cxx
|
2012-05-22 21:29:22 +02:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_NXWM_TOUCHSCREEN),y)
|
|
|
|
CXXSRCS += ccalibration.cxx
|
|
|
|
endif
|
|
|
|
|
2014-09-20 22:25:51 +02:00
|
|
|
ifeq ($(CONFIG_NXWM_NXTERM),y)
|
2014-09-20 22:41:45 +02:00
|
|
|
CXXSRCS += cnxterm.cxx
|
2013-12-30 17:04:34 +01:00
|
|
|
endif
|
|
|
|
|
2013-05-12 00:15:51 +02:00
|
|
|
ifeq ($(CONFIG_NXWM_MEDIAPLAYER),y)
|
2014-07-14 17:20:13 +02:00
|
|
|
CXXSRCS += cmediaplayer.cxx
|
2013-05-12 00:15:51 +02:00
|
|
|
endif
|
|
|
|
|
2018-09-16 17:25:32 +02:00
|
|
|
VPATH = src
|
2018-09-16 14:52:25 +02:00
|
|
|
|
2018-09-16 00:38:39 +02:00
|
|
|
include $(APPDIR)/Application.mk
|