# makevile - subsidiary makefile for ../makefile ("make force" mode)
#
# This is a generated file; Do NOT edit it!  See bin/ddf_y2m, instead.

# In "force" mode, this target gets run after 'first'.

auto:		a_etc/con.yml \
		a_etc/exit_all_d2ic \
		a_etc/exit_cat_get \
		a_etc/exit_cat_y2d \
		a_etc/exit_cat_y2h \
		a_etc/exit_cat_y2t \
		a_etc/exit_con_y2d \
		a_etc/exit_con_y2h \
		a_etc/exit_db_get \
		a_etc/exit_ddf_y2d \
		a_etc/exit_function_y2h \
		a_etc/exit_idf_d2d \
		a_etc/exit_idf_i2m \
		a_etc/exit_idf_y2h \
		a_etc/exit_latdocs_y2h \
		a_etc/exit_ltx_get \
		a_etc/exit_package_y2h \
		a_etc/exit_rtt_y2d \
		a_etc/exit_rtt_y2h \
		a_etc/exit_tag_sum_get \
		a_etc/exit_tr_etc \
		a_etc/exit_use_tree_d2d \
		a_etc/exit_use_tree_i2m \
		a_etc/exit_use_tree_y2d \
		a_etc/exit_version_y2g \
		a_etc/glossary.inc \
		a_etc/message.yml \
		a_etc/personnel.inc \
		a_etc/pkg_use.yml \
		a_etc/tag_sum.yml \
		a_etc/traveler.inc \
		a_etc/traveler.yml \
		a_etc/use_tree.yml \
		a_etc/version.yml

FORCE:

# In "force" mode, this target gets run first.

first:		FORCE
		rm -f \
			a_etc/con.yml \
			a_etc/exit_cat_get \
			a_etc/exit_db_get \
			a_etc/exit_latdocs_y2h \
			a_etc/message.yml \
			a_etc/traveler.yml \
			a_etc/use_tree.yml;

# all_d2ic - create image and cmap files from DOT files

a_etc/exit_all_d2ic: \
		$(forall) bin/all_d2ic \
		a_etc/exit_cat_y2d \
		a_etc/exit_con_y2d \
		a_etc/exit_db_get \
		a_etc/exit_ddf_y2d \
		a_etc/exit_idf_d2d \
		a_etc/exit_rtt_y2d \
		a_etc/exit_use_tree_d2d \
		a_etc/exit_use_tree_y2d \
		e_idf/misc_Event_Assembly.dot \
		e_idf/misc_ITC.dot \
		e_idf/misc_Testbed.dot \
		e_idf/task_1553_Receive_Service.dot \
		e_idf/task_1553_Transmit_Service.dot \
		e_idf/task_1_PPS_Interrupt.dot \
		e_idf/task_File_Object.dot \
		e_idf/task_GBM_Interrupt.dot \
		e_idf/task_Housekeeping.dot \
		e_idf/task_IP_calibration.dot \
		e_idf/task_IP_configuration.dot \
		e_idf/task_IP_diagnostic.dot \
		e_idf/task_IP_event_taking.dot \
		e_idf/task_Instrument_Physics.dot \
		e_idf/task_LCB_Receive_Service.dot \
		e_idf/task_LCB_Transmit_Service.dot \
		e_idf/task_MSG.dot \
		e_idf/task_Primitive.dot \
		e_idf/task_Spacecraft_Attitude_Time.dot \
		e_idf/task_Thermal_Control_System.dot \
		e_idf/task_Watchdog.dot
	bin/run all_d2ic \
		a_etc/exit_all_d2ic


# cat_get - get C&T info from LCAT XML files
#
# Forced: Reads LCAT XML files.

a_etc/exit_cat_get: \
		$(forall) bin/cat_get \
		a_etc/use_tree.yml
	bin/run cat_get \
		a_etc/exit_cat_get


# cat_y2d - create diagrams for Command & Telemetry

a_etc/exit_cat_y2d: \
		$(forall) bin/cat_y2d \
		e_cat/cat.yml \
		e_etc/package.yml \
		e_etc/rtt_fsw.yml \
		a_etc/exit_cat_get \
		lib/fsw_lcat.pl
	bin/run cat_y2d \
		a_etc/exit_cat_y2d


# cat_y2h - create web pages for Command & Telemetry

a_etc/exit_cat_y2h: \
		$(forall) bin/cat_y2h \
		a_etc/use_tree.yml \
		e_cat/cat.yml \
		e_cat/html.yml \
		e_etc/package.yml \
		a_etc/exit_cat_get \
		lib/fsw_lcat.pl
	bin/run cat_y2h \
		a_etc/exit_cat_y2h


# cat_y2t - create printable Command & Telemetry manuals

a_etc/exit_cat_y2t: \
		$(forall) bin/cat_y2t \
		a_etc/use_tree.yml \
		e_cat/book.yml \
		e_cat/cat.yml \
		e_cat/html.yml \
		e_etc/function.yml \
		e_etc/package.yml \
		a_etc/exit_cat_y2h \
		lib/fsw_lcat.pl
	bin/run cat_y2t \
		a_etc/exit_cat_y2t


# tr_etc - create ps and pdf files from troff (etc)

a_etc/exit_tr_etc: \
		$(forall) bin/tr_etc \
		a_etc/exit_cat_y2d \
		a_etc/exit_cat_y2t
	bin/run tr_etc \
		a_etc/exit_tr_etc


# ddf_y2d - create DOT (etc) for documentation data flow

a_etc/exit_ddf_y2d: \
		$(forall) bin/ddf_y2d \
		a_ddf/file_sets.yml \
		e_etc/ddf.yml
	bin/run ddf_y2d \
		a_etc/exit_ddf_y2d


# con_get - get Constituent info from binary object files
#
# Forced: Walks CMX binary file trees...

a_etc/con.yml: \
		$(forall) bin/con_get \
		a_etc/use_tree.yml
	bin/run con_get \
		a_etc/con.yml


# con_y2d - create diagrams of Constituent relationships

a_etc/exit_con_y2d: \
		$(forall) bin/con_y2d \
		a_etc/con.yml \
		a_etc/pkg_use.yml \
		a_etc/tag_sum.yml \
		a_etc/use_tree.yml \
		e_etc/def_con.yml \
		e_etc/def_int.yml \
		e_etc/package.yml
	bin/run con_y2d \
		a_etc/exit_con_y2d


# con_y2h - create web pages for Constituents

a_etc/exit_con_y2h: \
		$(forall) bin/con_y2h \
		a_etc/con.yml \
		a_etc/pkg_use.yml \
		a_etc/tag_sum.yml \
		a_etc/use_tree.yml \
		e_etc/def_con.yml \
		e_etc/package.yml
	bin/run con_y2h \
		a_etc/exit_con_y2h


# package_y2h - create web pages for packages & projects

a_etc/exit_package_y2h: \
		$(forall) bin/package_y2h \
		a_etc/ltx.yml \
		a_etc/message.yml \
		a_etc/tag_sum.yml \
		a_etc/traveler.yml \
		a_etc/use_tree.yml \
		e_etc/def_con.yml \
		e_etc/function.yml \
		e_etc/idf.yml \
		e_etc/package.yml \
		a_etc/exit_cat_get
	bin/run package_y2h \
		a_etc/exit_package_y2h


# use_tree_d2d - turn "use" tree DOT files into sequences

a_etc/exit_use_tree_d2d: \
		$(forall) bin/use_tree_d2d \
		a_etc/version.yml \
		a_etc/exit_use_tree_y2d
	bin/run use_tree_d2d \
		a_etc/exit_use_tree_d2d


# use_tree_get - get information on "use" tree
#
# Forced: Walks AFS tree.

a_etc/use_tree.yml: \
		$(forall) bin/use_tree_get \
		
	bin/run use_tree_get \
		a_etc/use_tree.yml


# use_tree_i2m - turn "use" tree images into movies

a_etc/exit_use_tree_i2m: \
		$(forall) bin/use_tree_i2m \
		a_tmp/use_tree_c_0000.png
	bin/run use_tree_i2m \
		a_etc/exit_use_tree_i2m


# use_tree_y2d - create DOT files on "use" tree(s)

a_etc/pkg_use.yml \
a_etc/exit_use_tree_y2d: \
		$(forall) bin/use_tree_y2d \
		a_etc/use_tree.yml \
		e_etc/package.yml
	bin/run use_tree_y2d \
		a_etc/pkg_use.yml \
		a_etc/exit_use_tree_y2d


# version_get - get package version information

a_etc/version.yml: \
		$(forall) bin/version_get \
		a_etc/traveler.yml
	bin/run version_get \
		a_etc/version.yml


# version_y2g - graph package version timelines

a_etc/exit_version_y2g: \
		$(forall) bin/version_y2g \
		a_etc/version.yml \
		e_etc/package.yml
	bin/run version_y2g \
		a_etc/exit_version_y2g


# function_y2h - create web pages for functions

a_etc/exit_function_y2h: \
		$(forall) bin/function_y2h \
		e_etc/function.yml \
		e_etc/package.yml \
		e_etc/rtt_fsw.yml
	bin/run function_y2h \
		a_etc/exit_function_y2h


# glossary_y2h - create web page for glossary

a_etc/glossary.inc: \
		$(forall) bin/glossary_y2h \
		e_etc/glossary.yml
	bin/run glossary_y2h \
		a_etc/glossary.inc


# latdocs_y2h - create web pages for LATDocs
#
# Forced: Queries LATDocs.

a_etc/exit_latdocs_y2h: \
		$(forall) bin/latdocs_y2h \
		e_etc/codes.yml \
		e_etc/latdocs.yml \
		e_etc/personnel.yml
	bin/run latdocs_y2h \
		a_etc/exit_latdocs_y2h


# ltx_get - create web pages for LTX

a_etc/exit_ltx_get: \
		$(forall) bin/ltx_get \
		a_etc/use_tree.yml \
		e_etc/personnel.yml
	bin/run ltx_get \
		a_etc/exit_ltx_get


# db_get - create DOT file from LTX database
#
# Forced: Queries LTX DB.

a_etc/exit_db_get: \
		$(forall) bin/db_get \
		
	bin/run db_get \
		a_etc/exit_db_get


# msg_get - get MSG usage information
#
# Forced: Reads CMX msg files.

a_etc/message.yml: \
		$(forall) bin/msg_get \
		a_etc/use_tree.yml \
		e_etc/package.yml
	bin/run msg_get \
		a_etc/message.yml


# personnel_y2h - create web page for personnel

a_etc/personnel.inc: \
		$(forall) bin/personnel_y2h \
		e_etc/personnel.yml
	bin/run personnel_y2h \
		a_etc/personnel.inc


# idf_d2d - convert IDF data from dot into dot

a_etc/exit_idf_d2d: \
		$(forall) bin/idf_d2d \
		e_idf/anim.yml \
		e_idf/misc_*.dot \
		e_idf/task_*.dot
	bin/run idf_d2d \
		a_etc/exit_idf_d2d


# idf_i2m - create QuickTime movies from image files

a_etc/exit_idf_i2m: \
		$(forall) bin/idf_i2m \
		a_etc/exit_all_d2ic
	bin/run idf_i2m \
		a_etc/exit_idf_i2m


# idf_y2h - create web pages for instrument data flow

a_etc/exit_idf_y2h: \
		$(forall) bin/idf_y2h \
		e_etc/function.yml \
		e_etc/idf.yml \
		e_etc/package.yml \
		e_etc/rtt_fsw.yml
	bin/run idf_y2h \
		a_etc/exit_idf_y2h


# rtt_y2d - create diagrams for req/test tracking

a_etc/exit_rtt_y2d: \
		$(forall) bin/rtt_y2d \
		e_etc/rtt_fsw.yml
	bin/run rtt_y2d \
		a_etc/exit_rtt_y2d


# rtt_y2h - create web pages for req/test tracking

a_etc/exit_rtt_y2h: \
		$(forall) bin/rtt_y2h \
		e_etc/function.yml \
		e_etc/idf.yml \
		e_etc/rtt_fsw.yml
	bin/run rtt_y2h \
		a_etc/exit_rtt_y2h


# tag_sum_get - get tag summary information

a_etc/tag_sum.yml \
a_etc/exit_tag_sum_get: \
		$(forall) bin/tag_sum_get \
		a_etc/traveler.yml \
		e_etc/package.yml
	bin/run tag_sum_get \
		a_etc/tag_sum.yml \
		a_etc/exit_tag_sum_get


# traveler_get - get information on traveler documents
#
# Forced: Walks AFS tree.

a_etc/traveler.yml: \
		$(forall) bin/traveler_get \
		
	bin/run traveler_get \
		a_etc/traveler.yml


# traveler_y2h - create web page for traveler documents

a_etc/traveler.inc: \
		$(forall) bin/traveler_y2h \
		a_etc/traveler.yml \
		e_etc/package.yml
	bin/run traveler_y2h \
		a_etc/traveler.inc



