#* #* 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. #* #*/ CC = gcc CFLAGS = -g -Wall -I. -I$(SDDAS_HOME)/include -fsigned-char LDFLAGS = -L. -L$(SDDAS_HOME)/lib LDLIBS = $(LDFLAGS) -ltrec_idfs -lbase_idfs -lserver -lCfg -ldB -lant -lm LIBRARY = libtrec_idfs.a L = $(LIBRARY) .PRECIOUS: $(LIBRARY) .KEEP_STATE: OBJECTS = $L(alloc_bands.o) $L(alloc_cdata.o) $L(alloc_center.o) \ $L(alloc_ddata.o) $L(alloc_farray.o) $L(alloc_fdata.o) \ $L(alloc_fdisc.o) $L(alloc_finfo.o) $L(alloc_marray.o) \ $L(alloc_mdata.o) $L(alloc_minfo.o) $L(alloc_sdata.o) \ $L(alloc_sinfo.o) $L(alloc_smdata.o) $L(alloc_sminfo.o) \ $L(band_bins.o) $L(band_buf.o) $L(band_disc.o) $L(band_phi.o) \ $L(buf_fill.o) \ $L(calc_bands.o) $L(calc_center.o) $L(center_bands.o) \ $L(check_bound.o) $L(clear_phi.o) $L(clear_theta.o) $L(col_chrg.o) \ $L(col_con.o) $L(col_dimen.o) $L(col_lin.o) $L(col_mass.o) \ $L(col_phi.o) $L(col_scalar.o) $L(col_swp.o) $L(col_theta.o) \ $L(con_lin_phi.o) $L(con_lin_theta.o) \ $L(def_sen.o) $L(determ.o) $L(disc_mem.o) $L(discrete_phi.o) \ $L(end_disc.o) $L(end_mode.o) $L(end_work.o) \ $L(fill_bins.o) $L(fill_data.o) $L(fill_disc.o) $L(fill_minfo.o) \ $L(fill_mode.o) $L(fill_phi.o) $L(fill_phi_band.o) $L(fill_phi_pnt.o) \ $L(fill_phi_pps.o) $L(fill_sen.o) $L(fill_theta.o) $L(find_bin.o) \ $L(find_pixel.o) $L(form_matrix.o) $L(full_disc.o) $L(full_mode.o) \ $L(full_pix.o) \ $L(get_buf.o) $L(get_mbuf.o) $L(get_swp_data.o) $L(get_swp_disc.o) \ $L(get_swp_mode.o) \ $L(init_col.o) $L(int_C_LN_B.o) $L(int_C_LN_T.o) $L(int_C_SP_B.o) \ $L(int_C_SP_T.o) $L(int_D_LN_B.o) $L(int_D_SP_B.o) \ $L(least_phi.o) $L(least_theta.o) \ $L(mk_both_fracs.o) $L(mk_fracs.o) $L(mode_buf.o) $L(mode_ind.o) \ $L(next_time.o) $L(normalize.o) \ $L(order_theta.o) \ $L(phi_norm.o) $L(phi_stat.o) $L(pix_back.o) $L(pix_fwd.o) \ $L(point_buf.o) $L(point_disc.o) $L(pos_norm.o) $L(pps_buf.o) \ $L(pps_disc.o) $L(proc_disc.o) $L(proc_fill.o) $L(proc_mode.o) \ $L(proc_sdisc.o) $L(proc_sdlev.o) $L(proc_smode.o) $L(proc_sweep.o) \ $L(reset_buf.o) $L(reset_col.o) $L(reset_disc.o) $L(reset_mode.o) \ $L(reset_norm.o) $L(reset_sbuf.o) $L(reset_smode.o) $L(ret_phi.o) \ $L(row_con_cyc.o) $L(row_con_ncyc.o) $L(row_lin_cyc.o) \ $L(row_lin_ncyc.o) \ $L(set_bin.o) $L(set_buf_stat.o) $L(set_cinfo.o) $L(set_mbuf_stat.o) \ $L(set_scan.o) $L(set_time_str.o) $L(set_vwidth.o) $L(start_disc.o) \ $L(start_mode.o) $L(start_work.o) $L(str_avg_cont.o) \ $L(str_avg_cphi.o) $L(str_avg_disc.o) $L(stuff_bin.o) $L(stuff_disc.o) \ $L(stuff_mode.o) $L(stuff_pband.o) $L(stuff_phi.o) $L(stuff_units.o) \ $L(sum_any_ord.o) $L(sweep_data.o) $L(sweep_disc.o) $L(sweep_mode.o) \ $L(theta_bins.o) $L(theta_stat.o) $L(time_frac.o) $L(time_values.o) \ $L(trans_all.o) $L(trans_band.o) $L(trans_buffer.o) $L(trans_disc.o) \ $L(trans_point.o) $L(trans_pps.o) $L(trans_sen.o) \ $L(two_d_cyc.o) $L(two_d_lin.o) $L(two_d_ncyc.o) \ $L(units_ind.o) \ $L(weight_data.o) $L(work_between.o) $L(work_dbet.o) \ $L(work_dnot_inc.o) $L(work_mbet.o) $L(work_mnot_inc.o) \ $L(work_not_inc.o) $(LIBRARY): $(OBJECTS) release: cp $(LIBRARY) $(SDDAS_HOME)/lib cp *.h $(SDDAS_HOME)/include clean: rm -f $(LIBRARY) get_error_str.o : get_error_str.c $(CC) $(CFLAGS) $(CPPFLAGS) -DIDFS_ERR -c $< main: main.o get_error_str.o $(CC) $(CFLAGS) $(CPPFLAGS) main.o get_error_str.o $(LDLIBS) -o main rm main.o get_error_str.o