00001 # Prerequisite: WOOPER_TOP must be set. 00002 00003 00004 # Project section. 00005 00006 # PROJECT_NAME should be defined on a per-project basis. 00007 ifndef PROJECT_NAME 00008 PROJECT_NAME = WOOPER 00009 endif 00010 00011 00012 # PROJECT_VERSION should be defined on a per-project basis. 00013 ifndef PROJECT_VERSION 00014 PROJECT_VERSION = 1.0 00015 endif 00016 00017 00018 ifndef PACKAGE_NAME 00019 PACKAGE_NAME = wooper 00020 endif 00021 00022 00023 ifndef PACKAGE_TOP 00024 PACKAGE_TOP = $(WOOPER_TOP) 00025 endif 00026 00027 00028 WOOPER_RELEASE_BASE := wooper-$(PROJECT_VERSION) 00029 00030 WOOPER_RELEASE_ARCHIVE_ZIP := $(WOOPER_RELEASE_BASE).zip 00031 WOOPER_RELEASE_ARCHIVE_BZ2 := $(WOOPER_RELEASE_BASE).tar.bz2 00032 00033 00034 # Source section. 00035 WOOPER_SRC := $(WOOPER_TOP)/src 00036 00037 # BEAM path section. 00038 WOOPER_BEAM := $(WOOPER_TOP)/src 00039 00040 # Include path section. 00041 WOOPER_INC = -I$(WOOPER_SRC) 00042 00043 00044 DOC_ROOT = $(WOOPER_TOP)/../../../doc 00045 WOOPER_DOC_DIR = $(DOC_ROOT)/web/main/documentation/wooper 00046 00047 00048 INC += $(WOOPER_INC) 00049 00050 00051 00052 ifndef VM_TEST_NAME 00053 00054 VM_NAME := wooper_debug 00055 00056 endif 00057 00058 00059 ifndef VM_TEST_NAME 00060 00061 VM_TEST_NAME := wooper_test 00062 00063 endif 00064 00065 00066 BEAM_DIRS += $(WOOPER_BEAM) 00067 00068 00069 # COMMON_TOP may be a symbolic link pointing to the actual Common package to be 00070 # used: 00071 COMMON_TOP = $(WOOPER_TOP)/../common 00072