Fix that way that NxWight UnitTests are reigistered as NSH builtin apps

This commit is contained in:
Gregory Nutt 2013-05-30 16:49:20 -06:00
parent 90d063e9dc
commit d69d3cd080
39 changed files with 194 additions and 133 deletions

View File

@ -366,3 +366,6 @@
NxWidgets::CGlyphSliderHorizontal class. From Ken Pettit (2013-5-17) . NxWidgets::CGlyphSliderHorizontal class. From Ken Pettit (2013-5-17) .
* NxWidgets::CGlyphSliderHorizontal: Fix a drawing error. From Ken * NxWidgets::CGlyphSliderHorizontal: Fix a drawing error. From Ken
Pettit (2013-5-17). Pettit (2013-5-17).
* UnitTests/*/Makefile and .gitignore: Update the way that NSH
the Unit Tests are registered as built-in NSH applications (2013-5-30).

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/Unitests/CButton/Makefile # NxWidgets/Unitests/CButton/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CButtonArray/Makefile # NxWidgets/UnitTests/CButtonArray/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CCheckBox/Makefile # NxWidgets/UnitTests/CCheckBox/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CGlyphButton/Makefile # NxWidgets/UnitTests/CGlyphButton/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CGlyphSliderHorizontal/Makefile # NxWidgets/UnitTests/CGlyphSliderHorizontal/Makefile
# #
# Copyright (C) 2012-213 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CImage/Makefile # NxWidgets/UnitTests/CImage/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CKeyPad/Makefile # NxWidgets/UnitTests/CKeyPad/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CLabel/Makefile # NxWidgets/UnitTests/CLabel/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CLatchButton/Makefile # NxWidgets/UnitTests/CLatchButton/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CLatchButtonArray/Makefile # NxWidgets/UnitTests/CLatchButtonArray/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CListBox/Makefile # NxWidgets/UnitTests/CListBox/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CProgressBar/Makefile # NxWidgets/UnitTests/CProgressBar/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CRadioButton/Makefile # NxWidgets/UnitTests/CRadioButton/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CScrollbarHorizontal/Makefile # NxWidgets/UnitTests/CScrollbarHorizontal/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
@$(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep @$(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CScrollbarVertical/Makefile # NxWidgets/UnitTests/CScrollbarVertical/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CSliderHorizontal/Makefile # NxWidgets/UnitTests/CSliderHorizontal/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CSliderVertical/Makefile # NxWidgets/UnitTests/CSliderVertical/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/UnitTests/CTextBox/Makefile # NxWidgets/UnitTests/CTextBox/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -142,15 +142,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -159,6 +162,7 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)

View File

@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.context
/.depend /.depend
/.built /.built
/*.asm /*.asm

View File

@ -1,7 +1,7 @@
################################################################################# #################################################################################
# NxWidgets/Unitests/nxwm/Makefile # NxWidgets/Unitests/nxwm/Makefile
# #
# Copyright (C) 2012 Gregory Nutt. All rights reserved. # Copyright (C) 2012-2013 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org> # Author: Gregory Nutt <gnutt@nuttx.org>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@ -172,15 +172,18 @@ else
endif endif
$(Q) touch .built $(Q) touch .built
# Standard housekeeping targets # Register NSH built-in application
.context:
ifeq ($(CONFIG_NSH_BUILTIN_APPS),y) ifeq ($(CONFIG_NSH_BUILTIN_APPS),y)
$(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat: $(DEPCONFIG) Makefile
$(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main) $(call REGISTER,$(APPNAME),$(PRIORITY),$(STACKSIZE),$(APPNAME)_main)
endif
$(Q) touch $@
context: .context context: $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat
else
context:
endif
# Standard housekeeping targets
.depend: Makefile $(SRCS) .depend: Makefile $(SRCS)
$(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(ROOTDEPPATH) $(CXX) -- $(CXXFLAGS) -- $(SRCS) >Make.dep
@ -189,10 +192,12 @@ context: .context
depend: .depend depend: .depend
clean: clean:
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, .built) $(call DELFILE, .built)
$(call CLEAN) $(call CLEAN)
distclean: clean distclean: clean
$(call DELFILE, $(BUILTIN_REGISTRY)$(DELIM)$(APPNAME)_main.bdat)
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend) $(call DELFILE, .depend)