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

View File

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