Bläddra i källkod

libcaca: move codecs and import/export functions into subdirectories.

tags/v0.99.beta16
Sam Hocevar sam 16 år sedan
förälder
incheckning
e1562a8d46
13 ändrade filer med 30 tillägg och 24 borttagningar
  1. +20
    -14
      caca/Makefile.am
  2. +0
    -0
      caca/codec/export.c
  3. +0
    -0
      caca/codec/import.c
  4. +0
    -0
      caca/driver/cocoa.m
  5. +0
    -0
      caca/driver/conio.c
  6. +0
    -0
      caca/driver/gl.c
  7. +0
    -0
      caca/driver/ncurses.c
  8. +0
    -0
      caca/driver/raw.c
  9. +0
    -0
      caca/driver/slang.c
  10. +0
    -0
      caca/driver/vga.c
  11. +0
    -0
      caca/driver/win32.c
  12. +0
    -0
      caca/driver/x11.c
  13. +10
    -10
      caca/libcaca.vcproj

+ 20
- 14
caca/Makefile.am Visa fil

@@ -35,21 +35,13 @@ libcaca_la_SOURCES = \
frame.c \
dither.c \
font.c \
import.c \
export.c \
file.c \
figfont.c \
graphics.c \
event.c \
time.c \
driver_conio.c \
driver_ncurses.c \
driver_raw.c \
driver_slang.c \
driver_vga.c \
driver_win32.c \
$(cocoa_source) \
$(extra_source) \
$(codec_source) \
$(driver_source) \
$(NULL)
libcaca_la_DEPENDENCIES = \
mono9.data \
@@ -59,6 +51,20 @@ libcaca_la_CPPFLAGS = $(AM_CPPFLAGS) @CACA_CFLAGS@ -D__LIBCACA__
libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS)
codec_source = \
codec/import.c \
codec/export.c \
$(NULL)
driver_source = \
driver/conio.c \
driver/ncurses.c \
driver/raw.c \
driver/slang.c \
driver/vga.c \
driver/win32.c \
$(NULL)
install-exec-local:
$(mkinstalldirs) $(DESTDIR)$(libdir)
. libcaca.la; \
@@ -83,20 +89,20 @@ if USE_PLUGINS
plugin_LTLIBRARIES = libx11_plugin.la libgl_plugin.la
plugindir = $(libdir)/caca
libx11_plugin_la_SOURCES = driver_x11.c
libx11_plugin_la_SOURCES = driver/x11.c
libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
libgl_plugin_la_SOURCES = driver_gl.c
libgl_plugin_la_SOURCES = driver/gl.c
libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
else
extra_source = driver_x11.c driver_gl.c
driver_source += driver/x11.c driver/gl.c
endif
if USE_COCOA
cocoa_source = driver_cocoa.m
driver_source += driver/cocoa.m
endif

caca/export.c → caca/codec/export.c Visa fil


caca/import.c → caca/codec/import.c Visa fil


caca/driver_cocoa.m → caca/driver/cocoa.m Visa fil


caca/driver_conio.c → caca/driver/conio.c Visa fil


caca/driver_gl.c → caca/driver/gl.c Visa fil


caca/driver_ncurses.c → caca/driver/ncurses.c Visa fil


caca/driver_raw.c → caca/driver/raw.c Visa fil


caca/driver_slang.c → caca/driver/slang.c Visa fil


caca/driver_vga.c → caca/driver/vga.c Visa fil


caca/driver_win32.c → caca/driver/win32.c Visa fil


caca/driver_x11.c → caca/driver/x11.c Visa fil


+ 10
- 10
caca/libcaca.vcproj Visa fil

@@ -223,35 +223,35 @@
>
</File>
<File
RelativePath=".\driver_conio.c"
RelativePath=".\driver\conio.c"
>
</File>
<File
RelativePath=".\driver_gl.c"
RelativePath=".\driver\gl.c"
>
</File>
<File
RelativePath=".\driver_ncurses.c"
RelativePath=".\driver\ncurses.c"
>
</File>
<File
RelativePath=".\driver_raw.c"
RelativePath=".\driver\raw.c"
>
</File>
<File
RelativePath=".\driver_slang.c"
RelativePath=".\driver\slang.c"
>
</File>
<File
RelativePath=".\driver_vga.c"
RelativePath=".\driver\vga.c"
>
</File>
<File
RelativePath=".\driver_win32.c"
RelativePath=".\driver\win32.c"
>
</File>
<File
RelativePath=".\driver_x11.c"
RelativePath=".\driver\x11.c"
>
</File>
<File
@@ -259,7 +259,7 @@
>
</File>
<File
RelativePath=".\export.c"
RelativePath=".\codec\export.c"
>
</File>
<File
@@ -283,7 +283,7 @@
>
</File>
<File
RelativePath=".\import.c"
RelativePath=".\codec\import.c"
>
</File>
<File


Laddar…
Avbryt
Spara