X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2FMakefile.am;h=e3221ca526261a8a095643df49e98783e5e73a5f;hp=91094df00ab787ed471ec7a0d9b1b0becdffc69f;hb=a0f85ba643990da25b6afe6a2bbd2407cf312c73;hpb=d75a2bff1264828f02b68a9c8bc7eb2521bd6684 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.