Makefile revision 1.1.1.2
11.1Sjruoho#
21.1Sjruoho# Common make for acpica tools and utilities
31.1Sjruoho#
41.1.1.2Sjruoho
51.1.1.2Sjruoho#
61.1.1.2Sjruoho# Note: This makefile is intended to be used from within the native
71.1.1.2Sjruoho# ACPICA directory structure, from under generate/unix. It specifically
81.1.1.2Sjruoho# places all object files in a generate/unix subdirectory, not within
91.1.1.2Sjruoho# the various ACPICA source directories. This prevents collisions
101.1.1.2Sjruoho# between different compilations of the same source file with different
111.1.1.2Sjruoho# compile options, and prevents pollution of the source code.
121.1.1.2Sjruoho#
131.1Sjruohoinclude Makefile.config
141.1Sjruoho
151.1Sjruoho
161.1.1.2Sjruohoall:	${PROGS}
171.1.1.2Sjruoho${PROGS}: FORCE
181.1Sjruoho	@cd $@; make; ls -al $@
191.1Sjruoho
201.1Sjruohoclean:	FORCE
211.1.1.2Sjruoho	@for d in ${PROGS}; do \
221.1Sjruoho		(cd $$d; \
231.1Sjruoho		if [ $$? -ne 0 ]; then \
241.1.1.2Sjruoho			echo "Bad element of PROGS: <$$d>"; \
251.1Sjruoho		else \
261.1Sjruoho			pwd; make clean; \
271.1Sjruoho		fi); \
281.1Sjruoho	done
291.1Sjruoho
301.1Sjruohoinstall:	FORCE
311.1.1.2Sjruoho	@for d in ${PROGS}; do \
321.1Sjruoho		(cd $$d; \
331.1Sjruoho		if [ $$? -ne 0 ]; then \
341.1.1.2Sjruoho			echo "Bad element of PROGS: <$$d>"; \
351.1Sjruoho		else \
361.1Sjruoho			pwd; make install; \
371.1Sjruoho		fi); \
381.1Sjruoho	done
391.1Sjruoho
401.1SjruohoFORCE:
41