Changeset 3e1fea390e453b25f50d1e4308b80a4a962b8564
- Timestamp:
- 05/10/08 10:33:09
(2 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1210408389 +0300
- git-parent:
[a7f65650ff66ba2733e3e45e3e9b48e7bf5acfb2]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1210408380 +0300
- Message:
Build (linux|not)_specific.c as appropriate
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfb19b26 |
r3e1fea3 |
|
| 347 | 347 | AM_CONDITIONAL(HAVE_BEOS, test "${SYS}" = "beos") |
|---|
| 348 | 348 | AM_CONDITIONAL(HAVE_DARWIN, test "${SYS}" = "darwin") |
|---|
| | 349 | AM_CONDITIONAL(HAVE_LINUX, [test "${SYS}" = "linux"]) |
|---|
| 349 | 350 | AM_CONDITIONAL(HAVE_WIN32, test "${SYS}" = "mingw32") |
|---|
| 350 | 351 | AM_CONDITIONAL(HAVE_WINCE, test "${SYS}" = "mingwce") |
|---|
| r707279b |
r3e1fea3 |
|
| 174 | 174 | -DSYSCONFDIR=\"$(sysconfdir)\" \ |
|---|
| 175 | 175 | -DDATA_PATH=\"$(pkgdatadir)\" \ |
|---|
| | 176 | -DLIBDIR=\"$(libdir)\" \ |
|---|
| 176 | 177 | -DPLUGIN_PATH=\"$(pkglibdir)\" |
|---|
| 177 | 178 | libvlc_la_CXXFLAGS = `$(VLC_CONFIG) --cxxflags libvlc` |
|---|
| … | … | |
| 202 | 203 | $(SOURCES_libvlc_beos) \ |
|---|
| 203 | 204 | $(SOURCES_libvlc_darwin) \ |
|---|
| | 205 | $(SOURCES_libvlc_linux) \ |
|---|
| 204 | 206 | $(SOURCES_libvlc_win32) \ |
|---|
| | 207 | $(SOURCES_libvlc_other) \ |
|---|
| 205 | 208 | $(SOURCES_libvlc_dirent) \ |
|---|
| 206 | 209 | $(SOURCES_libvlc_getopt) \ |
|---|
| … | … | |
| 209 | 212 | if HAVE_BEOS |
|---|
| 210 | 213 | libvlc_la_SOURCES += $(SOURCES_libvlc_beos) |
|---|
| 211 | | endif |
|---|
| | 214 | else |
|---|
| 212 | 215 | if HAVE_DARWIN |
|---|
| 213 | 216 | libvlc_la_SOURCES += $(SOURCES_libvlc_darwin) |
|---|
| 214 | | endif |
|---|
| | 217 | else |
|---|
| | 218 | if HAVE_LINUX |
|---|
| | 219 | libvlc_la_SOURCES += $(SOURCES_libvlc_linux) |
|---|
| | 220 | else |
|---|
| 215 | 221 | if HAVE_WIN32 |
|---|
| 216 | 222 | libvlc_la_SOURCES += $(SOURCES_libvlc_win32) |
|---|
| 217 | | endif |
|---|
| | 223 | else |
|---|
| 218 | 224 | if HAVE_WINCE |
|---|
| 219 | 225 | libvlc_la_SOURCES += $(SOURCES_libvlc_win32) |
|---|
| 220 | 226 | endif |
|---|
| | 227 | endif |
|---|
| | 228 | endif |
|---|
| | 229 | endif |
|---|
| | 230 | endif |
|---|
| 221 | 231 | if BUILD_DIRENT |
|---|
| 222 | 232 | libvlc_la_SOURCES += $(SOURCES_libvlc_dirent) |
|---|
| … | … | |
| 235 | 245 | SOURCES_libvlc_darwin = \ |
|---|
| 236 | 246 | misc/darwin_specific.c \ |
|---|
| | 247 | $(NULL) |
|---|
| | 248 | |
|---|
| | 249 | SOURCES_libvlc_linux = \ |
|---|
| | 250 | misc/linux_specific.c \ |
|---|
| 237 | 251 | $(NULL) |
|---|
| 238 | 252 | |
|---|
| … | … | |
| 241 | 255 | network/winsock.c \ |
|---|
| 242 | 256 | $(NULL) |
|---|
| | 257 | |
|---|
| | 258 | SOURCES_libvlc_other = misc/not_specific.c |
|---|
| 243 | 259 | |
|---|
| 244 | 260 | SOURCES_libvlc_dirent = \ |
|---|
| r770f02b |
r3e1fea3 |
|
| 41 | 41 | void system_End ( libvlc_int_t * ); |
|---|
| 42 | 42 | |
|---|
| 43 | | #if defined( SYS_BEOS ) |
|---|
| 44 | | /* Nothing at the moment, create beos_specific.h when needed */ |
|---|
| 45 | | #elif defined( __APPLE__ ) |
|---|
| 46 | | /* Nothing at the moment, create darwin_specific.h when needed */ |
|---|
| 47 | | #elif defined( WIN32 ) || defined( UNDER_CE ) |
|---|
| 48 | | |
|---|
| 49 | | #else |
|---|
| 50 | | # define system_Init( a, b, c ) (void)0 |
|---|
| 51 | | # define system_Configure( a, b, c ) (void)0 |
|---|
| 52 | | # define system_End( a ) (void)0 |
|---|
| 53 | | #endif |
|---|
| 54 | | |
|---|
| 55 | | |
|---|
| 56 | 43 | /* |
|---|
| 57 | 44 | * Threads subsystem |
|---|
| … | … | |
| 155 | 142 | module_bank_t * p_module_bank; ///< The module bank |
|---|
| 156 | 143 | |
|---|
| 157 | | /* Arch-specific variables */ |
|---|
| 158 | | #if defined( SYS_BEOS ) |
|---|
| 159 | 144 | char * psz_vlcpath; |
|---|
| 160 | | #elif defined( __APPLE__ ) |
|---|
| 161 | | char * psz_vlcpath; |
|---|
| 162 | | #elif defined( WIN32 ) |
|---|
| 163 | | char * psz_vlcpath; |
|---|
| 164 | | #endif |
|---|
| 165 | 145 | } libvlc_global_data_t; |
|---|
| 166 | 146 | |
|---|