1 # Makefile for vm tools
3 TARGETS
=page-types slabinfo page_owner_sort
6 LIBS
= $(LIB_DIR
)/libapi.a
8 CC
= $(CROSS_COMPILE
)gcc
9 CFLAGS
= -Wall
-Wextra
-I..
/lib
/
20 $(CC
) $(CFLAGS
) -o
$@
$< $(LDFLAGS
)
23 $(RM
) page-types slabinfo page_owner_sort
24 make
-C
$(LIB_DIR
) clean
29 install -d
$(DESTDIR
)$(sbindir
)
30 install -m
755 -p
$(TARGETS
) $(DESTDIR
)$(sbindir
)