summaryrefslogtreecommitdiff
path: root/generate/unix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'generate/unix/Makefile')
-rw-r--r--generate/unix/Makefile21
1 files changed, 15 insertions, 6 deletions
diff --git a/generate/unix/Makefile b/generate/unix/Makefile
index f1ca17f2632c..e75523c26bb7 100644
--- a/generate/unix/Makefile
+++ b/generate/unix/Makefile
@@ -1,28 +1,37 @@
#
# Common make for acpica tools and utilities
#
+
+#
+# Note: This makefile is intended to be used from within the native
+# ACPICA directory structure, from under generate/unix. It specifically
+# places all object files in a generate/unix subdirectory, not within
+# the various ACPICA source directories. This prevents collisions
+# between different compilations of the same source file with different
+# compile options, and prevents pollution of the source code.
+#
include Makefile.config
-all: ${DIRS}
-${DIRS}: FORCE
+all: ${PROGS}
+${PROGS}: FORCE
@cd $@; make; ls -al $@
clean: FORCE
- @for d in ${DIRS}; do \
+ @for d in ${PROGS}; do \
(cd $$d; \
if [ $$? -ne 0 ]; then \
- echo "Bad element of DIRS: <$$d>"; \
+ echo "Bad element of PROGS: <$$d>"; \
else \
pwd; make clean; \
fi); \
done
install: FORCE
- @for d in ${DIRS}; do \
+ @for d in ${PROGS}; do \
(cd $$d; \
if [ $$? -ne 0 ]; then \
- echo "Bad element of DIRS: <$$d>"; \
+ echo "Bad element of PROGS: <$$d>"; \
else \
pwd; make install; \
fi); \