Home | History | Annotate | Line # | Download | only in unix
Makefile revision 1.1.1.2
      1      1.1  jruoho #
      2      1.1  jruoho # Common make for acpica tools and utilities
      3      1.1  jruoho #
      4  1.1.1.2  jruoho 
      5  1.1.1.2  jruoho #
      6  1.1.1.2  jruoho # Note: This makefile is intended to be used from within the native
      7  1.1.1.2  jruoho # ACPICA directory structure, from under generate/unix. It specifically
      8  1.1.1.2  jruoho # places all object files in a generate/unix subdirectory, not within
      9  1.1.1.2  jruoho # the various ACPICA source directories. This prevents collisions
     10  1.1.1.2  jruoho # between different compilations of the same source file with different
     11  1.1.1.2  jruoho # compile options, and prevents pollution of the source code.
     12  1.1.1.2  jruoho #
     13      1.1  jruoho include Makefile.config
     14      1.1  jruoho 
     15      1.1  jruoho 
     16  1.1.1.2  jruoho all:	${PROGS}
     17  1.1.1.2  jruoho ${PROGS}: FORCE
     18      1.1  jruoho 	@cd $@; make; ls -al $@
     19      1.1  jruoho 
     20      1.1  jruoho clean:	FORCE
     21  1.1.1.2  jruoho 	@for d in ${PROGS}; do \
     22      1.1  jruoho 		(cd $$d; \
     23      1.1  jruoho 		if [ $$? -ne 0 ]; then \
     24  1.1.1.2  jruoho 			echo "Bad element of PROGS: <$$d>"; \
     25      1.1  jruoho 		else \
     26      1.1  jruoho 			pwd; make clean; \
     27      1.1  jruoho 		fi); \
     28      1.1  jruoho 	done
     29      1.1  jruoho 
     30      1.1  jruoho install:	FORCE
     31  1.1.1.2  jruoho 	@for d in ${PROGS}; do \
     32      1.1  jruoho 		(cd $$d; \
     33      1.1  jruoho 		if [ $$? -ne 0 ]; then \
     34  1.1.1.2  jruoho 			echo "Bad element of PROGS: <$$d>"; \
     35      1.1  jruoho 		else \
     36      1.1  jruoho 			pwd; make install; \
     37      1.1  jruoho 		fi); \
     38      1.1  jruoho 	done
     39      1.1  jruoho 
     40      1.1  jruoho FORCE:
     41