IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 6, 2004, 1:25:19 PM (22 years ago)
Author:
evanalst
Message:

Update to build both static and dynamic libraries.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/Makefile

    r579 r596  
    33##  Makefile:  psLib
    44##
    5 ##  $Revision: 1.6 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-05-05 20:46:25 $
     5##  $Revision: 1.7 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-05-06 23:25:19 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3434ALLTARGETS = sysUtils collections
    3535
     36TARGET_DYNAMIC = libpslib.$(DLL)
     37TARGET_STATIC = libpslib.a
     38
    3639# Define the installation targets
    3740
     
    4851# Define PHONY target "all" which will make all necessary items
    4952
    50 all:    $(ALLTARGETS) 
     53all:    $(ALLTARGETS)
     54        $(BUILD_DYNAMIC1) $(TARGET_STATIC) $(BUILD_DYNAMIC2) $(TARGET_DYNAMIC)
    5155        @echo ""
    5256        @echo "    ---- All targets built successfully $(VERSION) ----"
     
    126130install: installdirs $(INSTALLTARGETS) docs
    127131        install *.h $(includedir)
     132        install $(TARGET_STATIC) $(libexecdir)
     133        install $(TARGET_DYNAMIC) $(libexecdir)
    128134
    129135# Define PHONY target "clean" to clean up the development areas for
     
    131137
    132138clean: $(CLEANTARGETS)
     139        $(RM) -f $(TARGET_STATIC)
     140        $(RM) -f $(TARGET_DYNAMIC)
    133141
    134142# Define PHONY target "distclean" to clean up the distribution area for
     
    136144
    137145distclean: $(DISTCLEANTARGETS)
     146        $(RM) -f $(libexecdir)/$(TARGET_STATIC)
     147        $(RM) -f $(libexecdir)/$(TARGET_DYNAMIC)
    138148
    139149# Define PHONY target "docs" to generate the Doxygen files for psLib
Note: See TracChangeset for help on using the changeset viewer.