Define TOPDIR to . if not defined (for make bootcd)

svn path=/trunk/; revision=8880
This commit is contained in:
Art Yerkes 2004-03-27 04:33:15 +00:00
parent 3868dbd0a0
commit fa4663f158

View file

@ -48,6 +48,10 @@ SEP := \$(EMPTY_VAR)
PIPE := -pipe
endif
# Sane TOPDIR for toplevel makefile
ifeq ($(TOPDIR),)
TOPDIR = .
endif
# Use environment var ROS_INSTALL to override default install dir
ifeq ($(ROS_INSTALL),)
@ -133,4 +137,4 @@ OS2_PATH_INC=$(OS2_PATH)/include
# Other systems integration
ROOT_PATH=$(PATH_TO_TOP)/..
REGTESTS_PATH_INC=$(PATH_TO_TOP)/regtests/shared
REGTESTS_PATH_INC=$(PATH_TO_TOP)/regtests/shared