]> granicus.if.org Git - curl/commitdiff
OS400 install: Duplicate H include file to file CURL to support more include path...
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>
Fri, 23 Oct 2009 15:05:45 +0000 (15:05 +0000)
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>
Fri, 23 Oct 2009 15:05:45 +0000 (15:05 +0000)
packages/OS400/make-include.sh

index e216eb313d0b7acf54bc53d8323fbcc70d705985..e4bc31d814db5a2e9dfe68c11ac2ef33558fedb5 100644 (file)
@@ -65,3 +65,15 @@ done
 #       Copy the ILE/RPG include file, setting-up version number.
 
         versioned_copy "${SCRIPTDIR}/curl.inc.in" "${SRCPF}/CURL.INC.MBR"
+
+
+#      Duplicate file H as CURL to support more include path forms.
+
+if action_needed "${LIBIFSNAME}/CURL.FILE"
+then   :
+else   system "DLTF FILE(${TARGETLIB}/CURL)"
+fi
+
+CMD="CRTDUPOBJ OBJ(H) FROMLIB(${TARGETLIB}) OBJTYPE(*FILE) TOLIB(*FROMLIB)"
+CMD="${CMD} NEWOBJ(CURL) DATA(*YES)"
+system "${CMD}"