# Make the calwp2 task # # Last updated: 12 Aug 92 by RAShaw # # Special keywords recognized by IRAF mkpkg files: # # mkpkg relink update object library and link # mkpkg debug update object library, link w/debug options # # mkpkg linkonly skip object library updates and just link # mkpkg install move executable to lib$ # mkpkg update update object library, link, and move to lib$ $call relink $exit update: $call relink $call install ; debug: $set XFLAGS = "-fgq $(XFLAGS)" $set LFLAGS = "-xz $(LFLAGS)" $call relink ; relink: $update cwpc2.a $call linkonly ; install: $move xx_calwp2.e stsdasbin$x_calwp2.e ; cwpc2.a: bjdet_do.x u_err.x "u_context.h" u_fio.x \ "u_incl.h" u_grpkw.x "u_data.h" u_updtdgr.x "u_incl.h" "u_data.h" u_init.x "u_data.h" "u_incl.h"\ "u_context.h" u_pedigree.x u_proc.x \ "u_data.h" "u_incl.h" u_phot.x "u_data.h" "u_incl.h" u_util.x "u_data.h" "u_incl.h" u_sec_stat.x "u_data.h" "u_incl.h" t_calwp2.x "u_incl.h" ; linkonly: $set LIBS = "-lsynphot -lstxtools -luttables -ltbtables \ -lgflib -lgilib" $omake x_calwp2.x $link x_calwp2.o cwpc2.a $(LIBS) -o xx_calwp2.e ; $exit