/[ascend]/trunk/base/generic/packages/Makefile.in
ViewVC logotype

Diff of /trunk/base/generic/packages/Makefile.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 140 by ben.allan, Thu Mar 3 07:19:05 2005 UTC revision 141 by johnpye, Thu Dec 22 02:16:37 2005 UTC
# Line 1  Line 1 
1  #  ASCEND external packages makefile  #  ASCEND external packages makefile
2  #  Kirk Abbott, Ben Allan  #  Kirk Abbott, Ben Allan
3  #  August 26, 1994  #  August 26, 1994
 #  $Revision: 1.9 $  
 #  $Date: 1998/02/24 21:47:34 $  
 #  $Author: ballan $  
 #  $Source: /afs/cs.cmu.edu/project/ascend/Repository/ascend4/packages/Makefile.in,v $  
 #  
4    
5  # This file builds the objects from external sources. The  # This file builds the objects from external sources. The
6  # ascend interfaces to these objects are currently built  # ascend interfaces to these objects are currently built
# Line 32  VPATH := @fullpathsrcdir@/../generic/pac Line 27  VPATH := @fullpathsrcdir@/../generic/pac
27    
28  EXECUTABLE =  EXECUTABLE =
29    
30  LIBRARY  = libpackages.a  LIBRARY  = libascpackages.a
31    
32    
33  default: $(LIBRARY)  default: $(LIBRARY)
# Line 46  DIR_SPECIFIC_INCS = Line 41  DIR_SPECIFIC_INCS =
41    
42    
43    
44  #  The next variables list the source files (EXEC_SCRS) to compile  #  The next variables list the source files (EXEC_SRCS) to compile
45  #  into the object files (EXEC_OBJS) that are linked with the  #  into the object files (EXEC_OBJS) that are linked with the
46  #  library files (EXEC_LIBS) to make EXECUTABLE  #  library files (EXEC_LIBS) to make EXECUTABLE
47    
# Line 75  include $(builddir)/ConfigAscend Line 70  include $(builddir)/ConfigAscend
70  include $(builddir)/Makefile.Rules  include $(builddir)/Makefile.Rules
71    
72    
   
 #  File specific rules  
   
 #---------------------  
 ##OLD>>>#PACKAGE_SRCS = kvalues.c bisect.c sensitivity.c  
 ##OLD>>>PACKAGE_SRCS = sensitivity.c  
 ##OLD>>>#PACKAGE_BINS = kvalues.o bisect.o sensitivity.o  
 ##OLD>>>PACKAGE_BINS = sensitivity.o  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>#  Uncomment the following only if you want to do something specific  
 ##OLD>>>#  to this directory that should override the ConfigAscend file  
 ##OLD>>>#  
 ##OLD>>>#CC =  
 ##OLD>>>#CFLAGS =  
 ##OLD>>>#SHARED_CFLAGS =  
 ##OLD>>>#LD =  
 ##OLD>>>#SHARED_LD_FLAGS =  
 ##OLD>>>#  
 ##OLD>>>#  Uncomment the above only to override the ConfigAscend file  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>#  Customize the following if required  
 ##OLD>>>INCLUDES = $(ASCINC)  
 ##OLD>>>DEPEND_INCLUDES =  
 ##OLD>>>DEFINES = $(GLOBAL_DEFS) $(MOD_ASCMALLOC)  
 ##OLD>>>ALL_CFLAGS = $(INCLUDES) $(DEFINES) $(CFLAGS)  
 ##OLD>>>DEPEND_FLAGS = $(INCLUDES) $(DEFINES)  
 ##OLD>>>LDFLAGS =  
 ##OLD>>>SYSLIBS =  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>.SUFFIXES:  
 ##OLD>>>.SUFFIXES: .c .i .o .f  
 ##OLD>>>.c.o:  
 ##OLD>>>    $(CC) $(ALL_CFLAGS) $(SHARED_CFLAGS) -c $<  
 ##OLD>>>.c.i:  
 ##OLD>>>    $(CPP) $(ALL_CFLAGS) $(SHARED_CFLAGS) $< > $@  
 ##OLD>>>.f.o:  
 ##OLD>>>    $(F77) $(F77_OPTS) $(F77FLAGS) $(SHARED_CFLAGS) -c $<  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>># This target will build both the libpackages.a archive as well  
 ##OLD>>># as dynamically loadable libraries. A user can then choose which  
 ##OLD>>># mode of operation, static or dynamic to use.  
 ##OLD>>>  
 ##OLD>>>all: libpackages.a shared_libs  
 ##OLD>>>  
 ##OLD>>>shared_libs: libkvalues.$(SHARED_ID) libbisect.$(SHARED_ID) \  
 ##OLD>>>    libsensitivity.$(SHARED_ID)  
 ##OLD>>>  
 ##OLD>>>libkvalues.$(SHARED_ID): kvalues.o  
 ##OLD>>>    $(LD) $(SHARED_LD_FLAGS) -o $@ kvalues.o  
 ##OLD>>>  
 ##OLD>>>libbisect.$(SHARED_ID): bisect.o  
 ##OLD>>>    $(LD) $(SHARED_LD_FLAGS) -o $@ bisect.o  
 ##OLD>>>  
 ##OLD>>>libsensitivity.$(SHARED_ID): sensitivity.o  
 ##OLD>>>    $(LD) $(SHARED_LD_FLAGS) -o $@ sensitivity.o  
 ##OLD>>>  
 ##OLD>>># shared libs that depend on fortran libraries require special care.  
 ##OLD>>># That care will depend on wheter the fortran sources were f2c or  
 ##OLD>>># if they are original fortran code. The order of linking is  
 ##OLD>>># *everything*.  
 ##OLD>>>#  
 ##OLD>>>libdistil.$(SHARED_ID): distillation.o nrdist_sub2.o  
 ##OLD>>>    $(LD) $(SHARED_LD_FLAGS) -o $@ distillation.o nrdist_sub2.o \  
 ##OLD>>>        $(F77LIBS) $(MATHLIBS)  
 ##OLD>>>  
 ##OLD>>># This is a nice quick and dirty way if all the sources  
 ##OLD>>># were well behaved. Unfortunately that is not the case.  
 ##OLD>>># so it sits here as an artifact of my ingenuity.  
 ##OLD>>>#  
 ##OLD>>>#BINSTUBS = kvalues distillation bisect nrdist_sub2  
 ##OLD>>>#shared_libs : $(BINSTUBS)  
 ##OLD>>>#$(BINSTUBS) : $(PACK_BINS)  
 ##OLD>>>#   $(LD) $(SHARED_LD_FLAGS) -o lib$@.$(SHARED_ID) $@.o  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>install-binaries: $(LIB_DIR)  
 ##OLD>>>#  no need to install libpackages.a since nothing uses it  
 ##OLD>>>#   $(INSTALL_DATA) $(ARCHIVE)/libpackages.a $(LIB_DIR)/libpackages.a  
 ##OLD>>>#   $(RANLIB) $(LIB_DIR)/libpackages.a  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>  
 ##OLD>>>clean mostlyclean:  
 ##OLD>>>    $(RM) $(ARCHIVE)/libpackages.a lib*.$(SHARED_ID) *.o *.i core a.out  
 ##OLD>>>  
73  # DO NOT DELETE THIS LINE -- g++dep uses it.  # DO NOT DELETE THIS LINE -- g++dep uses it.
74  # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.  # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
75    

Legend:
Removed from v.140  
changed lines
  Added in v.141

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22