#* #* 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. #* #*/ LEXLIB = -ll CC = gcc CFLAGS = -g -Wall -I. $(WORK_H) -I$(SDDAS_HOME)/include -fsigned-char LDFLAGS = -L. -L$(SDDAS_HOME)/lib LDLIBS = $(LDFLAGS) -lbase_idfs -lVIDF -lserver -lCfg -ldB -lant -lm $(LEXLIB) LIBRARY = libbase_idfs.a L = $(LIBRARY) .PRECIOUS: $(LIBRARY) .KEEP_STATE: OBJECTS = $L(acq_pitch.o) $L(adjust_time.o) $L(adv_tm_ptrs.o) \ $L(alloc_exp.o) $L(alloc_pitch.o) $L(alloc_swp.o) $L(alloc_timing.o) \ $L(assign_ptrs.o) \ $L(calc_tres.o) $L(chk_cal_size.o) $L(chk_crit_stat.o) \ $L(chk_dep_hdr.o) $L(chk_idf_mem.o) $L(combine_add.o) \ $L(combine_div.o) $L(combine_mult.o) $L(combine_sub.o) \ $L(compute_pa.o) $L(conv_cal.o) $L(conv_mode.o) $L(conv_sen.o) \ $L(conv_swp.o) $L(conv_units.o) $L(copy_pdata.o) $L(count_combo.o) \ $L(create_data.o) $L(create_tbl.o) \ $L(err_msg.o) \ $L(file_open.o) $L(file_pos.o) $L(file_setup.o) \ $L(fill_aarray.o) $L(fill_cal_bit.o) $L(fill_cal_byte.o) \ $L(fill_darray.o) $L(fill_pitch.o) $L(fine_search.o) $L(fix_ptrs.o) \ $L(free_ex.o) $L(free_ex_str.o) $L(free_idf.o) $L(free_mode_tbls.o) \ $L(free_pa_data.o) $L(free_pa_info.o) $L(free_sen_tbls.o) \ $L(free_version.o) \ $L(get_const.o) $L(get_crit_info.o) $L(get_cur_tm.o) \ $L(get_mode_info.o) $L(get_mode_tbl.o) \ $L(get_new_tbl.o) $L(get_pinfo.o) $L(get_sen_tbls.o) \ $L(get_tbl_info.o) $L(get_vnum.o) \ $L(idf_add.o) $L(idf_and.o) $L(idf_div.o) $L(idf_ex_func.o) \ $L(idf_look.o) $L(idf_mult.o) $L(idf_or.o) $L(idf_shiftl.o) \ $L(idf_shiftr.o) $L(idf_sub.o) $L(init_exper.o) $L(init_idfs.o) \ $L(init_sen_ptr.o) $L(init_struct.o) $L(intfp.o) \ $L(locate_ex.o) \ $L(mode_tbl_sz.o) \ $L(network.o) $L(new_data.o) $L(new_hdr.o) $L(next_file_tm.o) \ $L(next_idf.o) $L(new_idf.o) $L(num_of_cal.o) \ $L(oper_asgn.o) \ $L(pa_dsrc.o) $L(pa_status.o) $L(pa_swp_times.o) $L(pa_tbls.o) \ $L(pback_dfiles.o) $L(pitch_etime.o) $L(pitch_frac.o) \ $L(pitch_los.o) $L(pitch_stime.o) $L(poly_exp.o) $L(pos_pback.o) \ $L(pos_rtime.o) $L(proc_pdata.o) \ $L(read_drec.o) $L(read_drec_adv.o) $L(read_drec_data.o) \ $L(read_drec_times.o) $L(read_header.o) $L(read_idf_once.o) \ $L(read_idf_update.o) $L(read_tbl.o) $L(reset_exp.o) $L(reset_hdr.o) \ $L(reset_set.o) $L(rtime_dfiles.o) \ $L(same_ptime.o) $L(samp_time.o) $L(select_sen.o) $L(sen_combo.o) \ $L(sen_set_time.o) $L(set_fd_limit.o) $L(set_time.o) \ $L(start_image.o) $L(swap_data.o) \ $L(tbl_size.o) $L(time_comp.o) $L(to_sign.o) $L(trans_data.o) \ $L(unit_normals.o) \ $L(vidf_open.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