summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/GoApps/src/hdfs-writer/Makefile
diff options
context:
space:
mode:
authorRajamohan Raj <rajamohan.raj@intel.com>2019-05-21 18:39:52 -0700
committerRajamohan Raj <rajamohan.raj@intel.com>2019-05-21 18:42:25 -0700
commite19067379fbfce13cc153de96c18718ba115889c (patch)
tree19a2df73788dabcbc7bababf84d0a10ec10475a2 /vnfs/DAaaS/GoApps/src/hdfs-writer/Makefile
parent1edca413dfbc05e438541929579ed7ed6aed450e (diff)
HDFS-writer skelton code
This contains the skelton code for developing the hdfs-writer further. Issue-ID: ONAPARC-391 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I261c4a2bf12498bdba8a4720c3200ff9289a2328
Diffstat (limited to 'vnfs/DAaaS/GoApps/src/hdfs-writer/Makefile')
-rw-r--r--vnfs/DAaaS/GoApps/src/hdfs-writer/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/vnfs/DAaaS/GoApps/src/hdfs-writer/Makefile b/vnfs/DAaaS/GoApps/src/hdfs-writer/Makefile
new file mode 100644
index 00000000..d31fd66b
--- /dev/null
+++ b/vnfs/DAaaS/GoApps/src/hdfs-writer/Makefile
@@ -0,0 +1,29 @@
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2018 Intel Corporation
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+GOPATH := $(shell realpath "$(PWD)/../../")
+
+export GOPATH ...
+export GO111MODULE=on
+
+
+
+all:
+ echo $$GOPATH
+ @go build -tags netgo -o ./bin/hdfs-writer ./cmd/main.go
+
+build:
+ echo $$GOPATH
+ @go build -tags netgo -o ./bin/hdfs-writer ./cmd/main.go
+
+
+.PHONY: clean
+clean:
+ @find . -name "*so" -delete
+ @rm -f ./bin/hdfs-writer