node-start.mk 399 B

1234567891011121314151617
  1. # Should be included at the start of each node.mk file.
  2. # Get name of current directory.
  3. SUBDIR:=$(firstword $(SUBDIRSTACK))
  4. SUBDIRSTACK:=$(wordlist 2,$(words $(SUBDIRSTACK)),$(SUBDIRSTACK))
  5. # Push current directory on directory stack.
  6. DIRSTACK:=$(CURDIR) $(DIRSTACK)
  7. CURDIR:=$(CURDIR)$(SUBDIR)
  8. # Initialise node vars with empty value.
  9. SUBDIRS:=
  10. MOC_SRC_HDR:=
  11. SRC_HDR:=
  12. SRC_ONLY:=
  13. HDR_ONLY:=
  14. UI:=