Ignore:
Timestamp:
Aug 16, 2018, 3:23:05 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
eed6f5b
Parents:
50fede9
Message:

Adjusted makefiles to use libtool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/Makefile.am

    r50fede9 r38d12e7  
    1616
    1717# create object files in directory with source files
    18 AUTOMAKE_OPTIONS = subdir-objects
     18AUTOMAKE_OPTIONS = foreign subdir-objects
     19ACLOCAL_AMFLAGS  = -I automake
    1920ARFLAGS = cr
    2021
     
    2223
    2324libdir = ${CFA_LIBDIR}
    24 lib_LIBRARIES =  libcfa.a
     25lib_LTLIBRARIES =  libcfa.la
    2526
    2627# AM_CFLAGS for all cfa source
     
    2930# The built sources must not depend on the installed headers
    3031AM_CFAFLAGS = -quiet -in-tree -imacros prelude.c -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@
    31 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
     32AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@
    3233AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@
    3334CFACC = @CFACC@
     
    4041headers += concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa
    4142
    42 libobjs = ${headers:.hfa=.o}
     43libobjs = ${headers:.hfa=.lo}
    4344libsrc = prelude.c startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa \
    4445        ${headers:.hfa=.cfa}
     
    5152${libobjs} : ${cfalib_DATA}
    5253
    53 libcfa_a_SOURCES = ${libsrc}
     54libcfa_la_SOURCES = ${libsrc}
    5455
    55 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "}
     56stdhdr = $(shell find $(srcdir)/stdhdr -type f -printf "%p ")
    5657
    5758cfa_includedir = $(CFA_INCDIR)
Note: See TracChangeset for help on using the changeset viewer.