smtp: use the upload buffer size for scratch buffer malloc
[platform/upstream/curl.git] / lib / Makefile.vxworks
index 288f24b..7ff197f 100644 (file)
@@ -1,18 +1,18 @@
 #*****************************************************************************
 #
-# $Id$
 #
 #Filename   : Makefile.vxworks
 #Description: makefile to be used in order to compile libcurl for VxWoorks 6.3.
 #
 #How to use:
-#             1. Adjust environment variables at the file begining
+#             1. Adjust environment variables at the file beginning
 #             2. Open the Command Prompt window and change directory ('cd')
 #                into the 'lib' folder
 #             3. Add <CYGWIN>/bin folder to the PATH environment variable
 #                For example type 'set PATH=C:/embedded/cygwin/bin;%PATH%'
 #             4. Build the library by typing 'make -f ./Makefile.vxworks'
 #             As a result the libcurl.a should be created in the 'lib' folder.
+#             To clean package use 'make -f ./Makefile.vxworks clean'
 #Requirements:
 #             1. WinXP machine
 #             2. Full CYGWIN installation (open source) with GNU make version
@@ -33,23 +33,23 @@ BUILD_TYPE := debug
 USER_CFLAGS:=
 
 # directories where to seek for includes and libraries
-OPENSSL_INC := D:/libraries/openssl/openssl-0.9.8a-vxWorks6.3/include
-OPENSSL_LIB := D:/libraries/openssl/openssl-0.9.8a-vxWorks6.3
-ZLIB_INC    := D:/libraries/zlib/zlib-1.2.3-VxWorks6.3/zlib-1.2.3
-ZLIB_LIB    := D:/libraries/zlib/zlib-1.2.3-VxWorks6.3/binaries/vxworks_3.1_gnu/Debug/lib
+OPENSSL_INC := D:/libraries/openssl/openssl-0.9.8zc-vxWorks6.3/include
+OPENSSL_LIB := D:/libraries/openssl/openssl-0.9.8zc-vxWorks6.3
+ZLIB_INC    := D:/libraries/zlib/zlib-1.2.8-VxWorks6.3/zlib-1.2.8
+ZLIB_LIB    := D:/libraries/zlib/zlib-1.2.8-VxWorks6.3/binaries/vxworks_3.1_gnu/Debug/lib
 ARES_INC    :=
 ARES_LIB    :=
 
 
 # ----------------------------------------------------------------------
-# Compiler 
+# Compiler
 # ----------------------------------------------------------------------
 
 CC := ccppc
 AR := arppc
 LINK := ccppc
 CFLAGS := -D__GNUC__ -D__ppc__ -msoft-float -fno-builtin -mcpu=604 -mlongcall -DCPU=PPC604 -D_GNU_TOOL -Wall -W -Winline $(USER_CFLAGS)
-LDFLAGS := -nostdlib -Wl,-i -Wl,-X 
+LDFLAGS := -nostdlib -Wl,-i -Wl,-X
 INCLUDE_FLAG := -I
 C_DEBUGFLAG := -g
 C_OPTFLAG := -O2
@@ -126,13 +126,15 @@ endif
 # Directory to hold compilation intermediate files
 TMP_DIR := tmp
 
+# Get sources and headers to be compiled
+include Makefile.inc
+
 # List of headers
-INCLUDE_FILES := $(shell find . -name \*.h)
+INCLUDE_FILES := $(HHEADERS)
 INCLUDE_FILES += $(shell find ../include -name \*.h)
 
 # List of sources
-SOURCE  := $(shell find . -name \*.c)
-OBJLIST := $(SOURCE:%.c=$(TMP_DIR)/%$(OBJ_EXTENSION))
+OBJLIST := $(CSOURCES:%.c=$(TMP_DIR)/%$(OBJ_EXTENSION))
 
 
 # ----------------------------------------------------------------------