## @file\r
# GNU/Linux makefile for C tools build.\r
#\r
-# Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
#\r
# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
\r
include Makefiles/header.makefile\r
\r
-all: makerootdir subdirs $(MAKEROOT)/libs\r
+all: makerootdir subdirs\r
@echo Finished building BaseTools C Tools with HOST_ARCH=$(HOST_ARCH)\r
\r
LIBRARIES = Common\r
+VFRAUTOGEN = VfrCompile/VfrLexer.h\r
# NON_BUILDABLE_APPLICATIONS = GenBootSector BootSectImage\r
APPLICATIONS = \\r
+ BrotliCompress \\r
+ VfrCompile \\r
GnuGenBootSector \\r
BootSectImage \\r
- BrotliCompress \\r
EfiLdrImage \\r
EfiRom \\r
GenFfs \\r
Split \\r
TianoCompress \\r
VolInfo \\r
- VfrCompile\r
+ DevicePath\r
\r
SUBDIRS := $(LIBRARIES) $(APPLICATIONS)\r
\r
+$(LIBRARIES): $(MAKEROOT)/libs\r
+$(APPLICATIONS): $(LIBRARIES) $(MAKEROOT)/bin $(VFRAUTOGEN)\r
+\r
.PHONY: outputdirs\r
makerootdir:\r
-mkdir -p $(MAKEROOT)\r
$(patsubst %,%-clean,$(sort $(SUBDIRS))):\r
-$(MAKE) -C $(@:-clean=) clean\r
\r
+$(VFRAUTOGEN): VfrCompile/VfrSyntax.g \r
+ $(MAKE) -C VfrCompile VfrLexer.h\r
+\r
clean: $(patsubst %,%-clean,$(sort $(SUBDIRS)))\r
\r
clean: localClean\r