Ignore:
Timestamp:
Oct 18, 2008, 1:07:05 PM (11 years ago)
Author:
Sam Hocevar
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/Makefile.am

    r2898 r2962  
    3636        dither.c \
    3737        font.c \
    38         import.c \
    39         export.c \
    4038        file.c \
    4139        figfont.c \
     
    4341        event.c \
    4442        time.c \
    45         driver_conio.c \
    46         driver_ncurses.c \
    47         driver_raw.c \
    48         driver_slang.c \
    49         driver_vga.c \
    50         driver_win32.c \
    51         $(cocoa_source) \
    52         $(extra_source) \
     43        $(codec_source) \
     44        $(driver_source) \
    5345        $(NULL)
    5446libcaca_la_DEPENDENCIES = \
     
    5951libcaca_la_LDFLAGS = -no-undefined -version-number @LT_VERSION@
    6052libcaca_la_LIBADD = @CACA_LIBS@ $(ZLIB_LIBS)
     53
     54codec_source = \
     55        codec/import.c \
     56        codec/export.c \
     57        $(NULL)
     58
     59driver_source = \
     60        driver/conio.c \
     61        driver/ncurses.c \
     62        driver/raw.c \
     63        driver/slang.c \
     64        driver/vga.c \
     65        driver/win32.c \
     66        $(NULL)
    6167
    6268install-exec-local:
     
    8490plugindir = $(libdir)/caca
    8591
    86 libx11_plugin_la_SOURCES = driver_x11.c
     92libx11_plugin_la_SOURCES = driver/x11.c
    8793libx11_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(X11_CFLAGS)
    8894libx11_plugin_la_LDFLAGS = -no-undefined -module -no-version
    8995libx11_plugin_la_LIBADD = libcaca.la $(X11_LIBS)
    9096
    91 libgl_plugin_la_SOURCES = driver_gl.c
     97libgl_plugin_la_SOURCES = driver/gl.c
    9298libgl_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(GL_CFLAGS) #$(FTGL_CFLAGS)
    9399libgl_plugin_la_LDFLAGS = -no-undefined -module -no-version
    94100libgl_plugin_la_LIBADD = libcaca.la $(GL_LIBS) #$(FTGL_LIBS)
    95101else
    96 extra_source = driver_x11.c driver_gl.c
     102driver_source += driver/x11.c driver/gl.c
    97103endif
    98104
    99105if USE_COCOA
    100 cocoa_source = driver_cocoa.m
     106driver_source += driver/cocoa.m
    101107endif
    102108
Note: See TracChangeset for help on using the changeset viewer.