X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2FMakefile.am;h=e3221ca526261a8a095643df49e98783e5e73a5f;hp=91094df00ab787ed471ec7a0d9b1b0becdffc69f;hb=c66d6f215e8303d4eaf8ccfdb6a58cff04ccc485;hpb=d600342b7d29c0176ff96a7807ebb38303ecb3a6 diff --git a/fish/Makefile.am b/fish/Makefile.am index 91094df..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 \ @@ -49,7 +60,6 @@ guestfish_SOURCES = \ fish.h \ glob.c \ hexedit.c \ - inspect.c \ lcd.c \ man.c \ more.c \ @@ -65,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.