1 # 2 # acpihelp - ACPI Help utility. Displays ASL operator syntax and 3 # information about ACPI predefined names. 4 # 5 6 # 7 # Note: This makefile is intended to be used from within the native 8 # ACPICA directory structure, from under generate/unix. It specifically 9 # places all object files in a generate/unix subdirectory, not within 10 # the various ACPICA source directories. This prevents collisions 11 # between different compilations of the same source file with different 12 # compile options, and prevents pollution of the source code. 13 # 14 include ../Makefile.config 15 PROG = acpihelp 16 17 # 18 # Flags specific to acpihelp 19 # 20 CFLAGS+= \ 21 -DACPI_HELP_APP \ 22 -I$(ACPICA_TOOLS)/acpihelp 23 24 OBJS = \ 25 ahamlops.o \ 26 ahaslkey.o \ 27 ahaslops.o \ 28 ahdecode.o \ 29 ahpredef.o \ 30 ahmain.o \ 31 getopt.o 32 33 # 34 # Root rule 35 # 36 $(PROG) : $(OBJS) 37 $(CC) $(LDFLAGS) $(OBJS) -o $(PROG) 38 $(COPYPROG) 39 40 # 41 # acpihelp source 42 # 43 ahamlops.o : $(ACPICA_TOOLS)/acpihelp/ahamlops.c 44 $(COMPILE) 45 46 ahaslkey.o : $(ACPICA_TOOLS)/acpihelp/ahaslkey.c 47 $(COMPILE) 48 49 ahaslops.o : $(ACPICA_TOOLS)/acpihelp/ahaslops.c 50 $(COMPILE) 51 52 ahdecode.o : $(ACPICA_TOOLS)/acpihelp/ahdecode.c 53 $(COMPILE) 54 55 ahpredef.o : $(ACPICA_TOOLS)/acpihelp/ahpredef.c 56 $(COMPILE) 57 58 ahmain.o : $(ACPICA_TOOLS)/acpihelp/ahmain.c 59 $(COMPILE) 60 61 # 62 # ACPICA core source - common 63 # 64 getopt.o : $(ACPICA_COMMON)/getopt.c 65 $(COMPILE) 66 67 68 clean : 69 rm -f $(PROG) $(PROG).exe $(OBJS) 70 71 install : 72 $(INSTALLPROG) 73