1 # Time-stamp: <08/06/06 17:34:38 yeti>
3 # Copyright (c) 1997-1999, 2002, 2003, 2005-2008
6 # Portion Copyright (c) 1999-2001
7 # Parallel Graphics Ltd.
9 # Licensed under the Academic Free License version 3.0
18 RULESBASE ?
= $(SRCROOT
)/Makefiles
20 # include file, generated by configure, if available
21 -include ${RULESBASE}/gmake
/config.mak
24 # gcc is default compiler, others specify explicitly;
34 ifndef _NO_SHARED_BUILD
35 ALL_TAGS
:= release-shared
41 ALL_TAGS
+= release-static
45 ifndef _NO_SHARED_BUILD
46 ALL_TAGS
+= dbg-shared
49 ALL_TAGS
+= dbg-static
53 ifndef _NO_STLDBG_BUILD
54 ifndef WITHOUT_STLPORT
55 ifndef _NO_SHARED_BUILD
56 ALL_TAGS
+= stldbg-shared
59 ALL_TAGS
+= stldbg-static
66 all: $(OUTPUT_DIRS
) $(ALL_TAGS
)
68 ifndef WITHOUT_STLPORT
69 all-static
: release-static dbg-static stldbg-static
70 all-shared
: release-shared dbg-shared stldbg-shared
72 all-static
: release-static dbg-static
73 all-shared
: release-shared dbg-shared
81 # identify OS and build date
82 include ${RULESBASE}/gmake
/sysid.mak
84 # OS-specific definitions, like ln, install, etc. (guest host)
85 include ${RULESBASE}/gmake
/$(BUILD_OSNAME
)/sys.mak
86 # target OS-specific definitions, like ar, etc.
87 include ${RULESBASE}/gmake
/$(OSNAME
)/targetsys.mak
88 # Extern projects for everyday usage and settings for ones
89 include ${RULESBASE}/gmake
/extern.mak
90 # compiler, compiler options
91 include ${RULESBASE}/gmake
/$(COMPILER_NAME
).mak
92 # rules to make dirs for targets
93 include ${RULESBASE}/gmake
/targetdirs.mak
95 # os-specific local rules (or other project-specific definitions)
98 LDFLAGS
+= ${EXTRA_LDFLAGS}
100 # derive common targets (*.o, *.d),
101 # build rules (including output catalogs)
102 include ${RULESBASE}/gmake
/targets.mak
104 include ${RULESBASE}/gmake
/depend.mak
107 include ${RULESBASE}/gmake
/clean.mak
109 # if target is library, rules for library
111 include ${RULESBASE}/gmake
/lib
/top.mak
114 # if target is program, rules for executable
116 include ${RULESBASE}/gmake
/app
/top.mak
119 include ${RULESBASE}/gmake
/app
/top.mak