1*02ca8ccaSAndroid Build Coastguard Worker######################################################## 2*02ca8ccaSAndroid Build Coastguard Worker# Copyright 2015 ARM Limited. All rights reserved. 3*02ca8ccaSAndroid Build Coastguard Worker# 4*02ca8ccaSAndroid Build Coastguard Worker# Redistribution and use in source and binary forms, with or without modification, 5*02ca8ccaSAndroid Build Coastguard Worker# are permitted provided that the following conditions are met: 6*02ca8ccaSAndroid Build Coastguard Worker# 7*02ca8ccaSAndroid Build Coastguard Worker# 1. Redistributions of source code must retain the above copyright notice, 8*02ca8ccaSAndroid Build Coastguard Worker# this list of conditions and the following disclaimer. 9*02ca8ccaSAndroid Build Coastguard Worker# 10*02ca8ccaSAndroid Build Coastguard Worker# 2. Redistributions in binary form must reproduce the above copyright notice, 11*02ca8ccaSAndroid Build Coastguard Worker# this list of conditions and the following disclaimer in the documentation 12*02ca8ccaSAndroid Build Coastguard Worker# and/or other materials provided with the distribution. 13*02ca8ccaSAndroid Build Coastguard Worker# 14*02ca8ccaSAndroid Build Coastguard Worker# 3. Neither the name of the copyright holder nor the names of its contributors 15*02ca8ccaSAndroid Build Coastguard Worker# may be used to endorse or promote products derived from this software without 16*02ca8ccaSAndroid Build Coastguard Worker# specific prior written permission. 17*02ca8ccaSAndroid Build Coastguard Worker# 18*02ca8ccaSAndroid Build Coastguard Worker# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND 19*02ca8ccaSAndroid Build Coastguard Worker# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 20*02ca8ccaSAndroid Build Coastguard Worker# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21*02ca8ccaSAndroid Build Coastguard Worker# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 22*02ca8ccaSAndroid Build Coastguard Worker# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 23*02ca8ccaSAndroid Build Coastguard Worker# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 24*02ca8ccaSAndroid Build Coastguard Worker# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 25*02ca8ccaSAndroid Build Coastguard Worker# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26*02ca8ccaSAndroid Build Coastguard Worker# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27*02ca8ccaSAndroid Build Coastguard Worker# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28*02ca8ccaSAndroid Build Coastguard Worker# 29*02ca8ccaSAndroid Build Coastguard Worker################################################################################# 30*02ca8ccaSAndroid Build Coastguard Worker# OpenCSD - master makefile for libraries and tests 31*02ca8ccaSAndroid Build Coastguard Worker# 32*02ca8ccaSAndroid Build Coastguard Worker# command line options 33*02ca8ccaSAndroid Build Coastguard Worker# DEBUG=1 create a debug build 34*02ca8ccaSAndroid Build Coastguard Worker# 35*02ca8ccaSAndroid Build Coastguard Worker 36*02ca8ccaSAndroid Build Coastguard Worker# Set project root - relative to build makefile 37*02ca8ccaSAndroid Build Coastguard Workerifeq ($(OCSD_ROOT),) 38*02ca8ccaSAndroid Build Coastguard WorkerOCSD_ROOT := $(shell echo $(dir $(abspath $(lastword $(MAKEFILE_LIST)))) | sed 's,/build/linux.*,,') 39*02ca8ccaSAndroid Build Coastguard Workerexport OCSD_ROOT 40*02ca8ccaSAndroid Build Coastguard Workerendif 41*02ca8ccaSAndroid Build Coastguard Worker 42*02ca8ccaSAndroid Build Coastguard Worker# library names 43*02ca8ccaSAndroid Build Coastguard WorkerLIB_BASE_NAME=opencsd 44*02ca8ccaSAndroid Build Coastguard Workerexport LIB_BASE_NAME 45*02ca8ccaSAndroid Build Coastguard WorkerLIB_CAPI_NAME=$(LIB_BASE_NAME)_c_api 46*02ca8ccaSAndroid Build Coastguard Workerexport LIB_CAPI_NAME 47*02ca8ccaSAndroid Build Coastguard Worker 48*02ca8ccaSAndroid Build Coastguard Worker# source root directories 49*02ca8ccaSAndroid Build Coastguard Workerexport OCSD_LIB_ROOT=$(OCSD_ROOT)/lib 50*02ca8ccaSAndroid Build Coastguard Worker 51*02ca8ccaSAndroid Build Coastguard Workerexport OCSD_INCLUDE=$(OCSD_ROOT)/include 52*02ca8ccaSAndroid Build Coastguard Workerexport OCSD_SOURCE=$(OCSD_ROOT)/source 53*02ca8ccaSAndroid Build Coastguard Worker 54*02ca8ccaSAndroid Build Coastguard Workerexport OCSD_TESTS=$(OCSD_ROOT)/tests 55*02ca8ccaSAndroid Build Coastguard Workerexport LIB_UAPI_INC_DIR=opencsd 56*02ca8ccaSAndroid Build Coastguard Worker 57*02ca8ccaSAndroid Build Coastguard Worker# tools 58*02ca8ccaSAndroid Build Coastguard Workerexport MASTER_CC=$(CROSS_COMPILE)gcc 59*02ca8ccaSAndroid Build Coastguard Workerexport MASTER_CXX=$(CROSS_COMPILE)g++ 60*02ca8ccaSAndroid Build Coastguard Workerexport MASTER_LINKER=$(CROSS_COMPILE)g++ 61*02ca8ccaSAndroid Build Coastguard Workerexport MASTER_LIB=$(CROSS_COMPILE)ar 62*02ca8ccaSAndroid Build Coastguard Workerexport INSTALL=install 63*02ca8ccaSAndroid Build Coastguard Worker 64*02ca8ccaSAndroid Build Coastguard Worker 65*02ca8ccaSAndroid Build Coastguard Worker# installation directory 66*02ca8ccaSAndroid Build Coastguard WorkerPREFIX ?=/usr 67*02ca8ccaSAndroid Build Coastguard WorkerLIB_PATH ?= lib 68*02ca8ccaSAndroid Build Coastguard WorkerINSTALL_LIB_DIR=$(DESTDIR)$(PREFIX)/$(LIB_PATH) 69*02ca8ccaSAndroid Build Coastguard WorkerINSTALL_BIN_DIR=$(DESTDIR)$(PREFIX)/bin 70*02ca8ccaSAndroid Build Coastguard Workerexport INSTALL_INCLUDE_DIR=$(DESTDIR)$(PREFIX)/include/ 71*02ca8ccaSAndroid Build Coastguard WorkerINSTALL_MAN_DIR=$(DESTDIR)$(PREFIX)/share/man/man1 72*02ca8ccaSAndroid Build Coastguard Worker 73*02ca8ccaSAndroid Build Coastguard Worker# compile flags 74*02ca8ccaSAndroid Build Coastguard WorkerCFLAGS += $(CPPFLAGS) -c -Wall -DLINUX -Wno-switch -Wlogical-op -fPIC 75*02ca8ccaSAndroid Build Coastguard WorkerCXXFLAGS += $(CPPFLAGS) -c -Wall -DLINUX -Wno-switch -Wlogical-op -fPIC -std=c++11 76*02ca8ccaSAndroid Build Coastguard WorkerLDFLAGS += -Wl,-z,defs 77*02ca8ccaSAndroid Build Coastguard WorkerARFLAGS ?= rcs 78*02ca8ccaSAndroid Build Coastguard Worker 79*02ca8ccaSAndroid Build Coastguard Worker# debug variant 80*02ca8ccaSAndroid Build Coastguard Workerifdef DEBUG 81*02ca8ccaSAndroid Build Coastguard WorkerCFLAGS += -g -O0 -DDEBUG 82*02ca8ccaSAndroid Build Coastguard WorkerCXXFLAGS += -g -O0 -DDEBUG 83*02ca8ccaSAndroid Build Coastguard WorkerBUILD_VARIANT=dbg 84*02ca8ccaSAndroid Build Coastguard Workerelse 85*02ca8ccaSAndroid Build Coastguard WorkerCFLAGS += -O2 -DNDEBUG 86*02ca8ccaSAndroid Build Coastguard WorkerCXXFLAGS += -O2 -DNDEBUG 87*02ca8ccaSAndroid Build Coastguard WorkerBUILD_VARIANT=rel 88*02ca8ccaSAndroid Build Coastguard Workerendif 89*02ca8ccaSAndroid Build Coastguard Worker 90*02ca8ccaSAndroid Build Coastguard Worker# export build flags 91*02ca8ccaSAndroid Build Coastguard Workerexport CFLAGS 92*02ca8ccaSAndroid Build Coastguard Workerexport CXXFLAGS 93*02ca8ccaSAndroid Build Coastguard Workerexport LDFLAGS 94*02ca8ccaSAndroid Build Coastguard Workerexport ARFLAGS 95*02ca8ccaSAndroid Build Coastguard Worker 96*02ca8ccaSAndroid Build Coastguard Worker# target directories - fixed for default packaging build 97*02ca8ccaSAndroid Build Coastguard WorkerPLAT_DIR ?= builddir 98*02ca8ccaSAndroid Build Coastguard Workerexport PLAT_DIR 99*02ca8ccaSAndroid Build Coastguard Workerexport LIB_TARGET_DIR=$(OCSD_LIB_ROOT)/$(PLAT_DIR) 100*02ca8ccaSAndroid Build Coastguard Workerexport LIB_TEST_TARGET_DIR=$(OCSD_TESTS)/lib/$(PLAT_DIR) 101*02ca8ccaSAndroid Build Coastguard Workerexport BIN_TEST_TARGET_DIR=$(OCSD_TESTS)/bin/$(PLAT_DIR) 102*02ca8ccaSAndroid Build Coastguard Worker 103*02ca8ccaSAndroid Build Coastguard Worker# Fish version out of header file (converting from hex) 104*02ca8ccaSAndroid Build Coastguard Workergetver:=printf "%d" $$(awk '/\#define VARNAME/ { print $$3 }' $(OCSD_ROOT)/include/opencsd/ocsd_if_version.h) 105*02ca8ccaSAndroid Build Coastguard Workerexport SO_MAJOR_VER := $(shell $(subst VARNAME,OCSD_VER_MAJOR,$(getver))) 106*02ca8ccaSAndroid Build Coastguard WorkerSO_MINOR_VER := $(shell $(subst VARNAME,OCSD_VER_MINOR,$(getver))) 107*02ca8ccaSAndroid Build Coastguard WorkerSO_PATCH_VER := $(shell $(subst VARNAME,OCSD_VER_PATCH,$(getver))) 108*02ca8ccaSAndroid Build Coastguard Workerexport SO_VER := $(SO_MAJOR_VER).$(SO_MINOR_VER).$(SO_PATCH_VER) 109*02ca8ccaSAndroid Build Coastguard Worker 110*02ca8ccaSAndroid Build Coastguard Worker 111*02ca8ccaSAndroid Build Coastguard Worker########################################################### 112*02ca8ccaSAndroid Build Coastguard Worker# build targets 113*02ca8ccaSAndroid Build Coastguard Worker 114*02ca8ccaSAndroid Build Coastguard Workerall: libs tests 115*02ca8ccaSAndroid Build Coastguard Worker 116*02ca8ccaSAndroid Build Coastguard Workerlibs: $(LIB_BASE_NAME)_lib $(LIB_CAPI_NAME)_lib 117*02ca8ccaSAndroid Build Coastguard Worker 118*02ca8ccaSAndroid Build Coastguard WorkerDEF_SO_PERM ?= 644 119*02ca8ccaSAndroid Build Coastguard Worker 120*02ca8ccaSAndroid Build Coastguard Workerinstall: libs tests 121*02ca8ccaSAndroid Build Coastguard Worker mkdir -p $(INSTALL_LIB_DIR) $(INSTALL_INCLUDE_DIR) $(INSTALL_BIN_DIR) 122*02ca8ccaSAndroid Build Coastguard Worker cp -d $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so $(INSTALL_LIB_DIR)/ 123*02ca8ccaSAndroid Build Coastguard Worker cp -d $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so.$(SO_MAJOR_VER) $(INSTALL_LIB_DIR)/ 124*02ca8ccaSAndroid Build Coastguard Worker $(INSTALL) --mode=$(DEF_SO_PERM) $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so.$(SO_VER) $(INSTALL_LIB_DIR)/ 125*02ca8ccaSAndroid Build Coastguard Worker cp -d $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so $(INSTALL_LIB_DIR)/ 126*02ca8ccaSAndroid Build Coastguard Worker cp -d $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so.$(SO_MAJOR_VER) $(INSTALL_LIB_DIR)/ 127*02ca8ccaSAndroid Build Coastguard Worker $(INSTALL) --mode=$(DEF_SO_PERM) $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so.$(SO_VER) $(INSTALL_LIB_DIR)/ 128*02ca8ccaSAndroid Build Coastguard Workerifndef DISABLE_STATIC 129*02ca8ccaSAndroid Build Coastguard Worker $(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).a $(INSTALL_LIB_DIR)/ 130*02ca8ccaSAndroid Build Coastguard Worker $(INSTALL) --mode=644 $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).a $(INSTALL_LIB_DIR)/ 131*02ca8ccaSAndroid Build Coastguard Workerendif 132*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/build/linux/rctdl_c_api_lib && make install_inc 133*02ca8ccaSAndroid Build Coastguard Worker $(INSTALL) --mode=755 $(BIN_TEST_TARGET_DIR)/trc_pkt_lister $(INSTALL_BIN_DIR)/ 134*02ca8ccaSAndroid Build Coastguard Worker 135*02ca8ccaSAndroid Build Coastguard Workerinstall_man: 136*02ca8ccaSAndroid Build Coastguard Worker mkdir -p $(INSTALL_MAN_DIR) 137*02ca8ccaSAndroid Build Coastguard Worker $(INSTALL) --mode=644 $(OCSD_ROOT)/docs/man/trc_pkt_lister.1 $(INSTALL_MAN_DIR)/ 138*02ca8ccaSAndroid Build Coastguard Worker 139*02ca8ccaSAndroid Build Coastguard Worker 140*02ca8ccaSAndroid Build Coastguard Worker################################ 141*02ca8ccaSAndroid Build Coastguard Worker# build OpenCSD trace decode library 142*02ca8ccaSAndroid Build Coastguard Worker# 143*02ca8ccaSAndroid Build Coastguard Worker$(LIB_BASE_NAME)_lib: $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).a $(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so 144*02ca8ccaSAndroid Build Coastguard Worker 145*02ca8ccaSAndroid Build Coastguard Worker$(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).so: $(LIB_BASE_NAME)_all 146*02ca8ccaSAndroid Build Coastguard Worker$(LIB_TARGET_DIR)/lib$(LIB_BASE_NAME).a: $(LIB_BASE_NAME)_all 147*02ca8ccaSAndroid Build Coastguard Worker 148*02ca8ccaSAndroid Build Coastguard Worker# single command builds both .a and .so targets in sub-makefile 149*02ca8ccaSAndroid Build Coastguard Worker$(LIB_BASE_NAME)_all: 150*02ca8ccaSAndroid Build Coastguard Worker mkdir -p $(LIB_TARGET_DIR) 151*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/build/linux/ref_trace_decode_lib && $(MAKE) 152*02ca8ccaSAndroid Build Coastguard Worker 153*02ca8ccaSAndroid Build Coastguard Worker################################ 154*02ca8ccaSAndroid Build Coastguard Worker# build OpenCSD trace decode C API library 155*02ca8ccaSAndroid Build Coastguard Worker# 156*02ca8ccaSAndroid Build Coastguard Worker$(LIB_CAPI_NAME)_lib: $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).a $(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so 157*02ca8ccaSAndroid Build Coastguard Worker 158*02ca8ccaSAndroid Build Coastguard Worker$(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).so: $(LIB_CAPI_NAME)_all 159*02ca8ccaSAndroid Build Coastguard Worker$(LIB_TARGET_DIR)/lib$(LIB_CAPI_NAME).a: $(LIB_CAPI_NAME)_all 160*02ca8ccaSAndroid Build Coastguard Worker 161*02ca8ccaSAndroid Build Coastguard Worker# single command builds both .a and .so targets in sub-makefile 162*02ca8ccaSAndroid Build Coastguard Worker$(LIB_CAPI_NAME)_all: $(LIB_BASE_NAME)_lib 163*02ca8ccaSAndroid Build Coastguard Worker mkdir -p $(LIB_TARGET_DIR) 164*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/build/linux/rctdl_c_api_lib && $(MAKE) 165*02ca8ccaSAndroid Build Coastguard Worker 166*02ca8ccaSAndroid Build Coastguard Worker################################# 167*02ca8ccaSAndroid Build Coastguard Worker# build tests 168*02ca8ccaSAndroid Build Coastguard Worker 169*02ca8ccaSAndroid Build Coastguard Worker.PHONY: tests 170*02ca8ccaSAndroid Build Coastguard Workertests: libs 171*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/echo_test_dcd_lib && $(MAKE) 172*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/snapshot_parser_lib && $(MAKE) 173*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/trc_pkt_lister && $(MAKE) 174*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/c_api_pkt_print_test && $(MAKE) 175*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/mem_buffer_eg && $(MAKE) 176*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/frame_demux_test && $(MAKE) 177*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/perr && $(MAKE) 178*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/mem_acc_test && $(MAKE) 179*02ca8ccaSAndroid Build Coastguard Worker 180*02ca8ccaSAndroid Build Coastguard Worker# 181*02ca8ccaSAndroid Build Coastguard Worker# build docs 182*02ca8ccaSAndroid Build Coastguard Worker.PHONY: docs 183*02ca8ccaSAndroid Build Coastguard Workerdocs: 184*02ca8ccaSAndroid Build Coastguard Worker (cd $(OCSD_ROOT)/docs; doxygen doxygen_config.dox) 185*02ca8ccaSAndroid Build Coastguard Worker 186*02ca8ccaSAndroid Build Coastguard Worker 187*02ca8ccaSAndroid Build Coastguard Worker############################################################# 188*02ca8ccaSAndroid Build Coastguard Worker# clean targets 189*02ca8ccaSAndroid Build Coastguard Worker# 190*02ca8ccaSAndroid Build Coastguard Workerclean: clean_libs clean_tests clean_docs 191*02ca8ccaSAndroid Build Coastguard Worker 192*02ca8ccaSAndroid Build Coastguard Worker.PHONY: clean_libs clean_tests clean_docs clean_install 193*02ca8ccaSAndroid Build Coastguard Worker 194*02ca8ccaSAndroid Build Coastguard Workerclean_libs: 195*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/build/linux/ref_trace_decode_lib && $(MAKE) clean 196*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/build/linux/rctdl_c_api_lib && $(MAKE) clean 197*02ca8ccaSAndroid Build Coastguard Worker 198*02ca8ccaSAndroid Build Coastguard Workerclean_tests: 199*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/echo_test_dcd_lib && $(MAKE) clean 200*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/snapshot_parser_lib && $(MAKE) clean 201*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/trc_pkt_lister && $(MAKE) clean 202*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/c_api_pkt_print_test && $(MAKE) clean 203*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/mem_buffer_eg && $(MAKE) clean 204*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/frame_demux_test && $(MAKE) clean 205*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/perr && $(MAKE) clean 206*02ca8ccaSAndroid Build Coastguard Worker cd $(OCSD_ROOT)/tests/build/linux/mem_acc_test && $(MAKE) clean 207*02ca8ccaSAndroid Build Coastguard Worker -rmdir $(OCSD_TESTS)/lib 208*02ca8ccaSAndroid Build Coastguard Worker 209*02ca8ccaSAndroid Build Coastguard Workerclean_docs: 210*02ca8ccaSAndroid Build Coastguard Worker -rm -r $(OCSD_ROOT)/docs/html 211*02ca8ccaSAndroid Build Coastguard Worker 212*02ca8ccaSAndroid Build Coastguard Workerclean_install: clean_man 213*02ca8ccaSAndroid Build Coastguard Worker -rm $(INSTALL_LIB_DIR)/lib$(LIB_BASE_NAME).* 214*02ca8ccaSAndroid Build Coastguard Worker -rm $(INSTALL_LIB_DIR)/lib$(LIB_CAPI_NAME).* 215*02ca8ccaSAndroid Build Coastguard Worker -rm -r $(INSTALL_INCLUDE_DIR)/$(LIB_UAPI_INC_DIR) 216*02ca8ccaSAndroid Build Coastguard Worker -rm $(INSTALL_BIN_DIR)/trc_pkt_lister 217*02ca8ccaSAndroid Build Coastguard Worker 218*02ca8ccaSAndroid Build Coastguard Workerclean_man: 219*02ca8ccaSAndroid Build Coastguard Worker -rm $(INSTALL_MAN_DIR)/trc_pkt_lister.1 220