aboutsummaryrefslogtreecommitdiff
path: root/packages/OS400/makefile.sh
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-08-23 14:30:24 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-08-23 14:30:24 +0000
commit557cc55f6f398c0cd02571c077d5c73156820513 (patch)
treecf56aa36be857b932eb1d15805ccc29dcfaed1b3 /packages/OS400/makefile.sh
parent2d8dba388bf9089cd53e8046825a07f935e6611e (diff)
Porting library to OS/400
Diffstat (limited to 'packages/OS400/makefile.sh')
-rw-r--r--packages/OS400/makefile.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/OS400/makefile.sh b/packages/OS400/makefile.sh
new file mode 100644
index 000000000..a3d657f1b
--- /dev/null
+++ b/packages/OS400/makefile.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+#
+# curl compilation script for the OS/400.
+#
+# $Id$
+#
+# This is a shell script since make is not a standard component of OS/400.
+
+SCRIPTDIR=`dirname "${0}"`
+. "${SCRIPTDIR}/initscript.sh"
+cd "${TOPDIR}"
+
+
+# Create the OS/400 library if it does not exist.
+
+if action_needed "${LIBIFSNAME}"
+then CMD="CRTLIB LIB(${TARGETLIB}) TEXT('curl: multiprotocol support API')"
+ system "${CMD}"
+fi
+
+
+# Build in each directory.
+
+for SUBDIR in include lib src tests
+do "${SCRIPTDIR}/make-${SUBDIR}.sh"
+done