forked from satire6/Spotify
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathPackage.pp
79 lines (66 loc) · 2.43 KB
/
Package.pp
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
//
// Package.pp
//
// This file defines certain configuration variables that are to be
// written into the various make scripts. It is processed by ppremake
// (along with the Sources.pp files in each of the various
// directories) to generate build scripts appropriate to each
// environment.
//
// This is the package-specific file, which should be at the top of
// every source hierarchy. It generally gets the ball rolling, and is
// responsible for explicitly including all of the relevent Config.pp
// files.
// What is the name and version of this source tree?
#if $[eq $[PACKAGE],]
#define PACKAGE ttmodels
#define VERSION 0.80
#endif
// Where should we find the TOONTOWN source directory?
#if $[or $[CTPROJS],$[TOONTOWN]]
// If we are presently attached, use the environment variable.
#define TOONTOWN_SOURCE $[TOONTOWN]
#if $[eq $[TOONTOWN],]
#error You seem to be attached to some trees, but not TOONTOWN!
#endif
#else
// Otherwise, if we are not attached, we guess that the source is a
// sibling directory to this source root.
#define TOONTOWN_SOURCE $[standardize $[TOPDIR]/../toontown]
#endif
// Where should we install TTMODELS?
#if $[TTMODELS_INSTALL]
#define TTMODELS_INSTALL $[unixfilename $[TTMODELS_INSTALL]]
#elif $[or $[CTPROJS],$[TTMODELS]]
#define TTMODELS $[unixfilename $[TTMODELS]]
#define TTMODELS_INSTALL $[TTMODELS]/built
#if $[eq $[TTMODELS],]
#error You seem to be attached to some trees, but not TTMODELS!
#endif
#else
#defer TTMODELS_INSTALL $[unixfilename $[INSTALL_DIR]]
#endif
// Define the inter-tree dependencies.
#define NEEDS_TREES $[NEEDS_TREES] toontown
// Also get the TOONTOWN Package file and everything that includes.
#if $[not $[isfile $[TOONTOWN_SOURCE]/Package.pp]]
#printvar TOONTOWN_SOURCE
#error TOONTOWN source directory not found from ttmodels! Are you attached properly?
#endif
#include $[TOONTOWN_SOURCE]/Package.pp
// Define some global variables for this tree.
// NOTE: run maya2egg_server before make
#define MAYA2EGG maya2egg_client
// Use this if your WU are ft
#define MAYA2EGG_OPTS -no -fri 24 -uo ft
#define FLT2EGG_OPTS -no -uo ft
// Use this if your WU are CM
// #define MAYA2EGG_OPTS -uo ft -tbnall -nv 60
// #define FLT2EGG_OPTS -tbnall -nv 60
#define SOFT2EGG_OPTS
#define EGG2BAM_OPTS -txo -txopz
// Finish me!
// #define LANGUAGES english castillian japanese german portuguese french
// #define DEFAULT_LANGUAGE english
//
// #if $[not $[LANGUAGE]]