Makefile.am 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #
  2. # automake-file for librdf
  3. #
  4. # $Source$
  5. # $Id$
  6. #
  7. #
  8. noinst_LIBRARIES = librdf.a
  9. librdf_a_SOURCES = rdf_init.c rdf_uri.c rdf_node.c rdf_statement.c \
  10. rdf_digest.c rdf_hash.c rdf_hash_list.c rdf_model.c \
  11. rdf_config.h rdf_types.h \
  12. rdf_uri.h rdf_node.h rdf_statement.h rdf_digest.h rdf_hash.h rdf_hash_gdbm.h \
  13. rdf_hash_list.h rdf_model.h rdf_storage.h rdf_iterator.h \
  14. rdf_assertion_context.h
  15. librdf_a_LIBADD = @DIGEST_OBJS@ @HASH_OBJS@
  16. librdf_a_DEPENDENCIES = @DIGEST_OBJS@ @HASH_OBJS@
  17. EXTRA_librdf_a_SOURCES = md5.c rdf_hash_gdbm.c rdf_digest_openssl.c
  18. EXTRA_DIST=ChangeLog
  19. TESTS=rdf_node_test rdf_digest_test rdf_hash_test rdf_statement_test \
  20. rdf_model_test
  21. CLEANFILES=$(TESTS) test.gdbm
  22. CFLAGS=-g -Wall -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls
  23. rdf_node_test: rdf_node.c librdf.a
  24. $(LINK) -I$(srcdir) -I. -DRDF_NODE_TEST $(srcdir)/rdf_node.c librdf.a $(LIBS)
  25. rdf_digest_test: rdf_digest.c librdf.a
  26. $(LINK) -I$(srcdir) -I. -DRDF_DIGEST_TEST $(srcdir)/rdf_digest.c librdf.a $(LIBS)
  27. rdf_hash_test: rdf_hash.c librdf.a
  28. $(LINK) -I$(srcdir) -I. -DRDF_HASH_TEST $(srcdir)/rdf_hash.c librdf.a $(LIBS)
  29. rdf_statement_test: rdf_statement.c librdf.a
  30. $(LINK) -I$(srcdir) -I. -DRDF_STATEMENT_TEST $(srcdir)/rdf_statement.c librdf.a $(LIBS)
  31. rdf_model_test: rdf_model.c librdf.a
  32. $(LINK) -I$(srcdir) -I. -DRDF_MODEL_TEST $(srcdir)/rdf_model.c librdf.a $(LIBS)
  33. @SET_MAKE@