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.
94 lines
1.8 KiB
94 lines
1.8 KiB
.PHONY: clean install uninstall
|
|
|
|
MANDIR=@MANDIR@
|
|
GZIP=@GZIP@
|
|
GZIP_SUFFIX=.3@GZIP_SUFFIX@
|
|
OBJECTS=ck_ht_count \
|
|
ck_ht_destroy \
|
|
ck_ht_get_spmc \
|
|
ck_ht_grow_spmc \
|
|
ck_ht_hash \
|
|
ck_ht_hash_direct \
|
|
ck_ht_init \
|
|
ck_ht_put_spmc \
|
|
ck_ht_remove_spmc \
|
|
ck_ht_reset_spmc \
|
|
ck_ht_set_spmc \
|
|
ck_ht_entry_empty \
|
|
ck_ht_entry_key \
|
|
ck_ht_entry_key_direct \
|
|
ck_ht_entry_key_length \
|
|
ck_ht_entry_key_set \
|
|
ck_ht_entry_key_set_direct \
|
|
ck_ht_entry_set \
|
|
ck_ht_entry_set_direct \
|
|
ck_ht_entry_value_direct \
|
|
ck_ht_entry_value \
|
|
ck_ht_iterator_init \
|
|
ck_ht_next \
|
|
ck_ht_stat \
|
|
ck_bitmap_init \
|
|
ck_bitmap_reset_mpmc \
|
|
ck_bitmap_set_mpmc \
|
|
ck_bitmap_test \
|
|
ck_bitmap_base \
|
|
ck_bitmap_size \
|
|
ck_bitmap_clear \
|
|
ck_bitmap_bits \
|
|
ck_bitmap_buffer \
|
|
ck_bitmap_next \
|
|
ck_bitmap_iterator_init \
|
|
ck_epoch_barrier \
|
|
ck_epoch_begin \
|
|
ck_epoch_call \
|
|
ck_epoch_end \
|
|
ck_epoch_init \
|
|
ck_epoch_poll \
|
|
ck_epoch_recycle \
|
|
ck_epoch_register \
|
|
ck_epoch_synchronize \
|
|
ck_epoch_unregister \
|
|
ck_bag_allocator_set \
|
|
ck_bag_block_count \
|
|
ck_bag_block_next \
|
|
ck_bag_count \
|
|
ck_bag_destroy \
|
|
ck_bag_init \
|
|
ck_bag_iterator_init \
|
|
ck_bag_member_spmc \
|
|
ck_bag_next \
|
|
ck_bag_put_spmc \
|
|
ck_bag_remove_spmc \
|
|
ck_bag_set_spmc \
|
|
ck_hs_init \
|
|
ck_hs_destroy \
|
|
CK_HS_HASH \
|
|
ck_hs_iterator_init \
|
|
ck_hs_next \
|
|
ck_hs_get \
|
|
ck_hs_put \
|
|
ck_hs_set \
|
|
ck_hs_remove \
|
|
ck_hs_grow \
|
|
ck_hs_count \
|
|
ck_hs_reset \
|
|
ck_hs_stat
|
|
|
|
all:
|
|
for target in $(OBJECTS); do \
|
|
$(GZIP) $$target > $$target$(GZIP_SUFFIX); \
|
|
done
|
|
|
|
install:
|
|
mkdir -p $(DESTDIR)/$(MANDIR)/man3 || exit
|
|
cp *$(GZIP_SUFFIX) $(DESTDIR)/$(MANDIR)/man3 || exit
|
|
|
|
uninstall:
|
|
for target in $(OBJECTS); do \
|
|
rm -f $(DESTDIR)/$(MANDIR)/man3/$$target; \
|
|
done
|
|
|
|
clean:
|
|
rm -f *~ *.o *.3.gz
|
|
|