/* * 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 = trec_idfs REQUIREDLIBS = /**************************************************************************/ /* Other stuff for dumper program (main). */ /**************************************************************************/ LOCAL_LIBRARIES = \ -L. $(SDDAS_WLIBS) -L$(SDDAS_HOME)/lib \ -ltrec_idfs -lIDFSMath -lIDFSFill -lbase_idfs -lVIDF $(DBLIB) -lCfg -lant -lm $(LEXLIB) $(CPPLIB) CLOCALFLAGS = $(SIGNED_CHAR) HERE_H = -I. INCLUDES = $(HERE_H) $(SDDAS_WINCLUDE) $(SDDAS_INCLUDE) SRC_LIB = add_phi.c alloc_bands.c alloc_cdata.c alloc_center.c alloc_ddata.c \ alloc_farray.c alloc_fdata.c alloc_fdisc.c alloc_finfo.c \ alloc_marray.c alloc_mdata.c alloc_minfo.c alloc_sdata.c \ alloc_sinfo.c alloc_smdata.c alloc_sminfo.c \ alloc_spinfo.c alloc_spdata.c adj_spin_ele_dval.c adj_sweep.c \ band_bins.c band_buf.c band_disc.c band_phi.c buf_fill.c \ calc_bands.c calc_center.c center_bands.c check_bound.c \ clear_phi.c clear_theta.c col_chrg.c col_dimen.c \ col_mass.c col_phi.c col_scalar.c col_swp.c \ col_theta.c con_lin_phi.c con_lin_theta.c \ def_sen.c disc_mem.c discrete_phi.c \ end_disc.c end_mode.c end_work.c \ fill_bins.c fill_data.c fill_data_env.c fill_disc.c fill_minfo.c \ fill_mode.c fill_phi.c fill_phi_band.c fill_phi_pnt.c fill_phi_pps.c \ fill_sen.c fill_theta.c find_bin.c find_pixel.c \ full_disc.c full_mode.c full_pix.c \ get_buf.c get_fdata_ptr.c get_mbuf.c get_swp_data.c \ get_swp_disc.c get_swp_mode.c get_spin_data.c \ init_col.c \ least_phi.c least_theta.c \ mk_both_fracs.c mk_fracs.c mode_buf.c mode_ind.c \ next_time.c normalize.c num_dbins.c num_pbins.c \ order_theta.c \ phi_norm.c phi_stat.c pix_back.c pix_fwd.c point_buf.c \ point_disc.c pos_norm.c pps_buf.c pps_disc.c pps_env_buf.c proc_disc.c \ proc_fill.c proc_mode.c proc_sdisc.c proc_sdlev.c proc_smode.c \ proc_sweep.c proc_spin.c \ reset_buf.c reset_col.c reset_disc.c reset_mode.c reset_norm.c \ reset_sbuf.c reset_smode.c ret_center_bands.c ret_phi.c \ set_bin.c set_buf_stat.c set_cinfo.c set_mbuf_stat.c set_scan.c \ set_time_str.c set_vwidth.c set_spin_etime.c set_spin_stime.c \ start_disc.c start_mode.c spin_data.c spin_data_pix.c start_work.c \ stuff_bin.c stuff_disc.c stuff_mode.c stuff_pband.c stuff_phi.c \ stuff_units.c sum_cont.c sum_disc.c sweep_data.c \ sweep_disc.c sweep_mode.c swp_times.c \ theta_bins.c theta_stat.c time_frac.c time_values.c trans_all.c \ trans_band.c trans_buffer.c trans_disc.c trans_point.c \ trans_pps.c trans_sen.c trans_3d_binned.c \ units_ind.c \ work_between.c work_dbet.c work_dnot_inc.c \ work_mbet.c work_mnot_inc.c work_not_inc.c OBJ_LIB = add_phi.o alloc_bands.o alloc_cdata.o alloc_center.o alloc_ddata.o \ alloc_farray.o alloc_fdata.o alloc_fdisc.o alloc_finfo.o \ alloc_marray.o alloc_mdata.o alloc_minfo.o alloc_sdata.o \ alloc_sinfo.o alloc_smdata.o alloc_sminfo.o \ alloc_spinfo.o alloc_spdata.o adj_spin_ele_dval.o adj_sweep.o \ band_bins.o band_buf.o band_disc.o band_phi.o buf_fill.o \ calc_bands.o calc_center.o center_bands.o check_bound.o \ clear_phi.o clear_theta.o col_chrg.o col_dimen.o \ col_mass.o col_phi.o col_scalar.o col_swp.o \ col_theta.o con_lin_phi.o con_lin_theta.o \ def_sen.o disc_mem.o discrete_phi.o \ end_disc.o end_mode.o end_work.o \ fill_bins.o fill_data.o fill_data_env.o fill_disc.o fill_minfo.o \ fill_mode.o fill_phi.o fill_phi_band.o fill_phi_pnt.o fill_phi_pps.o \ fill_sen.o fill_theta.o find_bin.o find_pixel.o \ full_disc.o full_mode.o full_pix.o \ get_buf.o get_fdata_ptr.o get_mbuf.o get_swp_data.o \ get_swp_disc.o get_swp_mode.o get_spin_data.o \ init_col.o \ least_phi.o least_theta.o \ mk_both_fracs.o mk_fracs.o mode_buf.o mode_ind.o \ next_time.o normalize.o num_dbins.o num_pbins.o \ order_theta.o \ phi_norm.o phi_stat.o pix_back.o pix_fwd.o point_buf.o \ point_disc.o pos_norm.o pps_buf.o pps_disc.o pps_env_buf.o proc_disc.o \ proc_fill.o proc_mode.o proc_sdisc.o proc_sdlev.o proc_smode.o \ proc_sweep.o proc_spin.o \ reset_buf.o reset_col.o reset_disc.o reset_mode.o reset_norm.o \ reset_sbuf.o reset_smode.o ret_center_bands.o ret_phi.o \ set_bin.o set_buf_stat.o set_cinfo.o set_mbuf_stat.o set_scan.o \ set_time_str.o set_vwidth.o set_spin_etime.o set_spin_stime.o \ start_disc.o start_mode.o spin_data.o spin_data_pix.o start_work.o \ stuff_bin.o stuff_disc.o stuff_mode.o stuff_pband.o stuff_phi.o \ stuff_units.o sum_cont.o sum_disc.o sweep_data.o \ sweep_disc.o sweep_mode.o swp_times.o \ theta_bins.o theta_stat.o time_frac.o time_values.o trans_all.o \ trans_band.o trans_buffer.o trans_disc.o trans_point.o \ trans_pps.o trans_sen.o trans_3d_binned.o \ units_ind.o \ work_between.o work_dbet.o work_dnot_inc.o \ work_mbet.o work_mnot_inc.o work_not_inc.o SRCS = main.c get_error_str.c OBJS = main.o get_error_str.o SOURCES.h = libtrec_idfs.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)