summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorLuzhenping <luzhenping@acoinfo.com>2016-03-21 09:26:05 (GMT)
committer Luzhenping <luzhenping@acoinfo.com>2016-03-21 09:26:05 (GMT)
commitafbddd91ca78a565c0242503a327b1efb4c373d6 (patch)
tree2cd0fcf79ce4d6225349920dbdd7b970ee9663a0
parent72dc12cca756390c6547bc0d286f85302d1e171a (diff)
downloadlibxemail-afbddd91ca78a565c0242503a327b1efb4c373d6.zip
libxemail-afbddd91ca78a565c0242503a327b1efb4c373d6.tar.gz
libxemail-afbddd91ca78a565c0242503a327b1efb4c373d6.tar.bz2
Modified Makefile support example file.
-rw-r--r--Makefile.arm14
1 files changed, 9 insertions, 5 deletions
diff --git a/Makefile.arm b/Makefile.arm
index 689bb7b..9928272 100644
--- a/Makefile.arm
+++ b/Makefile.arm
@@ -2,6 +2,7 @@
# libxemail Makefile
# target -> libxemail.a
# libxemail.so
+# sendemail
#*********************************************************************************************************
#*********************************************************************************************************
@@ -106,7 +107,7 @@ DSYMBOL += -DSYLIXOS_LIB
# depend dynamic library
#*********************************************************************************************************
DEPEND_DLL = -lcurl
-SYS_DEPEND_DLL = -lvpmpdm -lxemail
+SYS_DEPEND_DLL = -lvpmpdm -ldsohandle -lxemail
#*********************************************************************************************************
# depend dynamic library search path
@@ -157,7 +158,7 @@ all: $(LIB) $(DLL) $(EXE)
#*********************************************************************************************************
ifneq ($(MAKECMDGOALS), clean)
ifneq ($(MAKECMDGOALS), clean_project)
-sinclude $(DEPS)
+sinclude $(DEPS) $(E_DEPS)
endif
endif
@@ -200,14 +201,17 @@ $(LIB): $(OBJS)
$(AR) $(ARFLAGS) $(LIB) $(OBJS)
#*********************************************************************************************************
-# link libxemail.so sendemail object files
+# link libxemail.so object files
#*********************************************************************************************************
$(DLL): $(OBJS)
$(LD) $(CPUFLAGS) -nostdlib -fPIC -shared -o $(DLL) $(OBJS) \
$(DEPEND_DLL_PATH) $(DEPEND_DLL) -lm -lgcc
-$(EXE): $(OBJS)
- $(LD) $(CPUFLAGS) -nostdlib -fPIC -shared -o $(EXE) $(OBJS) \
+#*********************************************************************************************************
+# link l sendemail object files
+#*********************************************************************************************************
+$(EXE): $(E_OBJS)
+ $(LD) $(CPUFLAGS) -nostdlib -fPIC -shared -o $(EXE) $(E_OBJS) \
$(SYS_DEPEND_DLL_PATH) $(SYS_DEPEND_DLL) -lm -lgcc
#*********************************************************************************************************