You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.4 KiB

10 years ago
10 years ago
10 years ago
  1. # This file is part of libasyncns.
  2. #
  3. # Copyright 2005-2008 Lennart Poettering
  4. #
  5. # libasyncns is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as
  7. # published by the Free Software Foundation, either version 2.1 of the
  8. # License, or (at your option) any later version.
  9. #
  10. # libasyncns is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  13. # Lesser General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU Lesser General Public
  16. # License along with libasyncns. If not, see
  17. # <http://www.gnu.org/licenses/>.
  18. noinst_LTLIBRARIES = libcork.la
  19. cli_src = cli/commands.c
  20. core_src = core/allocator.c core/error.c core/gc.c \
  21. core/hash.c core/ip-address.c core/mempool.c \
  22. core/timestamp.c core/u128.c
  23. ds_src = ds/array.c ds/bitset.c ds/buffer.c ds/dllist.c \
  24. ds/file-stream.c ds/hash-table.c ds/managed-buffer.c \
  25. ds/ring-buffer.c ds/slice.c
  26. posix_src = posix/directory-walker.c posix/env.c posix/exec.c \
  27. posix/files.c posix/process.c posix/subprocess.c
  28. pthreads_src = pthreads/thread.c
  29. libcork_la_SOURCES = $(cli_src) $(core_src) $(ds_src) \
  30. $(posix_src) $(pthreads_src)
  31. libcork_la_CFLAGS = -I$(top_srcdir)/libcork/include -DCORK_API=CORK_LOCAL
  32. libcork_la_LDFLAGS = -static