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