/* * Copyright (C) 1998 by Southwest Research Institute (SwRI) * * All rights reserved under U.S. Copyright Law and International Conventions. * * The development of this Software was supported by contracts NAG5-3148, * NAG5-6855, NAS8-36840, NAG5-2323, and NAG5-7043 issued on behalf of * the United States Government by its National Aeronautics and Space * Administration. Southwest Research Institute grants to the Government, * and others acting on its behalf, a paid-up nonexclusive, irrevocable, * worldwide license to reproduce, prepare derivative works, and perform * publicly and display publicly, by or on behalf of the Government. * Other than those rights granted to the United States Government, no part * of this Software may be reproduced in any form or by any means, electronic * or mechanical, including photocopying, without permission in writing from * Southwest Research Institute. All inquiries should be addressed to: * * Director of Contracts * Southwest Research Institute * P. O. Drawer 28510 * San Antonio, Texas 78228-0510 * * * Use of this Software is governed by the terms of the end user license * agreement, if any, which accompanies or is included with the Software * (the "License Agreement"). An end user will be unable to install any * Software that is accompanied by or includes a License Agreement, unless * the end user first agrees to the terms of the License Agreement. Except * as set forth in the applicable License Agreement, any further copying, * reproduction or distribution of this Software is expressly prohibited. * Installation assistance, product support and maintenance, if any, of the * Software is available from SwRI and/or the Third Party Providers, as the * case may be. * * Disclaimer of Warranty * * SOFTWARE IS WARRANTED, IF AT ALL, IN ACCORDANCE WITH THESE TERMS OF THE * LICENSE AGREEMENT. UNLESS OTHERWISE EXPLICITLY STATED, THIS SOFTWARE IS * PROVIDED "AS IS", IS EXPERIMENTAL, AND IS FOR NON-COMMERCIAL USE ONLY, * AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, * INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT * SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. * * Limitation of Liability * * SwRI SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED AS A RESULT OF USING, * MODIFYING, CONTRIBUTING, COPYING, DISTRIBUTING, OR DOWNLOADING THIS * SOFTWARE. IN NO EVENT SHALL SwRI BE LIABLE FOR ANY INDIRECT, PUNITIVE, * SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGE (INCLUDING LOSS OF BUSINESS, * REVENUE, PROFITS, USE, DATA OR OTHER ECONOMIC ADVANTAGE) HOWEVER IT ARISES, * WHETHER FOR BREACH OF IN TORT, EVEN IF SwRI HAS BEEN PREVIOUSLY ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. YOU HAVE SOLE RESPONSIBILITY FOR ADEQUATE * PROTECTION AND BACKUP OF DATA AND/OR EQUIPMENT USED IN CONNECTION WITH THE * SOFTWARE AND WILL NOT MAKE A CLAIM AGAINST SwRI FOR LOST DATA, RE-RUN TIME, * INACCURATE OUTPUT, WORK DELAYS OR LOST PROFITS RESULTING FROM THE USE OF * THIS SOFTWARE. YOU AGREE TO HOLD SwRI HARMLESS FROM, AND YOU COVENANT NOT * TO SUE SwRI FOR, ANY CLAIMS BASED ON USING THE SOFTWARE. * * Local Laws: Export Control * * You acknowledge and agree this Software is subject to the U.S. Export * Administration Laws and Regulations. Diversion of such Software contrary * to U.S. law is prohibited. You agree that none of the Software, nor any * direct product therefrom, is being or will be acquired for, shipped, * transferred, or reexported, directly or indirectly, to proscribed or * embargoed countries or their nationals, nor be used for nuclear activities, * chemical biological weapons, or missile projects unless authorized by U.S. * Government. Proscribed countries are set forth in the U.S. Export * Administration Regulations. Countries subject to U.S embargo are: Cuba, * Iran, Iraq, Libya, North Korea, Syria, and the Sudan. This list is subject * to change without further notice from SwRI, and you must comply with the * list as it exists in fact. You certify that you are not on the U.S. * Department of Commerce's Denied Persons List or affiliated lists or on the * U.S. Department of Treasury's Specially Designated Nationals List. You agree * to comply strictly with all U.S. export laws and assume sole responsibilities * for obtaining licenses to export or reexport as may be required. * * General * * These Terms represent the entire understanding relating to the use of the * Software and prevail over any prior or contemporaneous, conflicting or * additional, communications. SwRI can revise these Terms at any time * without notice by updating this posting. * * Trademarks * * The SwRI logo is a trademark of SwRI in the United States and other countries. * */ #include LIB_NAME = base_idfs REQUIREDLIBS = /**************************************************************************/ /* Other stuff for dumper program (main). */ /**************************************************************************/ LOCAL_LIBRARIES = \ -L. $(SDDAS_WLIBS) -L$(SDDAS_HOME)/lib \ -lbase_idfs -lVIDF $(DBLIB) -lCfg -lant -lm $(LEXLIB) $(CPPLIB) /* CLOCALFLAGS = $(SIGNED_CHAR) -DSPIN_SRC_CHECK */ CLOCALFLAGS = $(SIGNED_CHAR) HERE_H = -I. INCLUDES = $(HERE_H) $(SDDAS_WINCLUDE) $(SDDAS_INCLUDE) SRC_LIB = acq_background.c acq_euler.c acq_pitch.c acq_pot.c adj_yr_day.c adjust_time.c adv_tm_ptrs.c alloc_exp.c alloc_euler.c \ alloc_background.c alloc_pitch.c alloc_pot.c alloc_spin_src.c alloc_spin_swp_times.c alloc_swp.c alloc_timing.c \ assign_ptrs.c acq_celestial.c alloc_celestial.c ancillary_etime.c ancillary_los.c \ background_dsrc.c background_frac.c background_status.c background_tbls.c \ calc_tres.c chk_cal_size.c chk_crit_stat.c chk_dep_hdr.c chk_dep_thdr.c \ chk_idf_mem.c chk_trange.c chk_tensor_mem.c combine_add.c constant_euler.c \ combine_div.c combine_mult.c combine_pow.c combine_sub.c compute_pa.c constant_pa.c \ constant_pot.c conv_background.c conv_cal.c conv_mode.c conv_pot.c conv_sen.c conv_swp.c conv_units.c \ copy_euler.c copy_pdata.c celestial_dsrc.c celestial_status.c celestial_tbls.c \ count_combo.c chk_stime.c create_data.c create_dstr.c create_spin_data.c \ create_tdata.c create_tbl.c constant_background.c copy_background.c constant_celestial.c copy_celestial.c \ celestial_frac.c \ delta_combo.c \ err_msg.c extra_days.c \ euler_dsrc.c euler_frac.c euler_status.c euler_tbls.c \ file_open.c file_pos.c file_setup.c fill_aarray.c \ fill_cal_bit.c fill_cal_bit_asen.c fill_cal_bit_aswp.c fill_cal_bit_data.c \ fill_cal_bit_sen.c fill_cal_bit_swp.c fill_cal_byte.c fill_darray.c \ fill_tensor_darray.c find_end_spin_src.c find_start_spin.c find_start_spin_src.c \ fine_search.c fix_ptrs.c first_sen.c free_ancillary_data.c free_bkgd_data.c free_bkgd_info.c free_ex.c free_ex_str.c free_idf.c \ free_mode_tbls.c free_pa_data.c free_pa_info.c free_pot_data.c free_pot_info.c \ free_sen_tbls.c free_spin_src_data.c free_spin_src_info.c free_tensor.c \ free_version.c free_euler_data.c free_euler_info.c frac_stime.c free_celestial_info.c \ free_ex_noreset.c free_ex_str_noreset.c free_idf_noreset.c free_celestial_data.c \ get_background_info.c get_const.c get_crit_info.c get_cur_tm.c get_euler_info.c get_pa_const.c \ get_mode_info.c get_mode_tbl.c get_new_tbl.c get_pinfo.c get_pot_info.c \ get_sen_tbls.c get_sinfo.c get_tbl_info.c get_vnum.c get_background_const.C get_euler_const.C \ get_celestial_const.c get_celestial_info.c \ idf_add.c idf_and.c idf_div.c idf_ex_func.c idf_look.c idf_mod.c \ idf_mult.c idf_or.c idf_shiftl.c idf_shiftr.c idf_sub.c idfs_pa.c idfs_pot.c \ init_exper.c init_idfs.c init_sen_ptr.c init_sen_spin.c init_struct.c \ init_transform.c inst_time.c intfp.c idfs_euler.c idfs_celestial.c idfs_background.c \ last_time_val.c libbase_err_msg.c libtrec_err_msg.c locate_ex.c locate_ex_ptr.c \ mode_tbl_sz.c \ network.c new_data.c new_hdr.c next_file_tm.c next_idf.c new_idf_background.c new_idf_euler.c \ new_idf.c new_idf_celestial.c new_idf_pa.c new_idf_pot.c new_idf_spin_src.c num_of_cal.c \ open_ancillary.c oper_asgn.c override_pot.c \ pa_dsrc.c pa_status.c pa_tbls.c pback_dfiles.c \ pitch_frac.c poly_exp.c pos_ancillary.c \ pos_pback.c pos_rtime.c proc_bdata.c proc_edata.c proc_pdata.c proc_pot.c pot_dsrc.c pot_frac.c \ pot_status.c pot_tbls.c proc_cdata.c \ read_drec.c read_drec_adv.c read_drec_data.c read_drec_times.c \ read_header.c read_hdr_fmt_one.c read_hdr_fmt_two.c read_drec_spin.c \ read_drec_spin_angle.c read_drec_spin_src.c read_idf_once.c \ read_idf_update.c read_tbl.c read_tensor.c \ read_tensor_adv.c read_tensor_data.c read_tensor_times.c reset_exp.c \ reset_hdr.c reset_set.c reset_thdr.c rtime_dfiles.c \ same_btime.c same_ctime.c same_etime.c same_ptime.c samp_time.c select_sen.c sen_combo.c sen_start_spin.c \ sen_start_spin_src.c start_ele.c sen_set_time.c set_fd_limit.c \ set_time.c start_image.c start_spin.c swap_data.c spin_time_frac.c spin_az_const.c \ spin_dsrc.c spin_los_nfile.c spin_src_stat.c spin_swp_times.c swp_times.c \ spin_period_exceeded.c src_positioned.c status_msg.c \ tbl_size.c textract.c time_comp.c tinsert.c to_sign.c trans_data.c trans_tdata.c \ turn_off_pa.c turn_on_celestial.c turn_on_euler.c \ unit_normals.c \ valid_idf_data.c valid_tensor_data.c vidf_open.c OBJ_LIB = acq_background.o acq_euler.o acq_pitch.o acq_pot.o adj_yr_day.o adjust_time.o adv_tm_ptrs.o alloc_exp.o alloc_euler.o \ alloc_background.o alloc_pitch.o alloc_pot.o alloc_spin_src.o alloc_spin_swp_times.o alloc_swp.o alloc_timing.o \ assign_ptrs.o acq_celestial.o alloc_celestial.o ancillary_etime.o ancillary_los.o \ background_dsrc.o background_frac.o background_status.o background_tbls.o \ calc_tres.o chk_cal_size.o chk_crit_stat.o chk_dep_hdr.o chk_dep_thdr.o \ chk_idf_mem.o chk_trange.o chk_tensor_mem.o combine_add.o constant_euler.o \ combine_div.o combine_mult.o combine_pow.o combine_sub.o compute_pa.o constant_pa.o \ constant_pot.o conv_background.o conv_cal.o conv_mode.o conv_pot.o conv_sen.o conv_swp.o conv_units.o \ copy_euler.o copy_pdata.o celestial_dsrc.o celestial_status.o celestial_tbls.o \ count_combo.o chk_stime.o create_data.o create_dstr.o create_spin_data.o \ create_tdata.o create_tbl.o constant_background.o copy_background.o constant_celestial.o copy_celestial.o \ celestial_frac.o \ delta_combo.o \ err_msg.o extra_days.o \ euler_dsrc.o euler_frac.o euler_status.o euler_tbls.o \ file_open.o file_pos.o file_setup.o fill_aarray.o \ fill_cal_bit.o fill_cal_bit_asen.o fill_cal_bit_aswp.o fill_cal_bit_data.o \ fill_cal_bit_sen.o fill_cal_bit_swp.o fill_cal_byte.o fill_darray.o \ fill_tensor_darray.o find_end_spin_src.o find_start_spin.o find_start_spin_src.o \ fine_search.o fix_ptrs.o first_sen.o free_ancillary_data.o free_bkgd_data.o free_bkgd_info.o free_ex.o free_ex_str.o free_idf.o \ free_mode_tbls.o free_pa_data.o free_pa_info.o free_pot_data.o free_pot_info.o \ free_sen_tbls.o free_spin_src_data.o free_spin_src_info.o free_tensor.o \ free_version.o free_euler_data.o free_euler_info.o frac_stime.o free_celestial_info.o \ free_ex_noreset.o free_ex_str_noreset.o free_idf_noreset.o free_celestial_data.o \ get_background_info.o get_const.o get_crit_info.o get_cur_tm.o get_euler_info.o get_pa_const.o \ get_mode_info.o get_mode_tbl.o get_new_tbl.o get_pinfo.o get_pot_info.o \ get_sen_tbls.o get_sinfo.o get_tbl_info.o get_vnum.o get_background_const.o get_euler_const.o \ get_celestial_const.o get_celestial_info.o \ idf_add.o idf_and.o idf_div.o idf_ex_func.o idf_look.o idf_mod.o \ idf_mult.o idf_or.o idf_shiftl.o idf_shiftr.o idf_sub.o idfs_pa.o idfs_pot.o \ init_exper.o init_idfs.o init_sen_ptr.o init_sen_spin.o init_struct.o \ init_transform.o inst_time.o intfp.o idfs_euler.o idfs_celestial.o idfs_background.o \ last_time_val.o libbase_err_msg.o libtrec_err_msg.o locate_ex.o locate_ex_ptr.o \ mode_tbl_sz.o \ network.o new_data.o new_hdr.o next_file_tm.o next_idf.o new_idf_background.o new_idf_euler.o \ new_idf.o new_idf_celestial.o new_idf_pa.o new_idf_pot.o new_idf_spin_src.o num_of_cal.o \ open_ancillary.o oper_asgn.o override_pot.o \ pa_dsrc.o pa_status.o pa_tbls.o pback_dfiles.o \ pitch_frac.o poly_exp.o pos_ancillary.o \ pos_pback.o pos_rtime.o proc_bdata.o proc_edata.o proc_pdata.o proc_pot.o pot_dsrc.o pot_frac.o \ pot_status.o pot_tbls.o proc_cdata.o \ read_drec.o read_drec_adv.o read_drec_data.o read_drec_times.o \ read_header.o read_hdr_fmt_one.o read_hdr_fmt_two.o read_drec_spin.o \ read_drec_spin_angle.o read_drec_spin_src.o read_idf_once.o \ read_idf_update.o read_tbl.o read_tensor.o \ read_tensor_adv.o read_tensor_data.o read_tensor_times.o reset_exp.o \ reset_hdr.o reset_set.o reset_thdr.o rtime_dfiles.o \ same_btime.o same_ctime.o same_etime.o same_ptime.o samp_time.o select_sen.o sen_combo.o sen_start_spin.o \ sen_start_spin_src.o start_ele.o sen_set_time.o set_fd_limit.o \ set_time.o start_image.o start_spin.o swap_data.o spin_time_frac.o spin_az_const.o \ spin_dsrc.o spin_los_nfile.o spin_src_stat.o spin_swp_times.o swp_times.o \ spin_period_exceeded.o src_positioned.o status_msg.o \ tbl_size.o textract.o time_comp.o tinsert.o to_sign.o trans_data.o trans_tdata.o \ turn_off_pa.o turn_on_celestial.o turn_on_euler.o \ unit_normals.o \ valid_idf_data.o valid_tensor_data.o vidf_open.o SRCS = main.c get_error_str.c OBJS = main.o get_error_str.o SOURCES.h = gen_defs.h libbase_idfs.h ret_codes.h user_defs.h util_str.h \ trec_str.h pitch_str.h spin_str.h time_span_str.h potential_str.h \ euler_str.h swp_times.h celestial_str.h frac_defs.h idfs_transform.h \ libbase_codes.h libtrec_codes.h background_str.h SDMakeSharedLibrary($(LIB_NAME),$(OBJ_LIB),1) SDReleaseLib($(LIB_NAME)) /* Special object rule for main so a "shared object" main.o is NOT created */ SpecialObjectRule (get_error_str.o,get_error_str.c,-DIDFS_ERR) SpecialObjectRule (main.o,main.c,NullParameter) AllTarget (main$(EXTENSION)) ComplexProgramTarget (main) LinkTarget (main) SDTestingRelease ($(SDDAS_TEST_DIR)/lib$(LIB_NAME)) SDBetaRelease ($(SDDAS_TEST_DIR)/lib$(LIB_NAME), $(SRC_LIB) $(SRCS) Imakefile $(SOURCES.h)) DependTarget3 ($(SRCS),$(SRC_LIB),NullParameter) PurifyTarget (main)