-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.h.in
62 lines (51 loc) · 1.36 KB
/
config.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/**
* @file config.h
* @author benjamin gerard
* @brief Platform-specific and configuration generated by configure script.
*
* @version $Id: config.h.in,v 1.10 2003-03-26 23:02:47 ben Exp $
*/
#ifndef _CONFIG_H_
#define _CONFIG_H_
#define _DCPLAYA_CONFIG_H_
/** Building top dir */
#define DCPLAYA_TOPDIR @DCPLAYA_TOPDIR@
/** Master test emulation */
#if @MASTER@
# define DCPLAYA_MASTER_DIR "/make-cd/iso/dcplaya"
#else
# define DCPLAYA_MASTER_DIR
#endif
/** Release version. */
#if @RELEASE@
# define RELEASE
#else
# undef RELEASE
#endif
/* Set home (cd only if release and not master. */
#if ! @MASTER@ && defined(RELEASE)
# define DCPLAYA_HOME "/cd/dcplaya"
#else
# define DCPLAYA_HOME "/pc" DCPLAYA_TOPDIR DCPLAYA_MASTER_DIR
#endif
/** Debug level. */
#if @DEBUG@ // && ! defined(RELEASE)
# define DEBUG 1
# define DEBUG_LEVEL @DEBUG@
#else
# undef DEBUG
# define DEBUG_LEVEL 0
#endif
/** Breakpoint instruction. */
#define BREAKPOINT(N) @BREAKPOINT@
/** Version value e.g. 0x0100. */
#define DCPLAYA_VERSION @VERSION_NUM@
/** Version string e.g. "1.0". */
#define DCPLAYA_VERSION_STR @VERSION_STR@
/** Official dreammp3 website. */
#define DCPLAYA_URL @DREAMMP3_URL_STR@
#elif defined (_DCPLAYA_CONFIG_H_) /* #ifndef _CONFIG_H_ */
# error "config.h included more than once !"
#else
# error "Another config.h has been included !"
#endif /* #ifndef _CONFIG_H_ */