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 \
fish.c \
fish.h \
glob.c \
- inspect.c \
+ hexedit.c \
lcd.c \
man.c \
more.c \
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.