Improved build process
This commit is contained in:
@@ -1,3 +1,23 @@
|
|||||||
|
# BePascal - A pascal wrapper around the BeOS API
|
||||||
|
# Copyright (C) 2002-2003 Olivier Coursiere
|
||||||
|
# Matt Emson
|
||||||
|
# Eric Jourde
|
||||||
|
# Oscar Lesta
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Library General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Library General Public
|
||||||
|
# License along with this library; if not, write to the Free
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
SubDir BEPASCAL_TOP ;
|
SubDir BEPASCAL_TOP ;
|
||||||
|
|
||||||
# Force creation of target's directories BEFORE the building of libbepascal.so
|
# Force creation of target's directories BEFORE the building of libbepascal.so
|
||||||
@@ -7,12 +27,27 @@ SubInclude BEPASCAL_TOP source ;
|
|||||||
|
|
||||||
# set the distribution dir
|
# set the distribution dir
|
||||||
DISTRIB_DIR = distrib ;
|
DISTRIB_DIR = distrib ;
|
||||||
|
LIBBEPASCAL_INSTALL_DIR = /boot/home/config/lib ;
|
||||||
|
|
||||||
# make all distribution files. We recursively add all files in those directories except the ones in
|
rule MakeDistribs
|
||||||
# CVS subdirectories
|
{
|
||||||
MakeZip pas_sources.zip : source/bepascal/pas ;
|
MkDir $(DISTRIB_DIR) ;
|
||||||
MakeZip cpp_sources.zip : source/bepascal/cpp ;
|
# copy libbepascal.so in lib
|
||||||
MakeZip bin_bepascal.zip : source/bepascal/pas lib ;
|
Bulk lib : libbepascal.so ;
|
||||||
MakeZip demos.zip : demos ;
|
Depends all : ;
|
||||||
MakeZip docs.zip : docs ;
|
# binary files like libbepascal.so are needed to build bin_bepascal.zip
|
||||||
|
Depends bin_bepascal.zip : libbepascal.so ;
|
||||||
|
# make all distribution files. We recursively add all files in those directories except the ones in
|
||||||
|
# CVS subdirectories
|
||||||
|
MakeZip pas_sources.zip : source/bepascal/pas ;
|
||||||
|
MakeZip cpp_sources.zip : source/bepascal/cpp ;
|
||||||
|
MakeZip bin_bepascal.zip : source/bepascal/pas lib ;
|
||||||
|
MakeZip demos.zip : demos ;
|
||||||
|
MakeZip docs.zip : docs ;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Install libbepascal.so in LIBBEPASCAL_INSTALL_DIR (/boot/home/config/lib)
|
||||||
|
InstallLib $(LIBBEPASCAL_INSTALL_DIR) : libbepascal.so ;
|
||||||
|
|
||||||
|
# Make distribution files
|
||||||
|
MakeDistribs ;
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
# BePascal - A pascal wrapper around the BeOS API
|
||||||
|
# Copyright (C) 2002-2003 Olivier Coursiere
|
||||||
|
# Matt Emson
|
||||||
|
# Eric Jourde
|
||||||
|
# Oscar Lesta
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Library General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Library General Public
|
||||||
|
# License along with this library; if not, write to the Free
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
# handle pascal files in the Object rule
|
# handle pascal files in the Object rule
|
||||||
rule UserObject
|
rule UserObject
|
||||||
{
|
{
|
||||||
@@ -36,6 +56,5 @@ rule MakeZip
|
|||||||
|
|
||||||
actions MakeZip
|
actions MakeZip
|
||||||
{
|
{
|
||||||
mkdir $(DISTRIB_DIR)
|
|
||||||
zip $(DISTRIB_DIR)/$(1) -r $(2) -x \*CVS\*
|
zip $(DISTRIB_DIR)/$(1) -r $(2) -x \*CVS\*
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
# BePascal - A pascal wrapper around the BeOS API
|
||||||
|
# Copyright (C) 2002-2003 Olivier Coursiere
|
||||||
|
# Matt Emson
|
||||||
|
# Eric Jourde
|
||||||
|
# Oscar Lesta
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Library General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Library General Public
|
||||||
|
# License along with this library; if not, write to the Free
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
SubDir BEPASCAL_TOP source ;
|
SubDir BEPASCAL_TOP source ;
|
||||||
|
|
||||||
SubInclude BEPASCAL_TOP source bepascal ;
|
SubInclude BEPASCAL_TOP source bepascal ;
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
# BePascal - A pascal wrapper around the BeOS API
|
||||||
|
# Copyright (C) 2002-2003 Olivier Coursiere
|
||||||
|
# Matt Emson
|
||||||
|
# Eric Jourde
|
||||||
|
# Oscar Lesta
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Library General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Library General Public
|
||||||
|
# License along with this library; if not, write to the Free
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
SubDir BEPASCAL_TOP source bepascal ;
|
SubDir BEPASCAL_TOP source bepascal ;
|
||||||
|
|
||||||
SubInclude BEPASCAL_TOP source bepascal cpp ;
|
SubInclude BEPASCAL_TOP source bepascal cpp ;
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
# BePascal - A pascal wrapper around the BeOS API
|
||||||
|
# Copyright (C) 2002-2003 Olivier Coursiere
|
||||||
|
# Matt Emson
|
||||||
|
# Eric Jourde
|
||||||
|
# Oscar Lesta
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Library General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Library General Public
|
||||||
|
# License along with this library; if not, write to the Free
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
SubDir BEPASCAL_TOP source bepascal cpp ;
|
SubDir BEPASCAL_TOP source bepascal cpp ;
|
||||||
|
|
||||||
## OpenBeOS Generic Jamfile v1.0 ##
|
## OpenBeOS Generic Jamfile v1.0 ##
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
# BePascal - A pascal wrapper around the BeOS API
|
||||||
|
# Copyright (C) 2002-2003 Olivier Coursiere
|
||||||
|
# Matt Emson
|
||||||
|
# Eric Jourde
|
||||||
|
# Oscar Lesta
|
||||||
|
#
|
||||||
|
# This library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Library General Public
|
||||||
|
# License as published by the Free Software Foundation; either
|
||||||
|
# version 2 of the License, or (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Library General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Library General Public
|
||||||
|
# License along with this library; if not, write to the Free
|
||||||
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
SubDir BEPASCAL_TOP source bepascal pas ;
|
SubDir BEPASCAL_TOP source bepascal pas ;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user