Ignore:
Timestamp:
Mar 26, 2005, 11:27:30 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Use libtool for the static library generation; paves the way for a future shared library.
File:
1 edited

Legend:

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

    r345 r475  
    33include_HEADERS = caca.h
    44
    5 lib_LIBRARIES = libcaca.a $(libcaca_pic_a)
    6 libcaca_a_SOURCES = \
     5lib_LTLIBRARIES = libcaca.la
     6libcaca_la_SOURCES = \
    77        caca.c \
    88        caca.h \
     
    1919        time.c \
    2020        $(NULL)
     21libcaca_la_LDFLAGS = -no-undefined
     22libcaca_la_LIBADD = @CACA_LIBS@
    2123
    2224if NEED_PIC
    2325libcaca_pic_a = libcaca_pic.a
    2426endif
    25 libcaca_pic_a_SOURCES = $(libcaca_a_SOURCES)
     27lib_LIBRARIES = $(libcaca_pic_a)
     28libcaca_pic_a_SOURCES = $(libcaca_la_SOURCES)
    2629libcaca_pic_a_CPPFLAGS = -fPIC -DPIC
    2730
Note: See TracChangeset for help on using the changeset viewer.