Skip to content

Commit

Permalink
[lib] Don't install libseafile and headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
killing committed Dec 27, 2016
1 parent f654d77 commit 6f70a91
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 441 deletions.
1 change: 0 additions & 1 deletion fuse/Makefile.am
Expand Up @@ -36,7 +36,6 @@ seaf_fuse_SOURCES = seaf-fuse.c \
../common/seafile-crypt.c

seaf_fuse_LDADD = @CCNET_LIBS@ \
$(top_builddir)/lib/libseafile.la \
@GLIB2_LIBS@ @GOBJECT_LIBS@ @SSL_LIBS@ @LIB_RT@ @LIB_UUID@ \
-lsqlite3 @LIBEVENT_LIBS@ \
$(top_builddir)/common/cdc/libcdc.la \
Expand Down
4 changes: 1 addition & 3 deletions include/Makefile.am
@@ -1,4 +1,2 @@

seafiledir = $(includedir)/seafile

seafile_HEADERS = seafile-rpc.h seafile-error.h
noinst_HEADERS = seafile-rpc.h seafile-error.h
8 changes: 0 additions & 8 deletions lib/Makefile.am
Expand Up @@ -31,21 +31,13 @@ noinst_HEADERS = ${utils_headers} include.h
seafiledir = $(includedir)/seafile
seafile_HEADERS = seafile-object.h

seafile-rpc-wrapper.c: seafile-object.h

seafile-object.h: ${seafile_object_define}
rm -f $@
valac --pkg posix ${seafile_object_define} -C -H seafile-object.h

DISTCLEANFILES = ${searpc_gen}

## library rules
lib_LTLIBRARIES = libseafile.la

libseafile_la_SOURCES = ${seafile_object_gen} seafile-rpc-wrapper.c

libseafile_la_LDFLAGS = -no-undefined
libseafile_la_LIBADD = @GLIB2_LIBS@ @GOBJECT_LIBS@ @SEARPC_LIBS@

noinst_LTLIBRARIES = libseafile_common.la

Expand Down

0 comments on commit 6f70a91

Please sign in to comment.