Makefile revision 1.1.1.1
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# 14include ../Makefile.config 15PROG = acpihelp 16 17# 18# Flags specific to acpihelp 19# 20CFLAGS+= \ 21 -DACPI_HELP_APP \ 22 -I$(ACPICA_TOOLS)/acpihelp 23 24OBJS = \ 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# 43ahamlops.o : $(ACPICA_TOOLS)/acpihelp/ahamlops.c 44 $(COMPILE) 45 46ahaslkey.o : $(ACPICA_TOOLS)/acpihelp/ahaslkey.c 47 $(COMPILE) 48 49ahaslops.o : $(ACPICA_TOOLS)/acpihelp/ahaslops.c 50 $(COMPILE) 51 52ahdecode.o : $(ACPICA_TOOLS)/acpihelp/ahdecode.c 53 $(COMPILE) 54 55ahpredef.o : $(ACPICA_TOOLS)/acpihelp/ahpredef.c 56 $(COMPILE) 57 58ahmain.o : $(ACPICA_TOOLS)/acpihelp/ahmain.c 59 $(COMPILE) 60 61# 62# ACPICA core source - common 63# 64getopt.o : $(ACPICA_COMMON)/getopt.c 65 $(COMPILE) 66 67 68clean : 69 rm -f $(PROG) $(PROG).exe $(OBJS) 70 71install : 72 $(INSTALLPROG) 73