root/branches/Derelict2/linux.mak

Revision 603, 4.3 kB (checked in by aldacron, 1 month ago)

[Derelict2 - DerelictAllegro?]
* added support for the allegro_ttf addon
* updated the linux and mac makefiles with build targets for DerelictAllegroDialog?

Line 
1 include inc/linux_inc.mak
2
3 all : DerelictAL_ALL DerelictAllegro_ALL DerelictFMODEX_ALL DerelictFT_ALL DerelictGL_ALL DerelictIL_ALL DerelictODE_ALL DerelictOgg_ALL DerelictPA_ALL DerelictSDL_ALL DerelictSFML_ALL DerelictUtil_ALL
4
5 # Targets for all libs in each package
6 DerelictAL_ALL :
7     $(DMAKE) -C DerelictAL all PLATFORM=linux
8    
9 DerelictAllegro_ALL :
10     $(DMAKE) -C DerelictAllegro all PLATFORM=linux
11    
12 DerelictFMODEX_ALL :
13     $(DMAKE) -C DerelictFMOD all PLATFORM=linux
14
15 DerelictFT_ALL :
16     $(DMAKE) -C DerelictFT all PLATFORM=linux
17        
18 DerelictGL_ALL :
19     $(DMAKE) -C DerelictGL all PLATFORM=linux
20    
21 DerelictIL_ALL :
22     $(DMAKE) -C DerelictIL all PLATFORM=linux
23    
24 DerelictODE_ALL :
25     $(DMAKE) -C DerelictODE all PLATFORM=linux
26    
27 DerelictOgg_ALL :
28     $(DMAKE) -C DerelictOgg all PLATFORM=linux
29    
30 DerelictPA_ALL:
31     $(DMAKE) -C DerelictPA all PLATFORM=linux
32
33 DerelictSDL_ALL :
34     $(DMAKE) -C DerelictSDL all PLATFORM=linux
35
36 DerelictSFML_ALL :
37     $(DMAKE) -C DerelictSFML all PLATFORM=linux
38    
39 DerelictUtil_ALL :
40     $(DMAKE) -C DerelictUtil all PLATFORM=linux
41
42 # In cases where an individual target does not depend on one of the *_ALL targets above *and* the target has the same name
43 # as the package directory (such as DerelictGL and DerelictSDL), gnu make will refuse to build, reporting that the
44 # target is up to date. So as not to break the existing interface by changing the target names, a new dependency
45 # is added to those targets so that they build properly (DerelictGL depends on GL, DerelictSDL depends on SDL, etc...).
46    
47 # There's only one DerelictAL target
48 DerelictAL : DerelictAL_ALL
49
50 # Individual DerelictAllegro targets
51 DerelictAllegro : Allegro
52 Allegro :
53     $(DMAKE) -C DerelictAllegro DerelictAllegro PLATFORM=linux
54    
55 DerelictAllegroImage :
56     $(DMAKE) -C DerelictAllegro DerelictAllegroImage PLATFORM=linux
57    
58 DerelictAllegroFont :
59     $(DMAKE) -C DerelictAllegro DerelictAllegroFont PLATFORM=linux
60    
61 DerelictAllegroAudio :
62     $(DMAKE) -C DerelictAllegro DerelictAllegroAudio PLATFORM=linux
63    
64 DerelictAllegroACodec :
65     $(DMAKE) -C DerelictAllegro DerelictAllegroACodec PLATFORM=linux
66    
67 DerelictAllegroDialog :
68     $(DMAKE) -C DerelictAllegro DerelictAllegroDialog PLATFORM=linux
69    
70 DerelictAllegroTTF :
71     $(DMAKE) -C DerelictAllegro DerelictAllegroTTF PLATFORM=linux
72
73 # There's only one DerelictFMODEX target
74 DerelictFMODEX : DerelictFMODEX_ALL
75
76 # There's only one DerelictFT target
77 DerelictFT : DerelictFT_ALL
78    
79 # Individual DerelictGL targets
80 DerelictGL : GL
81 GL :
82     $(DMAKE) -C DerelictGL DerelictGL PLATFORM=linux
83    
84 DerelictGLU :
85     $(DMAKE) -C DerelictGL DerelictGLU PLATFORM=linux
86    
87 # Individual DerelictIL targets
88 DerelictIL : IL
89 IL :
90     $(DMAKE) -C DerelictIL DerelictIL PLATFORM=linux
91    
92 DerelictILU :
93     $(DMAKE) -C DerelictIL DerelictILU PLATFORM=linux
94    
95 DerelictILUT :
96     $(DMAKE) -C DerelictIL DerelictILUT PLATFORM=linux
97    
98 # There's only one target for DerelictODE
99 DerelictODE : DerelictODE_ALL
100    
101 # Individual DerelictOgg targets
102 DerelictOgg : Ogg
103 Ogg :
104     $(DMAKE) -C DerelictOgg DerelictOgg PLATFORM=linux 
105
106 DerelictVorbis :
107     $(DMAKE) -C DerelictOgg DerelictVorbis PLATFORM=linux
108    
109 DerelictVorbisEnc :
110     $(DMAKE) -C DerelictOgg DerelictVorbisEnc PLATFORM=linux
111    
112 DerelictVorbisFile :
113     $(DMAKE) -C DerelictOgg DerelictVorbisFile PLATFORM=linux   
114
115 # There's only one target for DerelictPA
116 DerelictPA : DerelictPA_ALL     
117    
118 # Individual DerelictSDL targets
119 DerelictSDL : SDL
120 SDL :
121     $(DMAKE) -C DerelictSDL DerelictSDL PLATFORM=linux
122    
123 DerelictSDLImage :
124     $(DMAKE) -C DerelictSDL DerelictSDLImage PLATFORM=linux
125
126 DerelictSDLMixer :
127     $(DMAKE) -C DerelictSDL DerelictSDLMixer PLATFORM=linux
128
129 DerelictSDLNet :
130     $(DMAKE) -C DerelictSDL DerelictSDLNet PLATFORM=linux
131    
132 DerelictSDLttf :
133     $(DMAKE) -C DerelictSDL DerelictSDLttf PLATFORM=linux
134    
135 # Individual DerelictSFML targets
136 DerelictSFMLWindow :
137     $(DMAKE) -C DerelictSFML DerelictSFMLWindow PLATFORM=linux
138    
139 DerelictSFMLSystem :
140     $(DMAKE) -C DerelictSFML DerelictSFMLSystem PLATFORM=linux
141    
142 DerelictSFMLGraphics :
143     $(DMAKE) -C DerelictSFML DerelictSFMLGraphics PLATFORM=linux
144    
145 DerelictSFMLAudio :
146     $(DMAKE) -C DerelictSFML DerelictSFMLAudio PLATFORM=linux
147    
148 DerelictSFMLNetwork :
149     $(DMAKE) -C DerelictSFML DerelictSFMLNetwork PLATFORM=linux
150    
151 # There's only one DerelictUtil target
152 DerelictUtil : DerelictUtil_ALL
153    
154 cleanall : cleanlib cleandi
155
156 clean : cleanlib
157
158 cleanlib:
159     cd DerelictUtil && $(RM) $(LIB_DEST)/*.a
160    
161 cleandi:
162     cd DerelictUtil  && $(RMR) $(IMPORT_DEST)/derelict
163    
Note: See TracBrowser for help on using the browser.