00001 # Prerequisite: TRACES_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 = Traces
00009 endif
00010
00011
00012 # PROJECT_VERSION should be defined on a per-project basis.
00013 ifndef PROJECT_VERSION
00014 PROJECT_VERSION = 0.3
00015 endif
00016
00017
00018 ifndef PACKAGE_NAME
00019 PACKAGE_NAME = traces
00020 endif
00021
00022
00023 ifndef PACKAGE_TOP
00024 PACKAGE_TOP = $(TRACES_TOP)
00025 endif
00026
00027
00028 TRACES_RELEASE_BASE := Traces-$(PROJECT_VERSION)
00029
00030 TRACES_RELEASE_ARCHIVE_ZIP := $(TRACES_RELEASE_BASE).zip
00031 TRACES_RELEASE_ARCHIVE_BZ2 := $(TRACES_RELEASE_BASE).tar.bz2
00032
00033
00034 # Source section.
00035 TRACES_SRC := $(TRACES_TOP)/src
00036
00037 # BEAM path section.
00038 TRACES_BEAM := $(TRACES_TOP)/src
00039
00040 # Include path section.
00041 TRACES_INC = -I$(TRACES_SRC)
00042
00043
00044 DOC_ROOT = $(TRACES_TOP)/../../../doc
00045
00046
00047 INC += $(TRACES_INC)
00048
00049
00050
00051 ifndef VM_TEST_NAME
00052
00053 VM_NAME := traces_debug
00054
00055 endif
00056
00057
00058 ifndef VM_TEST_NAME
00059
00060 VM_TEST_NAME := traces_test
00061
00062 endif
00063
00064
00065 BEAM_DIRS += $(TRACES_BEAM)
00066
00067 ERLANG_COMPILER_OPT += "+{nowarn_unused_function,[{trace_disabled,1},{trace_disabled,2},{trace_disabled,3},{trace_disabled,4},{trace_disabled,5},{test_trace_disabled,1},{test_trace_disabled,2} ]}"
00068
00069
00070 # WOOPER_TOP may be a symbolic link pointing to the actual WOOPER package to be
00071 # used.
00072 #
00073 WOOPER_TOP = $(TRACES_TOP)/../wooper
00074
00075