2012-04-29 22:10:52 +00:00
|
|
|
#################################################################################
|
2019-04-04 18:53:29 -06:00
|
|
|
# apps/graphics/nxwm/Makefile
|
2012-04-29 22:10:52 +00: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-29 22:10:52 +00:00
|
|
|
#
|
2021-06-07 17:31:08 +02:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2012-04-29 22:10:52 +00: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-29 22:10:52 +00:00
|
|
|
#
|
|
|
|
#################################################################################
|
|
|
|
|
2020-05-20 12:35:03 +08:00
|
|
|
include $(APPDIR)/Make.defs
|
2012-05-18 23:08:34 +00:00
|
|
|
|
2019-10-06 06:14:39 -06:00
|
|
|
PROGNAME = nxwm
|
|
|
|
PRIORITY = SCHED_PRIORITY_DEFAULT
|
2020-03-27 13:57:26 +09:00
|
|
|
STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE)
|
2019-10-06 06:14:39 -06:00
|
|
|
MODULE = $(CONFIG_NXWM)
|
|
|
|
|
2012-04-29 22:10:52 +00:00
|
|
|
# Window Manager
|
2016-07-22 11:10:07 -06:00
|
|
|
|
2019-04-04 18:53:29 -06:00
|
|
|
MAINSRC = nxwm_main.cxx
|
2012-05-22 19:29:22 +00:00
|
|
|
CXXSRCS = capplicationwindow.cxx cfullscreenwindow.cxx ctaskbar.cxx cwindowmessenger.cxx
|
|
|
|
|
|
|
|
# Device support
|
2012-05-18 23:08:34 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_NXWM_TOUCHSCREEN),y)
|
2012-05-22 19:29:22 +00:00
|
|
|
CXXSRCS += ctouchscreen.cxx
|
2012-05-18 23:08:34 +00:00
|
|
|
endif
|
|
|
|
|
2012-05-20 22:10:34 +00:00
|
|
|
ifeq ($(CONFIG_NXWM_KEYBOARD),y)
|
|
|
|
CXXSRCS += ckeyboard.cxx
|
|
|
|
endif
|
|
|
|
|
2012-05-22 19:29:22 +00:00
|
|
|
# Applications
|
|
|
|
|
2013-12-30 10:04:34 -06:00
|
|
|
CXXSRCS += cstartwindow.cxx chexcalculator.cxx
|
2012-05-22 19:29:22 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_NXWM_TOUCHSCREEN),y)
|
|
|
|
CXXSRCS += ccalibration.cxx
|
|
|
|
endif
|
|
|
|
|
2014-09-20 14:25:51 -06:00
|
|
|
ifeq ($(CONFIG_NXWM_NXTERM),y)
|
2014-09-20 14:41:45 -06:00
|
|
|
CXXSRCS += cnxterm.cxx
|
2013-12-30 10:04:34 -06:00
|
|
|
endif
|
|
|
|
|
2013-05-11 16:15:51 -06:00
|
|
|
ifeq ($(CONFIG_NXWM_MEDIAPLAYER),y)
|
2014-07-14 09:20:13 -06:00
|
|
|
CXXSRCS += cmediaplayer.cxx
|
2013-05-11 16:15:51 -06:00
|
|
|
endif
|
|
|
|
|
2018-09-16 09:25:32 -06:00
|
|
|
VPATH = src
|
2018-09-16 06:52:25 -06:00
|
|
|
|
2018-09-15 16:38:39 -06:00
|
|
|
include $(APPDIR)/Application.mk
|