Lines Matching refs:makefile
44 "\\(^\\(\\sw\\|[/_]\\)+\\(Makefile\\|\\.mk\\):[0-9]+:.*warning\\)\\|\\(^/bin/bash\\)"
49 (defun android-makefile-exists-p (directory)
50 "Return t if an Android makefile exists in DIRECTORY."
53 (file-exists-p (concat directory "Makefile"))))
55 (defun android-find-makefile (topdir)
56 "Ascend the current path until an Android makefile is found.
58 the file is named Makefile.
61 MAKEFILE_PATH is the relative path of the makefile wrt TOPDIR.
62 Signal an error if no Makefile was found."
70 (not (android-makefile-exists-p default-directory)))
75 (when (not (android-makefile-exists-p default-directory))
79 (list "Makefile" t)
139 Walk up the path until a makefile is found and build it.
147 (makefile (android-find-makefile topdir))
156 (if (cadr makefile)
157 ;; The root Makefile is not invoked using ONE_SHOT_MAKEFILE.
159 (concat "ONE_SHOT_MAKEFILE=" (car makefile)