# *-*-Makefile-*-* # This makefile rebuilds the compressed tar files in the ftp area from the # reference version. # # To read back : uncompress -c ARCHIVE.tar.Z |tar tvf - # Define source and target directories REFERENCE = /users/softs/new AIX_BIN = /gagax1/poub/softs/gildas ULTRIX_BIN = /obs/dec/softs HPUX_BIN = /users/softsloc/hpux/ TARGET = /users/softs/export DUMMY = /users/softs/dumtarz # # need for help file # GAG_REF = /users/softs/new/ GAG_DEST= /users/softs/test/ # # Target list sources: $(TARGET)/makefile.tar.Z $(TARGET)/all.tar.Z binary: $(TARGET)/bin_aix.tar.Z $(TARGET)/bin_ultrix.tar.Z hpux: $(TARGET)/bin_HPUX.tar.Z # # $(TARGET)/makefile.tar.Z: $(TARGET)/fpre.tar.Z $(TARGET)/co.tar.Z \ $(TARGET)/help.tar.Z $(TARGET)/DOC.tar.Z $(TARGET)/tex.tar.Z \ $(TARGET)/include.tar.Z \ $(TARGET)/procedure.tar.Z \ $(TARGET)/gag.tar.Z \ $(TARGET)/fits.tar.Z $(TARGET)/gag_print.tar.Z \ $(TARGET)/gag_terminal.tar.Z $(TARGET)/char.tar.Z \ $(TARGET)/sic.tar.Z $(TARGET)/contour.tar.Z $(TARGET)/image.tar.Z \ $(TARGET)/demo.tar.Z $(TARGET)/atm.tar.Z $(TARGET)/gdf.tar.Z \ $(TARGET)/vector.tar.Z $(TARGET)/gfits.tar.Z \ $(TARGET)/astro.tar.Z $(TARGET)/ephemeris.tar.Z \ $(TARGET)/GREG.tar.Z $(TARGET)/GTVL.tar.Z $(TARGET)/GRAPHIC.tar.Z \ $(TARGET)/MAP.tar.Z $(TARGET)/clicant.tar.Z $(TARGET)/CLASS.tar.Z \ $(TARGET)/CFITS.tar.Z $(TARGET)/CAL.tar.Z \ $(TARGET)/task_help.tar.Z $(TARGET)/task_lib.tar.Z \ $(TARGET)/task_gauss.tar.Z $(TARGET)/task_map.tar.Z \ $(TARGET)/task_clic.tar.Z $(TARGET)/task_X.tar.Z \ $(TARGET)/task_specials.tar.Z $(TARGET)/task_sources.tar.Z \ $(TARGET)/task_catalogs.tar.Z \ $(TARGET)/build_catalogs.tar.Z $(TARGET)/point.tar.Z \ $(TARGET)/nic_main.tar.Z $(TARGET)/nic_task.tar.Z \ $(TARGET)/lovas.tar.Z $(TARGET)/flux.tar.Z # # $(TARGET)/procedure-astro.tar.Z $(TARGET)/procedure-class.tar.Z \\ # $(TARGET)/procedure-clic.tar.Z $(TARGET)/procedure-graphic.tar.Z \\ # $(TARGET)/procedure-greg.tar.Z $(TARGET)/procedure-lut.tar.Z \\ # $(TARGET)/procedure-map.tar.Z $(TARGET)/procedure-nic.tar.Z \\ # echo "Updating makefile archive " (cd $(REFERENCE) ; \ tar ocf - \ ./bin/gag.dico.gbl ./bin/gag.dico.lcl \ ./bin/gagplot \ ./bin/GreGPLOT \ ./bin/*.COM \ ./bin/gag_ps_header.ps \ |compress > $(TARGET)/makefile.tar.Z ; \ tar ocf $(TARGET)/win32def.TAR ./*/*.def ./*/*/*.def ; \ tar ocf $(TARGET)/exist.TAR ./*/.exist ./*/*/.exist ./*/*/*/.exist) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/makefile.tar.Z ) # $(TARGET)/fpre.tar.Z: $(REFERENCE)/util/tools/pre echo "Updating preprocessor archive " (cd $(REFERENCE) ; \ tar ocvf - \ ./util/tools/pre/Makefile \ ./util/tools/pre/*.f* \ ./util/tools/pre/*.c \ ./util/tools/pre/*.inc* \ ./util/tools/pre/pre_processor.* \ |compress > $(TARGET)/fpre.tar.Z ; \ tar ocf $(TARGET)/fpre.TAR ./util/tools/pre/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/fpre.tar.Z ) # $(TARGET)/co.tar.Z: $(REFERENCE)/util/tools/co echo "Updating RCS simulator archive " (cd $(REFERENCE) ; \ tar ocf - \ ./util/tools/co/*.c \ |compress > $(TARGET)/co.tar.Z ; \ tar ocf $(TARGET)/co.TAR ./util/tools/co/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/co.tar.Z ) # # -------------------------- End of basic construction tools --------------- # $(TARGET)/help.tar.Z: $(REFERENCE)/help/astro $(REFERENCE)/help/class \ $(REFERENCE)/help/greg $(REFERENCE)/help/clic $(REFERENCE)/help/sic \ $(REFERENCE)/help/gildas $(REFERENCE)/help/mapping \ $(REFERENCE)/help/nic echo "Updating help file archive " (cd $(REFERENCE)/help/astro ; make) # (cd $(REFERENCE)/help/BURE ; make) # Not in a consistent state (cd $(REFERENCE)/help/class ; make) (cd $(REFERENCE)/help/clic ; make) (cd $(REFERENCE)/help/gildas ; make docs) (cd $(REFERENCE)/help/greg ; make) (cd $(REFERENCE)/help/mapping ; make) (cd $(REFERENCE)/help/sic ; make) (cd $(REFERENCE)/help/nic ; make) (cd $(REFERENCE) ; tar ocf - \ ./help/*.hlp \ |compress > $(TARGET)/help.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/help.tar.Z ) # $(TARGET)/DOC.tar.Z: $(REFERENCE)/doc echo "Updating documentation archive (DOC) " (cd $(REFERENCE) ; tar ocf - \ ./doc/* \ |compress > $(TARGET)/DOC.tar.Z ; \ tar ocf $(TARGET)/DOC.TAR \ ./doc/doc.for \ ./doc/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/DOC.tar.Z ) # $(TARGET)/tex.tar.Z: $(REFERENCE)/help echo "Updating documentation archive (TEX) " (cd $(REFERENCE) ; tar ocf - \ ./help/*/*,v \ ./help/*/*.tex \ ./help/*/*.sty \ ./help/*/*.ind \ ./help/*/*.idx \ ./help/*/*.toc \ ./help/*/*.nroff \ ./help/astro/*.astro \ |compress > $(TARGET)/tex.tar.Z ; \ tar ocf $(TARGET)/tex.TAR ./help/*/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/tex.tar.Z ) # $(TARGET)/demo.tar.Z: $(REFERENCE)/demo echo "Updating demonstration archive " (cd $(REFERENCE) ; tar ocf - \ ./demo/*.* \ |compress > $(TARGET)/demo.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/demo.tar.Z ) # $(TARGET)/procedure.tar.Z: $(REFERENCE)/pro echo "Updating Procedures" (cd $(REFERENCE) ; \ find pro/ \( '!' -name \*,v '!' -perm -0600 \) -exec chmod u+w {} \; ;\ tar ocf - ./pro/astro/*,v |compress > $(TARGET)/procedure-astro.tar.Z ; \ tar ocf - ./pro/class/*,v |compress > $(TARGET)/procedure-class.tar.Z ; \ tar ocf - ./pro/clic/*,v |compress > $(TARGET)/procedure-clic.tar.Z ; \ tar ocf - ./pro/graphic/*,v |compress > $(TARGET)/procedure-graphic.tar.Z ; \ tar ocf - ./pro/greg/*,v |compress > $(TARGET)/procedure-greg.tar.Z ; \ tar ocf - ./pro/lut/*,v |compress > $(TARGET)/procedure-lut.tar.Z ; \ tar ocf - ./pro/map/*,v |compress > $(TARGET)/procedure-map.tar.Z ; \ tar ocf - ./pro/nic/*,v |compress > $(TARGET)/procedure-nic.tar.Z ; \ tar ocf $(TARGET)/procedure.TAR ./pro/*/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-astro.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-class.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-clic.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-greg.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-graphic.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-map.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-nic.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/procedure-lut.tar.Z ) # #------------------------ End of Helps and Demos -------------------------- # $(TARGET)/include.tar.Z: $(REFERENCE)/include echo "Updating include file archive " (cd $(REFERENCE) ; tar ocf - \ ./include/*,v \ |compress > $(TARGET)/include.tar.Z ; \ tar ocf $(TARGET)/include.TAR ./include/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/include.tar.Z ) # $(TARGET)/gag.tar.Z: $(REFERENCE)/util/gag echo "Updating gag library archive " (cd $(REFERENCE) ; tar ocf - \ ./util/gag/*,v \ |compress > $(TARGET)/gag.tar.Z ; \ tar ocf $(TARGET)/gag.TAR ./util/gag/Makefile \ ./util/gag/*.def \ ./util/gag/share.* \ ./util/gag/olist.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/gag.tar.Z ) # $(TARGET)/image.tar.Z: $(REFERENCE)/util/image echo "Updating image library archive " (cd $(REFERENCE) ; tar ocf - \ ./util/image/*,v \ ./util/image/*.mar \ |compress > $(TARGET)/image.tar.Z ; \ tar ocf $(TARGET)/image.TAR ./util/image/Makefile \ ./util/image/*.def \ ./util/image/share.* \ ./util/image/olist.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/image.tar.Z ) # $(TARGET)/fits.tar.Z: $(REFERENCE)/util/fits echo "Updating FITS basic library archive " (cd $(REFERENCE) ; tar ocf - \ ./util/fits/*,v \ |compress > $(TARGET)/fits.tar.Z ; \ tar ocf $(TARGET)/fits.TAR ./util/fits/Makefile \ ./util/fits/*.def ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/fits.tar.Z ) # $(TARGET)/sic.tar.Z: $(REFERENCE)/util/sic echo "Updating command interpretor archive " (cd $(REFERENCE) ; tar ocf - \ ./util/sic/*,v \ |compress > $(TARGET)/sic.tar.Z ; \ tar ocf $(TARGET)/sic.TAR ./util/sic/Makefile \ ./util/sic/*.def \ ./util/sic/share.* \ ./util/sic/olist.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/sic.tar.Z ) # # ------------------------ End of SIC --------------------------------------- # $(TARGET)/gag_print.tar.Z: $(REFERENCE)/plot/hardcopy echo "Updating hardcopy archive " (cd $(REFERENCE) ; tar cvf - \ ./plot/hardcopy/*.for* \ ./plot/hardcopy/*.inc* \ |compress > $(TARGET)/gag_print.tar.Z ; \ tar ocf $(TARGET)/gag_print.TAR ./plot/hardcopy/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/gag_print.tar.Z ) # $(TARGET)/gag_terminal.tar.Z: $(REFERENCE)/plot/terminal echo "Updating graphic terminal definition archive " (cd $(REFERENCE) ; tar ocf - \ ./plot/terminal/*.* \ |compress > $(TARGET)/gag_terminal.tar.Z ; \ tar ocf $(TARGET)/gag_terminal.TAR ./plot/terminal/Makefile \ ./plot/terminal/*.vax \ ./plot/terminal/share.* \ ./plot/terminal/*.COM ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/gag_terminal.tar.Z ) # $(TARGET)/char.tar.Z: $(REFERENCE)/plot/char echo "Updating graphic font archive " (cd $(REFERENCE) ; tar ocf - \ ./plot/char/*,v \ ./plot/char/*.DAT \ ./plot/char/*.dat \ ./plot/char/*.vax \ |compress > $(TARGET)/char.tar.Z ; \ tar ocf $(TARGET)/char.TAR ./plot/char/Makefile \ ./plot/char/*.vax \ ./plot/char/*.def \ ./plot/char/share.* \ ./plot/char/*.COM \ ./plot/char/olist.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/char.tar.Z ) # $(TARGET)/contour.tar.Z: $(REFERENCE)/plot/contour echo "Updating contour library archive " (cd $(REFERENCE) ; tar ocf - \ ./plot/contour/*,v \ |compress > $(TARGET)/contour.tar.Z ; \ tar ocf $(TARGET)/contour.TAR ./plot/contour/Makefile \ ./plot/contour/share.* \ ./plot/contour/*.def \ ./plot/contour/*.COM \ ./plot/contour/olist.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/contour.tar.Z ) # $(TARGET)/GTVL.tar.Z: $(REFERENCE)/gras/gtvirt echo "Updating GTVL library archive " (cd $(REFERENCE) ; tar ocf - \ ./gras/gtvirt/*,v \ |compress > $(TARGET)/GTVL.tar.Z ; \ tar ocf $(TARGET)/GTVL.TAR ./gras/gtvirt/Makefile \ ./gras/gtvirt/share.* \ ./gras/gtvirt/*.COM \ ./gras/gtvirt/*.def \ ./gras/gtvirt/*.vax \ ./gras/gtvirt/olist.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/GTVL.tar.Z ) # $(TARGET)/GREG.tar.Z: $(REFERENCE)/gras/greg echo "Updating (new) GREG archive " (cd $(REFERENCE) ; tar ocf - \ ./gras/greg/*,v \ |compress > $(TARGET)/GREG.tar.Z ; \ tar ocf $(TARGET)/GREG.TAR ./gras/greg/Makefile \ ./gras/greg/share.* \ ./gras/greg/*.def \ ./gras/greg/*.COM \ ./gras/greg/olist.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/GREG.tar.Z ) # #------------------------ End of GREG ----------------------------------------- # $(TARGET)/atm.tar.Z: $(REFERENCE)/astro/atm echo "Updating atmospheric model archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/atm/*,v \ |compress > $(TARGET)/atm.tar.Z ; \ chmod u+rw ./astro/atm/Makefile; \ tar ovcf $(TARGET)/atm.TAR ./astro/atm/Makefile \ ./astro/atm/*.def \ ./astro/atm/*.COM \ ./astro/atm/share.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/atm.tar.Z ) # $(TARGET)/CLASS.tar.Z: $(REFERENCE)/astro/class echo "Updating CLASS archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/class/*.for* \ ./astro/class/*.inc* \ ./astro/class/*.par* \ ./astro/class/*.pat* \ |compress > $(TARGET)/CLASS.tar.Z ; \ tar ocf $(TARGET)/CLASS.TAR ./astro/class/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/CLASS.tar.Z ) # $(TARGET)/CAL.tar.Z: $(REFERENCE)/astro/cal echo "Updating CAL archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/cal/*.for* \ ./astro/cal/*.inc* \ ./astro/cal/*.par* \ |compress > $(TARGET)/CAL.tar.Z ; \ tar ocf $(TARGET)/CAL.TAR ./astro/cal/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/CAL.tar.Z ) # $(TARGET)/CFITS.tar.Z: $(REFERENCE)/astro/cfits echo "Updating CFITS archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/cfits/*.for* \ ./astro/cfits/*.c \ ./astro/cfits/*.inc* \ |compress > $(TARGET)/CFITS.tar.Z ; \ tar ocf $(TARGET)/CFITS.TAR ./astro/cfits/Makefile \ ./astro/cfits/*.COM \ ./astro/cfits/share.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/CFITS.tar.Z ) # #------------------------ End of CLASS ---------------------------------------- # $(TARGET)/gdf.tar.Z: $(REFERENCE)/gdf echo "Updating gdf library archive " (cd $(REFERENCE) ; tar ocf - \ ./gdf/*,v \ |compress > $(TARGET)/gdf.tar.Z ; \ tar ocf $(TARGET)/gdf.TAR ./gdf/Makefile \ ./gdf/vector/*.def ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/gdf.tar.Z ) # $(TARGET)/vector.tar.Z: $(REFERENCE)/gdf/vector echo "Updating VECTOR archive " (cd $(REFERENCE) ; tar ocf - \ ./gdf/vector/*,v \ |compress > $(TARGET)/vector.tar.Z ; \ tar ocf $(TARGET)/vector.TAR ./gdf/vector/Makefile \ ./gdf/vector/*.def \ ./gdf/vector/*.COM \ ./gdf/vector/share.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/vector.tar.Z ) # $(TARGET)/GRAPHIC.tar.Z: $(REFERENCE)/gras/graphic echo "Updating (new) GRAPHIC archive " (cd $(REFERENCE) ; tar ocf - \ ./gras/graphic/*,v \ |compress > $(TARGET)/GRAPHIC.tar.Z ; \ tar ocf $(TARGET)/GRAPHIC.TAR ./gras/graphic/Makefile \ ./gras/graphic/*.def \ ./gras/graphic/*.COM \ ./gras/graphic/share.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/GRAPHIC.tar.Z ) # $(TARGET)/gfits.tar.Z: $(REFERENCE)/gdf/fits echo "Updating GFITS archive " (cd $(REFERENCE) ; tar ocf - \ ./gdf/fits/*,v \ |compress > $(TARGET)/gfits.tar.Z ; \ tar ocf $(TARGET)/gfits.TAR ./gdf/fits/Makefile \ ./gdf/fits/*.COM \ ./gdf/fits/*.def \ ./gdf/fits/share.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/gfits.tar.Z ) # #------------------------ End of GRAPHIC -------------------------------------- # $(TARGET)/astro.tar.Z: $(REFERENCE)/astro/astro echo "Updating ASTRO archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/astro/*,v \ ./astro/astro/*.dat \ |compress > $(TARGET)/astro.tar.Z ; \ tar ocf $(TARGET)/astro.TAR ./astro/astro/Makefile \ ./astro/astro/*.def \ ./astro/astro/*.COM \ ./astro/astro/share.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/astro.tar.Z ) $(TARGET)/ephemeris.tar.Z: $(REFERENCE)/ephemeris echo "Updating EPHEMERIS archive " (cd $(REFERENCE) ; tar ocf - \ ./ephemeris/* \ |compress -f > $(TARGET)/ephemeris.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/ephemeris.tar.Z) # #------------------------ End of ASTRO ---------------------------------------- # # tasks $(TARGET)/task_help.tar.Z: $(REFERENCE)/task/exec echo "Updating task HELP archive " (cd $(REFERENCE) ; tar ocf - \ ./task/exec/*.hlp \ ./task/exec/*.nroff \ ./task/exec/*.check \ ./task/exec/*.init \ ./task/exec/GILDAS_DO.COM \ ./task/exec/GILDAS.TPU \ |compress > $(TARGET)/task_help.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_help.tar.Z ) $(TARGET)/task_lib.tar.Z: $(REFERENCE)/task echo "Updating task Library archive " (cd $(REFERENCE) ; tar ocf - \ ./task/*,v \ |compress > $(TARGET)/task_lib.tar.Z ; \ tar ocf $(TARGET)/task_lib.TAR ./task/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_lib.tar.Z ) $(TARGET)/task_catalogs.tar.Z: $(REFERENCE)/task/catalogs echo "Updating task Catalog archive " (cd $(REFERENCE) ; tar ocf - \ ./task/catalogs/*,v \ |compress > $(TARGET)/task_catalogs.tar.Z ; \ tar ocf $(TARGET)/task_catalogs.TAR ./task/catalogs/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_catalogs.tar.Z ) $(TARGET)/build_catalogs.tar.Z: $(REFERENCE)/task/catalogs/make echo "Updating task Build-Catalog archive " (cd $(REFERENCE) ; tar ocf - \ ./task/catalogs/make/*,v \ |compress > $(TARGET)/build_catalogs.tar.Z ; \ tar ocf $(TARGET)/build_catalogs.TAR ./task/catalogs/make/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/build_catalogs.tar.Z ) $(TARGET)/task_gauss.tar.Z: $(REFERENCE)/task/gauss echo "Updating task Gauss archive " (cd $(REFERENCE) ; tar ocf - \ ./task/gauss/*,v \ |compress > $(TARGET)/task_gauss.tar.Z ; \ tar ocf $(TARGET)/task_gauss.TAR ./task/gauss/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_gauss.tar.Z ) $(TARGET)/task_map.tar.Z: $(REFERENCE)/task/map echo "Updating task Map archive " (cd $(REFERENCE) ; tar ocf - \ ./task/map/*,v \ |compress > $(TARGET)/task_map.tar.Z ; \ tar ocf $(TARGET)/task_map.TAR ./task/map/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_map.tar.Z ) $(TARGET)/task_clic.tar.Z: $(REFERENCE)/task/clic echo "Updating task Clic archive " (cd $(REFERENCE) ; tar ocf - \ ./task/clic/*,v \ |compress > $(TARGET)/task_clic.tar.Z ; \ tar ocf $(TARGET)/task_clic.TAR ./task/clic/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_clic.tar.Z ) $(TARGET)/task_specials.tar.Z: $(REFERENCE)/task/specials echo "Updating task Special archive " (cd $(REFERENCE) ; tar ocf - \ ./task/specials/*,v \ |compress > $(TARGET)/task_specials.tar.Z ; \ tar ocf $(TARGET)/task_specials.TAR ./task/specials/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_specials.tar.Z ) $(TARGET)/task_sources.tar.Z: $(REFERENCE)/task/sources echo "Updating task archive " (cd $(REFERENCE) ; tar ocf - \ ./task/sources/*,v \ |compress > $(TARGET)/task_sources.tar.Z ; \ tar ocf $(TARGET)/task_sources.TAR ./task/sources/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_sources.tar.Z ) $(TARGET)/task_X.tar.Z: $(REFERENCE)/task/X echo "Updating task X-Window archive " (cd $(REFERENCE) ; tar ocf - \ ./task/X/*,v \ |compress > $(TARGET)/task_X.tar.Z ; \ tar ocf $(TARGET)/task_X.TAR ./task/X/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/task_X.tar.Z ) # #---------End Of GILDAS Package------------------------------------------------ # $(TARGET)/clicant.tar.Z: $(REFERENCE)/astro/clicant echo "Updating CLIC (antenna based) archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/clicant/*,v \ |compress > $(TARGET)/clicant.tar.Z ; \ tar ocf $(TARGET)/clicant.TAR ./astro/clicant/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/clicant.tar.Z ) # # End of CLIC package #----------------------------------------------------------------------- # $(TARGET)/MAP.tar.Z: $(REFERENCE)/astro/newmap echo "Updating (new) MAP archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/newmap/*,v \ |compress > $(TARGET)/MAP.tar.Z ; \ tar ocf $(TARGET)/MAP.TAR ./astro/newmap/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/MAP.tar.Z ) # $(TARGET)/lovas.tar.Z: $(REFERENCE)/astro/lovas echo "Updating LOVAS archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/lovas/*.for* \ ./astro/lovas/*.c \ ./astro/lovas/*.inc* \ |compress > $(TARGET)/lovas.tar.Z ; \ tar ocf $(TARGET)/lovas.TAR ./astro/lovas/Makefile \ ./astro/lovas/*.COM \ ./astro/lovas/share.* ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/lovas.tar.Z ) # # FLUX # $(TARGET)/flux.tar.Z: $(REFERENCE)/astro/flux echo "Updating FLUX archive " (cd $(REFERENCE) ; tar ocf - \ ./astro/flux/*,v \ ./astro/flux/*.dat \ |compress > $(TARGET)/flux.tar.Z ; \ tar ocf $(TARGET)/flux.TAR ./astro/flux/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/flux.tar.Z ) # # $(TARGET)/point.tar.Z: $(REFERENCE)/bure/point echo "Updating POINT program archive " (cd $(REFERENCE) ; tar ocf - \ ./bure/point/*,v \ |compress > $(TARGET)/point.tar.Z ; \ tar ocf $(TARGET)/point.TAR ./bure/point/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/point.tar.Z ) # #------------------------- End of NIC --------------------------------------- # $(TARGET)/nic_main.tar.Z: $(REFERENCE)/nic/main echo "Updating NIC (main) program archive " (cd $(REFERENCE) ; tar ocf - \ ./nic/main/Makefile \ ./nic/main/*.def \ ./nic/main/rsm \ ./nic/main/*,v \ ./help/nic.hlp \ |compress > $(TARGET)/nic_main.tar.Z ; \ tar ocf $(TARGET)/nic_main.TAR ./nic/main/Makefile \ ./nic/main/rsm ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/nic_main.tar.Z ) # $(TARGET)/nic_task.tar.Z: $(REFERENCE)/task/nic echo "Updating task archive " (cd $(REFERENCE) ; tar ocf - \ ./task/nic/Makefile \ ./task/nic/*,v \ ./task/nic/*.check \ ./task/nic/*.init \ |compress > $(TARGET)/nic_task.tar.Z ; \ tar ocf $(TARGET)/nic_task.TAR ./task/nic/Makefile ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/nic_task.tar.Z ) # #------------------------- End of NIC --------------------------------------- # # $(TARGET)/all.tar.Z: $(TARGET)/*.TAR echo "Updating MAIN Archive " (cd $(TARGET) ; tar ocf - \ *.TAR \ |compress > $(TARGET)/all.tar.Z ) (cd $(HOME)/export; tar ocf - .this_is_a_place_holder \ |compress > $(DUMMY)/all.tar.Z ) # #---------------------------------------------------------------------------- # # Should consider compressing individual files instead of assembling huge # archives... $(TARGET)/bin_HPUX.tar.Z: $(HPUX_BIN) echo "Updating HPUX binary archive " (cd $(HPUX_BIN) ; tar ocf - \ ./bin/* \ ./pro/* \ ./lib/*.sl \ ./help/*.hlp \ ./task/exec/*.exe \ ./task/exec/*.init \ ./task/exec/*.check \ ./task/exec/*.hlp \ ./ephemeris/* \ |compress > $(TARGET)/bin_HPUX.tar.Z ) # $(TARGET)/bin_aix.tar.Z: $(AIX_BIN) echo "Updating AIX binary archive " (cd $(AIX_BIN) ; tar ocf - \ ./bin/* \ ./pro/* \ ./help/*.hlp \ ./task/exec/*.exe \ ./task/exec/*.init \ ./task/exec/*.check \ ./task/help/*.hlp \ ./ephemeris/* \ |compress > $(TARGET)/bin_aix.tar.Z ) $(TARGET)/bin_ultrix.tar.Z: $(ULTRIX_BIN) echo "Updating ULTRIX (RISC) binary archive " (cd $(ULTRIX_BIN) ; tar ocf - \ ./bin/* \ ./pro/* \ ./help/*.hlp \ ./task/exec/*.exe \ ./task/exec/*.init \ ./task/exec/*.check \ ./task/help/*.hlp \ ./ephemeris/* \ |compress > $(TARGET)/bin_ultrix.tar.Z )