Add json native instead of hello. Remove metabuild

code.
This commit is contained in:
Calvin Rose
2018-08-26 11:28:51 -04:00
parent 84f2c84fb5
commit 73b397f7de
10 changed files with 648 additions and 278 deletions
+6 -2
View File
@@ -130,11 +130,11 @@ valtest: $(DST_TARGET)
###################
natives: $(DST_TARGET)
$(MAKE) -C natives/hello
$(MAKE) -C natives/json
$(MAKE) -j 8 -C natives/sqlite3
clean-natives:
$(MAKE) -C natives/hello clean
$(MAKE) -C natives/json clean
$(MAKE) -C natives/sqlite3 clean
#################
@@ -154,6 +154,10 @@ install: $(DST_TARGET)
cp $(DST_LIBRARY) $(LIBDIR)/$(DST_LIBRARY)
$(LDCONFIG)
install-libs: natives
cp lib/* $(DST_PATH)
cp natives/*/*.so $(DST_PATH)
uninstall:
-rm $(BINDIR)/$(DST_TARGET)
-rm $(LIBDIR)/$(DST_LIBRARY)