summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
authorSergey Poznyakoff <gray@gnu.org.ua>2011-07-16 19:41:20 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2011-07-16 19:41:20 (GMT)
commit9a2df634f322d174014ac8d5090bfa87a25bb775 (patch) (side-by-side diff)
tree4346c4b392898c087c55fd20ca998eb39294027b /src/Makefile.am
parent8d89ce088cc25786cb9520f67e9fe81c86c70277 (diff)
downloadidest-9a2df634f322d174014ac8d5090bfa87a25bb775.tar.gz
idest-9a2df634f322d174014ac8d5090bfa87a25bb775.tar.bz2
Major rewrite.
* src/idest.h (ed_item): Remove union, leave only value instead. <ref>: New member. (describe_option,verbose_option,all_frames): New externs. (set_frame_value): Return int. (IDEST_OK,IDEST_ERR_*): New constants. (_idest_errstr, _idest_nerrs): New externs. (idest_frame_cmp_t,idest_frame_encoder_t) (idest_frame_decoder_t): New typedefs. (idest_frametab): New struct. (idest_frame_lookup) (find_matching_frame): New protos. (ed_list_add_item) (ed_list_print,ed_list_add_assignment) (ed_list_clear,ed_item_matches_frame) (ed_item_set_comment_fields): Remove. (qv_free,input_list_locate) (parse_ed_items): New protos. * src/idop.c: Rewrite. * src/.gitignore: Add src/frametab.c * src/Makefile.am (idest_SOURCES): Add editem.c and frametab.c (BUILT_SOURCES): Add frametab.c (.gperf.c): New rule (GPERF_FLAGS): New variable. * src/editem.c: New source. * src/frametab.gperf: New source. * src/cmdline.opt: Use input_list_add_assignment in --set handler. * src/guile.c (frame_to_scm,scm_to_tag): Rewrite using the new logic.
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ed125b6..db5513a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -17,6 +17,8 @@
bin_PROGRAMS=idest
idest_SOURCES=\
backup.c\
+ editem.c\
+ frametab.c\
guile.c\
guile.x\
idest.h\
@@ -24,7 +26,7 @@ idest_SOURCES=\
main.c\
cmdline.h\
slist.c
-BUILT_SOURCES=cmdline.h
+BUILT_SOURCES=cmdline.h frametab.c
EXTRA_DIST=cmdline.opt getopt.m4
INCLUDES=-I$(top_srcdir)/gnu -I$(top_builddir)/gnu -I$(top_srcdir)/libid3tag @GUILE_INCLUDES@
LDADD=../gnu/libgnu.a ../libid3tag/libid3tag.a -lz @GUILE_LIBS@
@@ -33,6 +35,11 @@ SUFFIXES=.opt .c .h
.opt.h:
m4 -s $(srcdir)/getopt.m4 $< | sed '1d' > $@
+GPERF_FLAGS=-tCcTnD -K id
+
+.gperf.c:
+ $(AM_V_GEN)gperf $(GPERF_FLAGS) $< > $@
+
DOT_X_FILES = guile.x
CLEANFILES=
DISTCLEANFILES=

Return to:

Send suggestions and report system problems to the System administrator.