Commit ce02beab authored by Sam Hocevar's avatar Sam Hocevar

./configure puis make, et �a devrait compiler.

parent 12422fe0
...@@ -9,13 +9,6 @@ ...@@ -9,13 +9,6 @@
# Configuration # Configuration
################################################################################ ################################################################################
# Environment
CC=gcc
#CC=gcc295
SHELL=/bin/sh
INSTALL=install
PREFIX=/usr
# Audio output settings # Audio output settings
AUDIO = dsp AUDIO = dsp
#AUDIO += esd #AUDIO += esd
...@@ -25,15 +18,26 @@ AUDIO = dsp ...@@ -25,15 +18,26 @@ AUDIO = dsp
AUDIO += dummy AUDIO += dummy
# Video output settings # Video output settings
VIDEO = x11 VOUT = x11
#VIDEO += fb #VOUT += fb
#VIDEO += ggi #VOUT += ggi
#VIDEO += glide #VOUT += glide
# Not yet supported
#VOUT = beos
#VOUT += dga
# Fallback method that should always work
VOUT += dummy
# Interface settings
INTF = x11
#INTF += fb
#INTF += ggi
#INTF += glide
# Not yet supported # Not yet supported
#VIDEO = beos #INTF = beos
#VIDEO += dga #INTF += dga
# Fallback method that should always work # Fallback method that should always work
VIDEO += dummy INTF += dummy
# Target architecture # Target architecture
ARCH=X86 ARCH=X86
...@@ -304,15 +308,17 @@ endif ...@@ -304,15 +308,17 @@ endif
# #
# Plugins # Plugins
# #
interface_plugin = $(VIDEO:%=interface/intf_%.so) intf_plugin = $(INTF:%=plugins/intf/intf_%.so)
audio_plugin = $(AUDIO:%=audio_output/aout_%.so) aout_plugin = $(AOUT:%=plugins/aout/aout_%.so)
video_plugin = $(VIDEO:%=video_output/vout_%.so) vout_plugin = $(VOUT:%=plugins/vout/vout_%.so)
PLUGIN_OBJ = $(interface_plugin) $(audio_plugin) $(video_plugin) PLUGIN_OBJ = $(intf_plugin) $(aout_plugin) $(vout_plugin)
# #
# Other lists of files # Other lists of files
# #
C_OBJ := $(C_OBJ:%.o=src/%.o)
ASM_OBJ := $(ASM_OBJ:%.o=src/%.o)
sources := $(C_OBJ:%.o=%.c) $(PLUGIN_OBJ:%.so=%.c) sources := $(C_OBJ:%.o=%.c) $(PLUGIN_OBJ:%.so=%.c)
dependancies := $(sources:%.c=.dep/%.d) dependancies := $(sources:%.c=.dep/%.d)
...@@ -377,11 +383,11 @@ $(PLUGIN_OBJ): %.so: Makefile.dep ...@@ -377,11 +383,11 @@ $(PLUGIN_OBJ): %.so: Makefile.dep
$(PLUGIN_OBJ): %.so: .dep/%.d $(PLUGIN_OBJ): %.so: .dep/%.d
# audio plugins # audio plugins
audio_output/aout_dummy.so audio_output/aout_dsp.so: %.so: %.c plugins/aout/aout_dummy.so plugins/aout/aout_dsp.so: %.so: %.c
@echo "compiling $*.so from $*.c" @echo "compiling $*.so from $*.c"
@$(CC) $(CCFLAGS) $(CFLAGS) -shared -o $@ $< @$(CC) $(CCFLAGS) $(CFLAGS) -shared -o $@ $<
audio_output/aout_esd.so: %.so: %.c plugins/aout/aout_esd.so: %.so: %.c
@echo "compiling $*.so from $*.c" @echo "compiling $*.so from $*.c"
ifeq ($(SYS), BSD) ifeq ($(SYS), BSD)
@$(CC) $(CCFLAGS) $(CFLAGS) -lesd -shared -o $@ $< @$(CC) $(CCFLAGS) $(CFLAGS) -lesd -shared -o $@ $<
...@@ -390,20 +396,20 @@ else ...@@ -390,20 +396,20 @@ else
endif endif
# video plugins # video plugins
interface/intf_dummy.so video_output/vout_dummy.so \ plugins/intf/intf_dummy.so plugins/vout/vout_dummy.so \
interface/intf_fb.so video_output/vout_fb.so: %.so: %.c plugins/intf/intf_fb.so plugins/vout/vout_fb.so: %.so: %.c
@echo "compiling $*.so from $*.c" @echo "compiling $*.so from $*.c"
@$(CC) $(CCFLAGS) $(CFLAGS) -shared -o $@ $< @$(CC) $(CCFLAGS) $(CFLAGS) -shared -o $@ $<
interface/intf_x11.so video_output/vout_x11.so: %.so: %.c plugins/intf/intf_x11.so plugins/vout/vout_x11.so: %.so: %.c
@echo "compiling $*.so from $*.c" @echo "compiling $*.so from $*.c"
@$(CC) $(CCFLAGS) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -shared -o $@ $< @$(CC) $(CCFLAGS) $(CFLAGS) -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lXext -shared -o $@ $<
interface/intf_glide.so video_output/vout_glide.so: %.so: %.c plugins/intf/intf_glide.so plugins/vout/vout_glide.so: %.so: %.c
@echo "compiling $*.so from $*.c" @echo "compiling $*.so from $*.c"
@$(CC) $(CCFLAGS) $(CFLAGS) -I/usr/include/glide -lglide2x -shared -o $@ $< @$(CC) $(CCFLAGS) $(CFLAGS) -I/usr/include/glide -lglide2x -shared -o $@ $<
interface/intf_ggi.so video_output/vout_ggi.so: %.so: %.c plugins/intf/intf_ggi.so plugins/vout/vout_ggi.so: %.so: %.c
@echo "compiling $*.so from $*.c" @echo "compiling $*.so from $*.c"
@$(CC) $(CCFLAGS) $(CFLAGS) -lggi -shared -o $@ $< @$(CC) $(CCFLAGS) $(CFLAGS) -lggi -shared -o $@ $<
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*****************************************************************************
* audio_sys.h : header of the method-dependant functions library
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
*
* Authors:
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*****************************************************************************/
/*****************************************************************************
* Required headers:
* - "common.h" ( byte_t )
* - "audio_output.h" ( aout_dsp_t )
*****************************************************************************/
/*****************************************************************************
* Prototypes
*****************************************************************************/
int aout_SysOpen ( aout_thread_t *p_aout );
int aout_SysReset ( aout_thread_t *p_aout );
int aout_SysSetFormat ( aout_thread_t *p_aout );
int aout_SysSetChannels ( aout_thread_t *p_aout );
int aout_SysSetRate ( aout_thread_t *p_aout );
long aout_SysGetBufInfo ( aout_thread_t *p_aout, long l_buffer_info );
void aout_SysPlaySamples ( aout_thread_t *p_aout, byte_t *buffer, int i_size );
void aout_SysClose ( aout_thread_t *p_aout );
/*****************************************************************************
* intf_sys.h: system dependant interface API
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
*
* Authors:
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*****************************************************************************/
/*****************************************************************************
* Prototypes
*****************************************************************************/
int intf_SysCreate ( p_intf_thread_t p_intf );
void intf_SysDestroy ( p_intf_thread_t p_intf );
void intf_SysManage ( p_intf_thread_t p_intf );
/*****************************************************************************
* video_sys.h: system dependant video output display method API
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
*
* Authors:
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*****************************************************************************/
/*****************************************************************************
* Prototypes
*****************************************************************************/
int vout_SysCreate ( p_vout_thread_t p_vout, char *psz_display, int i_root_window );
int vout_SysInit ( p_vout_thread_t p_vout );
void vout_SysEnd ( p_vout_thread_t p_vout );
void vout_SysDestroy ( p_vout_thread_t p_vout );
int vout_SysManage ( p_vout_thread_t p_vout );
void vout_SysDisplay ( p_vout_thread_t p_vout );
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment