summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/component-test/host-clients/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/component-test/host-clients/src/makefile')
-rw-r--r--fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/component-test/host-clients/src/makefile44
1 files changed, 0 insertions, 44 deletions
diff --git a/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/component-test/host-clients/src/makefile b/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/component-test/host-clients/src/makefile
deleted file mode 100644
index 763a60c38..000000000
--- a/fluent-bit/lib/wasm-micro-runtime-WAMR-1.2.2/test-tools/component-test/host-clients/src/makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-#
-# Copyright (C) 2019 Intel Corporation. All rights reserved.
-# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-#
-
-CC = gcc
-CFLAGS := -Wall -g
-
-# Add this to make compiler happy
-CFLAGS += -DWASM_ENABLE_INTERP=1
-
-host_api_c=../../../../host-agent/host-api-c
-attr_container_dir=../../../../wamr/core/app-framework/app-native-shared
-coap_dir=../../../../host-agent/coap
-shared_dir=../../../../wamr/core/shared
-
-# core
-INCLUDE_PATH = -I$(host_api_c)/src -I$(attr_container_dir)/ \
- -I$(coap_dir)/er-coap -I$(coap_dir)/er-coap/extension \
- -I$(shared_dir)/include \
- -I$(shared_dir)/utils \
- -I$(shared_dir)/platform/include/ \
- -I$(shared_dir)/platform/linux/
-
-LIB := $(host_api_c)/src/libhostapi.a
-EXE := ./hostapp
-
-App_C_Files := host_app_sample.c
-
-OBJS := $(App_C_Files:.c=.o)
-
-all: $(EXE)
-
-%.o: %.c
- @$(CC) $(CFLAGS) -c $< -o $@ $(INCLUDE_PATH)
-
-$(EXE): $(OBJS)
- @rm -f $(EXE)
- @$(CC) $(OBJS) -o $(EXE) $(LIB) -lpthread -lrt
- @rm -f $(OBJS)
-
-.PHONY: clean
-clean:
- rm -f $(OBJS) $(EXE)