diff options
author | Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> | 2021-03-02 22:42:50 +0200 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-03-03 11:06:28 -0600 |
commit | 29013bcb7563e522a859489c44af7845b7b07f56 (patch) | |
tree | 21332abdcff10a636809777492cd20440316feb3 /recipes-support/jsoncpp/jsoncpp16-1.6.0/Makefile | |
parent | a32ad409315ebae13614a409eb4671ac4a2b1cc8 (diff) | |
download | meta-mlinux-29013bcb7563e522a859489c44af7845b7b07f56.tar.gz meta-mlinux-29013bcb7563e522a859489c44af7845b7b07f56.tar.bz2 meta-mlinux-29013bcb7563e522a859489c44af7845b7b07f56.zip |
jsoncpp: switch to cmake build
Diffstat (limited to 'recipes-support/jsoncpp/jsoncpp16-1.6.0/Makefile')
-rw-r--r-- | recipes-support/jsoncpp/jsoncpp16-1.6.0/Makefile | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/recipes-support/jsoncpp/jsoncpp16-1.6.0/Makefile b/recipes-support/jsoncpp/jsoncpp16-1.6.0/Makefile deleted file mode 100644 index 7df3d63..0000000 --- a/recipes-support/jsoncpp/jsoncpp16-1.6.0/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -includedir ?= /usr/include -libdir ?= /usr/lib - -CPP_SRCS += \ -src/lib_json/json_reader.cpp \ -src/lib_json/json_value.cpp \ -src/lib_json/json_writer.cpp - -OBJS += \ -json_reader.o \ -json_value.o \ -json_writer.o - -CPP_DEPS += \ -json_reader.d \ -json_value.d \ -json_writer.d - -TARGET = libjsoncpp.so - -all: $(TARGET) - -libjsoncpp.so: $(OBJS) - @echo 'Building target: $@' - #$(AR) -r libjsoncpp.a $(OBJS) - $(CXX) ${LDFLAGS} -shared -o $@ $^ - @echo 'Finished building target: $@' - @echo ' ' - -%.o: src/lib_json/%.cpp - @echo 'Building file: $<' - $(CXX) $(CFLAGS) -Iinclude -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" -fPIC -o "$@" "$<" - @echo 'Finished building: $<' - @echo ' ' - -install: - install -d $(DESTDIR)/usr/include/json - install -m 644 include/json/*.h $(DESTDIR)/usr/include/json - mkdir -p $(DESTDIR)/usr/lib - cp libjsoncpp.so $(DESTDIR)/usr/lib - -# Other Targets -clean: - -$(RM) $(OBJS)$(CPP_DEPS) libjsoncpp.so - -@echo ' ' - -.PHONY: all clean dependents -.SECONDARY: - |