# *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* # ** Copyright UCAR (c) 1992 - 2010 # ** University Corporation for Atmospheric Research(UCAR) # ** National Center for Atmospheric Research(NCAR) # ** Research Applications Laboratory(RAL) # ** P.O.Box 3000, Boulder, Colorado, 80307-3000, USA # ** 2010/10/7 23:12:42 # *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* #--------------------------------------------------------------------- # # Makefile for script files # #--------------------------------------------------------------------- # Default INSTALL_DIR, should be overridden on command line INSTALL_DIR=$(RAP_BIN_DIR) # Default LIB install dir for Perl library INSTALL_LIB_DIR=$(RAP_LIB_DIR)/perl5 # Script files to be installed LIBS = \ Monitor.pm \ Niwot.pm \ NNTUtils.pm \ NNTIngestUtils.pm \ Procmap.pm \ Procmap_unsafe.pm \ Toolsa.pm \ TimeRoutines.pm # Targets all: install install_shared: $(MAKE) RAP_BIN_DIR=$(RAP_SHARED_BIN_DIR) RAP_LIB_DIR=$(RAP_SHARED_LIB_DIR) install install: create_subdir create_sub_libdir if test $(INSTALL_LIB_DIR) != . ;\ then \ cp $(LIBS) $(INSTALL_LIB_DIR) ;\ fi create_subdir: if test -d $(INSTALL_DIR) ;\ then \ cd . ;\ else \ mkdir $(INSTALL_DIR) ;\ fi create_sub_libdir: if test -d $(INSTALL_LIB_DIR) ;\ then \ cd . ;\ else \ mkdir -p $(INSTALL_LIB_DIR) ;\ fi install_bin: install install_shared_bin: install_shared # unused targets - needed to prevent make failures clean: debug: dbgopt: profile: opt: opt4: lint: depend: pure: insure: install_include: clean_bin: clean_lib: clean_tdrp: clean_insure: clean_depend: clean_all: staticopt: dbgopt: