X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2FMakefile.am;h=e3221ca526261a8a095643df49e98783e5e73a5f;hb=3fac199a8b4f4580d348807769d964b94179cd7f;hp=4d17aa1ba2ea0115661b33a75b056512398cd0a1;hpb=0003ea2c3dbaa7e22f4f616539136821d80694b8;p=libguestfs.git diff --git a/fish/Makefile.am b/fish/Makefile.am index 4d17aa1..e3221ca 100644 --- a/fish/Makefile.am +++ b/fish/Makefile.am @@ -38,8 +38,19 @@ EXTRA_DIST = \ guestfish.pod \ guestfish-bash-completion.sh +# These source files (all related to option parsing) are shared +# between guestfish and guestmount. Keep a convenient list here just +# so we know which ones are shared. These files must not include +# other guestfish files. +SHARED_SOURCE_FILES = \ + inspect.c \ + options.h \ + options.c \ + virt.c + guestfish_SOURCES = \ $(generator_built) \ + $(SHARED_SOURCE_FILES) \ alloc.c \ copy.c \ destpaths.c \ @@ -48,7 +59,7 @@ guestfish_SOURCES = \ fish.c \ fish.h \ glob.c \ - inspect.c \ + hexedit.c \ lcd.c \ man.c \ more.c \ @@ -64,8 +75,7 @@ guestfish_SOURCES = \ rmsd.h \ supported.c \ tilde.c \ - time.c \ - virt.c + time.c # This convenience library is solely to avoid compiler warnings # in its generated sources.