Browse Source

merging

sync
Volker Birk 7 years ago
parent
commit
faadeb2741
  1. 5
      Adapter.cc
  2. 8
      Makefile

5
Adapter.cc

@ -42,11 +42,6 @@ namespace pEp {
int _inject_sync_event(SYNC_EVENT ev, void *management)
{
if (is_sync_thread(session())) {
PEP_STATUS status = do_sync_protocol_step(session(), nullptr, ev);
return status == PEP_STATUS_OK ? 0 : 1;
}
try {
q.push_front(ev);
}

8
Makefile

@ -7,7 +7,7 @@ include Makefile.conf
CXXFLAGS += -I$(HOME)/include -std=c++14 -O0 -g
SOURCE=$(wildcard *.cc)
HEADERS=$(wildcard *.hh)
HEADERS=$(wildcard *.hh *.hxx)
OBJECTS=$(subst .cc,.o,$(SOURCE))
WITHOUT_TESTS=$(patsubst test%.o,,$(OBJECTS))
@ -40,9 +40,9 @@ test_library: test_library.o $(TARGET)
$(CXX) -o $@ -L$(PEP)/lib -lpEpEngine -L. -lpEpAdapter $<
install: $(TARGET)
-mkdir -p $(PEP)/include
cp $(HEADERS) $(PEP)/include
cp $(TARGET) $(PEP)/lib
-mkdir -p $(PEP)/include/pEp
cp $(HEADERS) $(PEP)/include/pEp/
cp $(TARGET) $(PEP)/lib/
uninstall:
cd $(PEP)/include && rm -f $(HEADERS)

Loading…
Cancel
Save