IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 448


Ignore:
Timestamp:
Apr 19, 2004, 9:48:06 AM (22 years ago)
Author:
evanalst
Message:

Updated sysUtils target and comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/Makefile

    r432 r448  
     1###############################################################################
     2##
     3##  Makefile:  psLib
     4##
     5##  $Revision: 1.3 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-04-19 19:48:06 $
     7##
     8##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     9##
     10###############################################################################
     11
     12# Define variable prefix to the top level project - psLib
     13# This is necessary for definition in Makefile.Globals
     14
    115ifndef prefix
    216    export prefix=$(shell cd ..;pwd)
    317endif
    418
     19# Include the make global definitions for the project
     20
    521include Makefile.Globals
    622
    7 .PHONY: sysUtils installSysUtils cleanSysUtils
     23# Detect and save the CVS for this makefile
    824
    925NAME:= "$Name: not supported by cvs2svn $ "
    10 ifeq ($(NAME), "ame: $")
     26ifeq ($(NAME), "ame:  $ ")
    1127   VERSION:= ": Project Version: Unknown "
    1228else
     
    1430endif
    1531
     32# Define the target to build
     33
    1634ALLTARGETS = sysUtils
     35
     36# Define the installation targets
     37
    1738INSTALLTARGETS = installSysUtils
     39
     40# Define the clean up targets
     41
    1842CLEANTARGETS = cleanSysUtils
     43
     44# Define the distribution clean up targets
     45
    1946DISTCLEANTARGETS = distcleanSysUtils
     47
     48# Define PHONY target "all" which will make all necessary items
    2049
    2150all:    $(ALLTARGETS) 
     
    2453        @echo ""
    2554
     55# Define PHONY target "sysUtils" which will make the system utilites
     56# portion of the psLib
     57
    2658sysUtils:
    2759        $(MAKE) --directory=sysUtils all
     60
     61## ADD ADDITIONAL PORTIONS OF PSLIB HERE
     62
     63# Define PHONY target "installSysUtils" which will install all the necessary
     64# files for system utilities portion of psLib
    2865
    2966installSysUtils:
    3067        $(MAKE) --directory=sysUtils install
    3168
     69# Define PHONY target "cleanSysUtils" which will clean up the development
     70# area for system utilites
     71
    3272cleanSysUtils:
    3373        $(MAKE) --directory=sysUtils clean
     74
     75# Define PHONY target "distcleanSysUtils which will clean up the distribution
     76# files related to system utilities
    3477
    3578distcleanSysUtils:
    3679        $(MAKE) --directory=sysUtils distclean
    3780
     81# Rule to make include directory if needed
    3882
    3983$(includedir):
    4084        mkdir -p $(includedir)
    4185
     86# Rule to make bin directory if needed
     87
    4288$(bindir):
    4389        mkdir -p $(bindir)
    4490
     91# Rule to make lib directory if needed
     92
    4593$(libexecdir):
    4694        mkdir -p $(libexecdir)
     95
     96# Rule to make man directory if needed
    4797       
    48 $(mandir): $(mandir)/man3
     98$(mandir):
    4999        mkdir -p $(mandir)
    50100       
    51 $(mandir)/man3: $(mandir)/man3
     101$(mandir)/man3: $(mandir)
    52102        mkdir -p $(mandir)/man3
    53103
    54 installdirs: $(includedir) $(bindir) $(libexecdir)
     104# Rule to make the installation directories if needed
     105
     106installdirs: $(includedir) $(bindir) $(libexecdir) $(mandir)
     107
     108# Define PHONY target "install" to make the necessary directories for
     109# the installation
    55110
    56111install: installdirs $(INSTALLTARGETS) docs
    57         cp -r docs/man/man3/* $(mandir)/man3
     112
     113# Define PHONY target "clean" to clean up the development areas for
     114# psLib
    58115
    59116clean: $(CLEANTARGETS)
    60117
     118# Define PHONY target "distclean" to clean up the distribution area for
     119# psLib
     120
    61121distclean: $(DISTCLEANTARGETS)
     122
     123# Define PHONY target "docs" to generate the Doxygen files for psLib
    62124       
    63125docs:
    64         doxygen Doxyfile
     126#       doxygen Doxyfile
     127        $(DOCS)
    65128
    66129tags:   
    67130        cd $(IPPROOT) ; etags `find . \( -name \*.[chy] -o -name \*.cpp \) -print`
     131
     132# List of PHONY targets with make file
     133.PHONY:  sysUtils
Note: See TracChangeset for help on using the changeset viewer.