Skip to content

Commit

Permalink
Makefile: libmon.la -> libmon.a
Browse files Browse the repository at this point in the history
Builds >2x as fast.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed May 6, 2012
1 parent b50a4c9 commit d96e084
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ LIBGLOBAL_LDA = libglobal.la $(PTHREAD_LIBS) -lm $(CRYPTO_LIBS) $(EXTRALIBS)
# monitor
ceph_mon_SOURCES = ceph_mon.cc
ceph_mon_LDFLAGS = $(AM_LDFLAGS)
ceph_mon_LDADD = libmon.la $(LIBGLOBAL_LDA)
ceph_mon_LDADD = libmon.a $(LIBGLOBAL_LDA)
ceph_mon_CXXFLAGS = ${AM_CXXFLAGS}
bin_PROGRAMS += ceph-mon

Expand Down Expand Up @@ -123,7 +123,7 @@ rgw_dencoder_src = rgw/rgw_dencoder.cc \

ceph_dencoder_SOURCES = test/encoding/ceph_dencoder.cc ${rgw_dencoder_src}
ceph_dencoder_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
ceph_dencoder_LDADD = $(LIBGLOBAL_LDA) libosd.la libmds.a libos.la libmon.la
ceph_dencoder_LDADD = $(LIBGLOBAL_LDA) libosd.la libmds.a libos.la libmon.a
bin_PROGRAMS += ceph-dencoder

mount_ceph_SOURCES = mount/mount.ceph.c common/armor.c common/safe_io.c common/secret.c include/addr_parsing.c
Expand Down Expand Up @@ -387,7 +387,7 @@ testcrypto_CXXFLAGS = ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
bin_DEBUGPROGRAMS += testcrypto

testkeys_SOURCES = testkeys.cc
testkeys_LDADD = libmon.la $(LIBGLOBAL_LDA)
testkeys_LDADD = libmon.a $(LIBGLOBAL_LDA)
testkeys_CXXFLAGS = ${AM_CXXFLAGS}
bin_DEBUGPROGRAMS += testkeys

Expand Down Expand Up @@ -1055,7 +1055,7 @@ endif



libmon_la_SOURCES = \
libmon_a_SOURCES = \
auth/cephx/CephxKeyServer.cc \
auth/cephx/CephxServiceHandler.cc \
auth/AuthServiceHandler.cc \
Expand All @@ -1071,9 +1071,8 @@ libmon_la_SOURCES = \
mon/AuthMonitor.cc \
mon/Elector.cc \
mon/MonitorStore.cc
libmon_la_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
libmon_la_LIBADD = libglobal.la
noinst_LTLIBRARIES += libmon.la
libmon_a_CXXFLAGS= ${CRYPTO_CXXFLAGS} ${AM_CXXFLAGS}
noinst_LIBRARIES += libmon.a

libmds_a_SOURCES = \
mds/Dumper.cc \
Expand Down

0 comments on commit d96e084

Please sign in to comment.