mirror of
https://github.com/acpica/acpica/
synced 2025-03-27 08:33:08 +03:00
Unix makefiles: add "make install" case -> /usr/bin
install acpica utilities to /usr/bin
This commit is contained in:
parent
2234a29e98
commit
016ae3e140
@ -18,4 +18,14 @@ clean: FORCE
|
||||
fi); \
|
||||
done
|
||||
|
||||
install: FORCE
|
||||
@for d in ${DIRS}; do \
|
||||
(cd $$d; \
|
||||
if [ $$? -ne 0 ]; then \
|
||||
echo "Bad element of DIRS: <$$d>"; \
|
||||
else \
|
||||
pwd; make install; \
|
||||
fi); \
|
||||
done
|
||||
|
||||
FORCE:
|
||||
|
@ -14,6 +14,7 @@ HOST = _CYGWIN
|
||||
CC = gcc-4
|
||||
ACPICA_SRC = ../../../source
|
||||
DIRS = acpiexec acpinames acpisrc acpixtract iasl
|
||||
INSTALLDIR = /usr/bin
|
||||
|
||||
#
|
||||
# Common defines
|
||||
@ -25,6 +26,7 @@ ACPICA_TOOLS = $(ACPICA_SRC)/tools
|
||||
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
|
||||
COMPILE = $(CC) -c $(CFLAGS) $(CWARNINGFLAGS) -o$@ $?
|
||||
COPYPROG = @mkdir -p ../bin; rm -f ../bin/$(PROG); cp --remove-destination $(PROG) ../bin
|
||||
INSTALLPROG = cp --remove-destination $(PROG) $(INSTALLDIR)
|
||||
|
||||
#
|
||||
# Common compiler flags. The warning flags in addition to -Wall are not
|
||||
|
@ -644,3 +644,6 @@ osunixxf.o : $(ACPICA_OSL)/osunixxf.c
|
||||
|
||||
clean :
|
||||
rm -f $(PROG) $(PROG).exe $(OBJS)
|
||||
|
||||
install :
|
||||
$(INSTALLPROG)
|
||||
|
@ -292,3 +292,6 @@ osunixxf.o : $(ACPICA_OSL)/osunixxf.c
|
||||
|
||||
clean :
|
||||
rm -f $(PROG) $(PROG).exe $(OBJS)
|
||||
|
||||
install :
|
||||
$(INSTALLPROG)
|
||||
|
@ -73,3 +73,5 @@ osunixdir.o : $(ACPICA_OSL)/osunixdir.c
|
||||
clean :
|
||||
rm -f $(PROG) $(PROG).exe $(OBJS)
|
||||
|
||||
install :
|
||||
$(INSTALLPROG)
|
||||
|
@ -13,3 +13,5 @@ $(PROG) : $(ACPICA_TOOLS)/acpixtract/acpixtract.c
|
||||
clean :
|
||||
rm -f $(PROG) $(PROG).exe
|
||||
|
||||
install :
|
||||
$(INSTALLPROG)
|
||||
|
@ -598,3 +598,5 @@ osunixxf.o : $(ACPICA_OSL)/osunixxf.c
|
||||
clean :
|
||||
rm -f $(PROG) $(PROG).exe $(OBJS) $(INTERMEDIATES) $(MISC)
|
||||
|
||||
install :
|
||||
$(INSTALLPROG)
|
||||
|
Loading…
x
Reference in New Issue
Block a user