IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 11, 2004, 10:36:04 AM (22 years ago)
Author:
desonia
Message:

added install targets to make a test suite executable for non-source
distributions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/Makefile

    r781 r1007  
    33##  Makefile:   test
    44##
    5 ##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-25 23:56:26 $
     5##  $Revision: 1.4 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-06-11 20:36:04 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    5151# Define PHONY target "install" which will install necessary files
    5252
    53 install: $(TARGET_STATIC) $(TARGET_DYNAMIC) $(includedir) $(libexecdir)
     53install: $(TARGET_STATIC) $(TARGET_DYNAMIC) $(includedir) $(libexecdir) $(testbindir)
    5454        install *.h $(includedir)
    5555        install $(TARGET_STATIC) $(libexecdir)
    5656        install $(TARGET_DYNAMIC) $(libexecdir)
     57        install FullUnitTest runTest $(testbindir)
     58        $(MAKE) --directory=collections install
     59        $(MAKE) --directory=dataManip install
     60        $(MAKE) --directory=sysUtils install
    5761
    5862# Define PHONY target "distclean" which will cleanup the distribution
    5963
    6064distclean:      clean
     65        $(MAKE) --directory=collections distclean
     66        $(MAKE) --directory=dataManip distclean
     67        $(MAKE) --directory=sysUtils distclean
    6168        $(RM) $(TARGET_STATIC)
    6269        $(RM) $(TARGET_DYNAMIC)
     
    6774
    6875clean:
     76        $(MAKE) --directory=collections clean
     77        $(MAKE) --directory=dataManip clean
     78        $(MAKE) --directory=sysUtils clean
    6979        @echo "    Deleting intermediate files for 'test'"
    7080        $(RM) $(SRC_OBJS) *.lint
    7181
    7282%.lint: %.c
    73         splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@ 
     83        splint +posixlib -exportlocal -realcompare $(INCLUDE_GLOBAL) $? > $@; cat $@
    7484
    7585# Rule to make include directory if needed
     
    8393        mkdir -p $(libexecdir)
    8494
     95$(testbindir):
     96        mkdir -p $(testbindir)
     97
Note: See TracChangeset for help on using the changeset viewer.