Use of mkdir -p + other updates

This commit is contained in:
ocoursiere
2003-07-31 18:07:58 +00:00
parent a5d36f286e
commit d80c170adf
3 changed files with 40 additions and 15 deletions

View File

@@ -23,28 +23,50 @@ 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
Depends libbepascal.so : dirs ; Depends libbepascal.so : dirs ;
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 ; LIBBEPASCAL_INSTALL_DIR = /boot/home/config/lib ;
# clean SEARCH var when building zip files. if not, some files are imported
# from source/bepascal/cpp instead, maybe because of the Jam-engine.
# example : Jamfile
SEARCH on bin_bepascal.zip = . ;
SEARCH on pas_sources.zip = . ;
SEARCH on cpp_sources.zip = . ;
SEARCH on demos.zip = . ;
SEARCH on docs.zip = . ;
rule MakeDistribs rule MakeDistribs
{ {
MkDir $(DISTRIB_DIR) ; MkDir -p $(DISTRIB_DIR) ;
# copy libbepascal.so in lib # copy libbepascal.so in lib
Bulk lib : libbepascal.so ; Bulk lib : libbepascal.so libstubgen.so ;
Bulk lib : libstubgen.so ;
Depends all : ; Depends all : ;
# binary files like libbepascal.so are needed to build bin_bepascal.zip # binary files like libbepascal.so are needed to build bin_bepascal.zip
Depends bin_bepascal.zip : libbepascal.so ; Depends bin_bepascal.zip : libbepascal.so ;
# make all distribution files. We recursively add all files in those directories except the ones in # make all distribution files. We recursively add all files
# CVS subdirectories # in those directories except the ones in CVS subdirectories
MakeZip pas_sources.zip : source/bepascal/pas ; # We also add Jamfiles for building and installing the included
MakeZip cpp_sources.zip : source/bepascal/cpp ; # sources
MakeZip bin_bepascal.zip : source/bepascal/pas lib ; MakeZip bin_bepascal.zip : Readme
MakeZip demos.zip : demos ; Jamfile
MakeZip docs.zip : docs ; Jamrules
source/Jamfile
source/bepascal/Jamfile
source/bepascal/pas
lib ;
MakeZip pas_sources.zip : Readme
Jamfile
Jamrules
source/bepascal/pas ;
MakeZip cpp_sources.zip : Readme
Jamfile
Jamrules
source/bepascal/cpp ;
MakeZip demos.zip : Readme
demos ;
MakeZip docs.zip : Readme
docs ;
} }
# Install libbepascal.so in LIBBEPASCAL_INSTALL_DIR (/boot/home/config/lib) # Install libbepascal.so in LIBBEPASCAL_INSTALL_DIR (/boot/home/config/lib)
@@ -53,3 +75,5 @@ InstallLib $(LIBBEPASCAL_INSTALL_DIR) : libstubgen.so ;
# Make distribution files # Make distribution files
MakeDistribs ; MakeDistribs ;
SubInclude BEPASCAL_TOP source ;

View File

@@ -119,7 +119,8 @@ LIBPATHS = ;
# Additional paths to look for system headers # Additional paths to look for system headers
# These use the form: #include <header> # These use the form: #include <header>
# source file directories are NOT auto-included here # source file directories are NOT auto-included here
SYSTEM_INCLUDE_PATHS = $(SEARCH_SOURCE)/include/be/app SYSTEM_INCLUDE_PATHS = .
$(SEARCH_SOURCE)/include/be/app
$(SEARCH_SOURCE)/include/be/bepas_kernel $(SEARCH_SOURCE)/include/be/bepas_kernel
$(SEARCH_SOURCE)/include/be/interface $(SEARCH_SOURCE)/include/be/interface
$(SEARCH_SOURCE)/include/be/support $(SEARCH_SOURCE)/include/be/support
@@ -161,7 +162,7 @@ DEBUGGER = ;
COMPILER_FLAGS = ; COMPILER_FLAGS = ;
# Specify additional linker flags # Specify additional linker flags
LINKER_FLAGS = ; LINKER_FLAGS on libbepascal.so = ;
# (for TYPE == DRIVER only) Specify desired location of driver in the /dev # (for TYPE == DRIVER only) Specify desired location of driver in the /dev
# hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will # hierarchy. Used by the driverinstall rule. E.g., DRIVER_PATH = video/usb will