diff --git a/Gui/bitmap.h b/Gui/bitmap.h index c9d18b123c..9a6d5ebf18 100644 --- a/Gui/bitmap.h +++ b/Gui/bitmap.h @@ -18,4 +18,4 @@ typedef struct _txSample extern int bpRead( char * fname, txSample * bf ); extern int conv24to32( txSample * bf ); -#endif \ No newline at end of file +#endif diff --git a/Gui/bitmap/bitmap.h b/Gui/bitmap/bitmap.h index c9d18b123c..9a6d5ebf18 100644 --- a/Gui/bitmap/bitmap.h +++ b/Gui/bitmap/bitmap.h @@ -18,4 +18,4 @@ typedef struct _txSample extern int bpRead( char * fname, txSample * bf ); extern int conv24to32( txSample * bf ); -#endif \ No newline at end of file +#endif diff --git a/Gui/bitmap/bmp/bmp.h b/Gui/bitmap/bmp/bmp.h index 9a58a955ee..86ad5737fb 100644 --- a/Gui/bitmap/bmp/bmp.h +++ b/Gui/bitmap/bmp/bmp.h @@ -25,4 +25,4 @@ extern int bmpRead( unsigned char * fname,txSample * bF ); -#endif \ No newline at end of file +#endif diff --git a/Gui/bitmap/tga/tga.h b/Gui/bitmap/tga/tga.h index fae0b915e2..19f67149fd 100644 --- a/Gui/bitmap/tga/tga.h +++ b/Gui/bitmap/tga/tga.h @@ -18,4 +18,4 @@ extern void tgaWriteBuffer( char * fname,unsigned char * Buffer,int sx,int sy,in extern void tgaWriteTexture( char * filename,txSample * bf ); -#endif \ No newline at end of file +#endif diff --git a/Makefile b/Makefile index 6645b88428..010f426c1f 100644 --- a/Makefile +++ b/Makefile @@ -23,6 +23,9 @@ A_LIBS = -Lmp3lib -lMP3 -Llibac3 -lac3 $(ALSA_LIB) $(ESD_LIB) VO_LIBS = -Llibvo -lvo $(MLIB_LIB) $(X_LIBS) PARTS = mp3lib libac3 libmpeg2 opendivx libavcodec encore libvo libao2 drivers drivers/syncfb +ifeq ($(GUI),yes) +PARTS += Gui +endif ifneq ($(W32_LIB),) PARTS += loader loader/DirectShow @@ -74,8 +77,13 @@ opendivx/libdecore.a: encore/libencore.a: $(MAKE) -C encore +Gui/libgui.a: + $(MAKE) -C Gui MPLAYER_DEP = mplayer.o $(OBJS) $(LOADER_DEP) $(AV_DEP) $(COMMONLIBS) +ifeq ($(GUI),yes) +MPLAYER_DEP += Gui/libgui.a +endif mplayerwithoutlink: $(MPLAYER_DEP) @for a in $(PARTS); do $(MAKE) -C $$a all ; done diff --git a/configure b/configure index 4417033795..9873b6370f 100755 --- a/configure +++ b/configure @@ -1202,23 +1202,17 @@ for ac_option do _select='#define HAVE_AUDIO_SELECT' ;; --enable-gui) - cat <