2006-10-23 17:40:50 +02:00
|
|
|
$ !
|
|
|
|
$ ! POCOLIB.COM
|
|
|
|
$ !
|
2007-02-23 15:50:42 +01:00
|
|
|
$ ! $Id: //poco/Main/build/vms/pocolib.com#5 $
|
2006-10-23 17:40:50 +02:00
|
|
|
$ !
|
|
|
|
$ ! C++ library creation procedure for Poco libraries
|
|
|
|
$ !
|
|
|
|
$ ! The logical POCO_BASE must be set and point to the
|
|
|
|
$ ! Poco base directory (e.g. USER1:[PROJECTS.POCO.])
|
|
|
|
$ !
|
|
|
|
$
|
|
|
|
$ libdir = "POCO_BASE:[LIB]"
|
|
|
|
$ lib = libdir + p1
|
|
|
|
$
|
|
|
|
$ IF "''pointerSize'" .EQS. "32"
|
|
|
|
$ THEN
|
|
|
|
$ objdir = "OBJ32"
|
|
|
|
$ ELSE
|
|
|
|
$ objdir = "OBJ64"
|
|
|
|
$ lib = lib + "64"
|
|
|
|
$ ENDIF
|
|
|
|
$
|
|
|
|
$ IF "''buildMode'" .EQS. "RELEASE"
|
|
|
|
$ THEN
|
|
|
|
$ objdir = objdir + "R"
|
|
|
|
$ ELSE
|
|
|
|
$ objdir = objdir + "D"
|
|
|
|
$ lib = lib + "D"
|
|
|
|
$ ENDIF
|
|
|
|
$
|
|
|
|
$
|
|
|
|
$ IF "''verbose'" .EQS. "1"
|
|
|
|
$ THEN
|
|
|
|
$ WRITE SYS$OUTPUT "LIBRARY/OBJECT/CREATE ''lib' [.''objdir']*.OBJ"
|
|
|
|
$ ENDIF
|
|
|
|
$
|
|
|
|
$ LIBRARY/OBJECT/CREATE 'lib' [.'objdir']*.OBJ
|