add target beinstall for backend install; this is installing platform*.h files for backend development sync
authorVolker Birk <vb@pep-project.org>
Wed, 12 Feb 2020 23:56:19 +0100
branchsync
changeset 44157f0084a88882
parent 4414 0df8f1d14bb7
child 4416 c5e00ecb26a5
add target beinstall for backend install; this is installing platform*.h files for backend development
Makefile
src/Makefile
     1.1 --- a/Makefile	Tue Feb 11 20:33:41 2020 +0100
     1.2 +++ b/Makefile	Wed Feb 12 23:56:19 2020 +0100
     1.3 @@ -37,6 +37,9 @@
     1.4  	$(MAKE) -C src install
     1.5  	$(MAKE) -C asn.1 install
     1.6  
     1.7 +beinstall:
     1.8 +	$(MAKE) -C src beinstall
     1.9 +
    1.10  dbinstall: db
    1.11  	$(MAKE) -C db install
    1.12  
     2.1 --- a/src/Makefile	Tue Feb 11 20:33:41 2020 +0100
     2.2 +++ b/src/Makefile	Wed Feb 12 23:56:19 2020 +0100
     2.3 @@ -90,7 +90,7 @@
     2.4  $(TARGET): libpEpEngine.a
     2.5  	$(CC) $(CFLAGS) $(ALL_OBJECTS) $(LDFLAGS) $(LDLIBS) -o $@
     2.6  
     2.7 -.PHONY: objects clean install_headers install uninstall
     2.8 +.PHONY: objects clean install_headers install uninstall beinstall
     2.9  
    2.10  objects: $(ALL_OBJECTS)
    2.11  
    2.12 @@ -118,6 +118,9 @@
    2.13  	mkdir -p "$(PREFIX)/lib/"
    2.14  	cp $< $(PREFIX)/lib/
    2.15  
    2.16 +beinstall: install
    2.17 +	cp platform*.h $(PREFIX)/include/pEp/
    2.18 +
    2.19  uninstall:
    2.20  	rm -f $(PREFIX)/lib/$(TARGET)
    2.21  	rm -rf $(PREFIX)/include/pEp