Make.defs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ############################################################################
  2. # graphics/nxterm/Make.defs
  3. #
  4. # Licensed to the Apache Software Foundation (ASF) under one or more
  5. # contributor license agreements. See the NOTICE file distributed with
  6. # this work for additional information regarding copyright ownership. The
  7. # ASF licenses this file to you under the Apache License, Version 2.0 (the
  8. # "License"); you may not use this file except in compliance with the
  9. # License. You may obtain a copy of the License at
  10. #
  11. # http://www.apache.org/licenses/LICENSE-2.0
  12. #
  13. # Unless required by applicable law or agreed to in writing, software
  14. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  15. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  16. # License for the specific language governing permissions and limitations
  17. # under the License.
  18. #
  19. ############################################################################
  20. ifeq ($(CONFIG_NXTERM),y)
  21. CSRCS += nx_register.c nxterm_driver.c nxterm_font.c nxterm_putc.c
  22. CSRCS += nxterm_redraw.c nxterm_resize.c nxterm_register.c nxterm_scroll.c
  23. CSRCS += nxterm_vt100.c nxtk_register.c nxtool_register.c nxterm_clear.c
  24. ifneq ($(CONFIG_DISABLE_PSEUDOFS_OPERATIONS),y)
  25. CSRCS += nxterm_unregister.c
  26. endif
  27. ifeq ($(CONFIG_NXTERM_NXKBDIN),y)
  28. CSRCS += nxterm_kbdin.c
  29. endif
  30. ifeq ($(CONFIG_DEBUG_GRAPHICS),y)
  31. CSRCS += nxterm_sem.c
  32. endif
  33. DEPPATH += --dep-path nxterm
  34. CFLAGS += ${shell $(INCDIR) "$(CC)" $(TOPDIR)/graphics/nxterm}
  35. VPATH += :nxterm
  36. endif