This commit is contained in:
Ren RenJuan 2014-01-02 17:06:01 +00:00
parent b03d692d5c
commit 6eca831c80
2 changed files with 6 additions and 6 deletions

View File

@ -48,7 +48,7 @@ test_execs = $(subst .o,,$(test_objs))
calc_deps = \
$(CC) -MT '$(build_obj_dir)/$(basename $(notdir $@)).o $@' -MF $@ -MM $(CPPFLAGS) $(INCLUDE_DIR) $<
all: dirs $(objs) $(BUILD_LIB_DIR)/AusRegEPPTK.so
all: dirs $(objs) $(BUILD_LIB_DIR)/libAusRegEPPTK.so
%.d: %.c
$(calc_deps)
@ -78,7 +78,7 @@ $(BUILD_OBJ_DIR)/%.o: %.c
$(CC) $(CPPFLAGS) -c -o $@ $(INCLUDE_DIR) $<
LDFLAGS_TESTS = -L$(BUILD_LIB_DIR) -lAusreg_EPP_toolkit \
LDFLAGS_TESTS = -L$(BUILD_LIB_DIR) -lAusRegEPPTK \
-L$(XALAN_LIB_DIR) -lxalan-c -lxalanMsg\
-L$(XERCES_LIB_DIR) -lxerces-c \
-lssl \
@ -103,15 +103,15 @@ dirs:
-mkdir -p $(BUILD_LIB_DIR)
-mkdir -p $(BUILD_OBJ_DIR)
AusRegEPPTK.so:
$(BUILD_LIB_DIR)/AusRegEPPTK.so: $(objs)
libAusRegEPPTK.so:
$(BUILD_LIB_DIR)/libAusRegEPPTK.so: $(objs)
$(CXX) $(LDFLAGS) $(SHARED_CXXFLAGS) -shared $^ -o $@
doc:
doxygen etc/Doxyfile
clean:
$(RM) $(objs) $(BUILD_LIB_DIR)/AusRegEPPTK.so *~
$(RM) $(objs) $(BUILD_LIB_DIR)/libAusRegEPPTK.so *~
$(RM) -r $(BUILD_OBJ_DIR)
$(RM) -r $(BUILD_LIB_DIR)

View File

@ -12,7 +12,7 @@
#include <pthread.h>
#include <memory>
#include <unistd.h>
#include <vector>
using namespace std;