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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Thu Dec 23 18:07:19 2004 UTC (15 years, 2 months ago) by aw0a
File size: 5051 byte(s)
updating configure.in - still not correct
1 # ASCEND external packages makefile
2 # Kirk Abbott, Ben Allan
3 # August 26, 1994
4 # $Revision: 1.9 $
5 # $Date: 1998/02/24 21:47:34 $
6 # $Author: ballan $
7 # $Source: /afs/cs.cmu.edu/project/ascend/Repository/ascend4/packages/Makefile.in,v $
8 #
9
10 # This file builds the objects from external sources. The
11 # ascend interfaces to these objects are currently built
12 # in the compiler, though they should probably be built here
13 # as well. Since that is the case, this file assumes libpackages.a
14 # exists in ../archive and adds the external objects to it.
15 # This means this directory should be remade anytime libpackages.a
16 # is remade via the compiler.
17 #
18 # Eventually this should also be the home to the BLAS files that
19 # are common to minos, lsode, etc.
20
21
22 SHELL = /bin/sh
23 builddir = ..
24 srcdir = @srcdir@/../generic
25 VPATH = @srcdir@/../generic
26
27
28
29 # The next variables are the primary executables and/or libraries that
30 # this makefile is responsible for, and the default target of this
31 # makefile.
32
33 EXECUTABLE =
34
35 LIBRARY = libpackages.a
36
37
38 default: $(LIBRARY)
39
40
41
42 # Defines and Includes that are specific to this directory
43
44 DIR_SPECIFIC_DEFS = $(HAVE_PACKAGES)
45 DIR_SPECIFIC_INCS =
46
47
48
49 # The next variables list the source files (EXEC_SCRS) to compile
50 # into the object files (EXEC_OBJS) that are linked with the
51 # library files (EXEC_LIBS) to make EXECUTABLE
52
53 EXEC_SRCS =
54
55 EXEC_OBJS =
56
57 EXEC_LIBS =
58
59
60
61 # The next variables list the source files (LIB_SCRS) to compile
62 # into the object files (LIB_OBJS) that are combined to make LIBRARY
63
64 LIB_SRCS = \
65 sensitivity.c ascFreeAllVars.c
66
67 LIB_OBJS = \
68 sensitivity.o ascFreeAllVars.o
69
70
71
72 # The global makefile macros (ConfigAscend) and global rules (Makefile.Rules)
73 #
74 include $(builddir)/ConfigAscend
75 include $(builddir)/Makefile.Rules
76
77
78
79 # File specific rules
80
81 #---------------------
82 ##OLD>>>#PACKAGE_SRCS = kvalues.c bisect.c sensitivity.c
83 ##OLD>>>PACKAGE_SRCS = sensitivity.c
84 ##OLD>>>#PACKAGE_BINS = kvalues.o bisect.o sensitivity.o
85 ##OLD>>>PACKAGE_BINS = sensitivity.o
86 ##OLD>>>
87 ##OLD>>>
88 ##OLD>>>
89 ##OLD>>># Uncomment the following only if you want to do something specific
90 ##OLD>>># to this directory that should override the ConfigAscend file
91 ##OLD>>>#
92 ##OLD>>>#CC =
93 ##OLD>>>#CFLAGS =
94 ##OLD>>>#SHARED_CFLAGS =
95 ##OLD>>>#LD =
96 ##OLD>>>#SHARED_LD_FLAGS =
97 ##OLD>>>#
98 ##OLD>>># Uncomment the above only to override the ConfigAscend file
99 ##OLD>>>
100 ##OLD>>>
101 ##OLD>>># Customize the following if required
102 ##OLD>>>INCLUDES = $(ASCINC)
103 ##OLD>>>DEPEND_INCLUDES =
104 ##OLD>>>DEFINES = $(GLOBAL_DEFS) $(MOD_ASCMALLOC)
105 ##OLD>>>ALL_CFLAGS = $(INCLUDES) $(DEFINES) $(CFLAGS)
106 ##OLD>>>DEPEND_FLAGS = $(INCLUDES) $(DEFINES)
107 ##OLD>>>LDFLAGS =
108 ##OLD>>>SYSLIBS =
109 ##OLD>>>
110 ##OLD>>>
111 ##OLD>>>.SUFFIXES:
112 ##OLD>>>.SUFFIXES: .c .i .o .f
113 ##OLD>>>.c.o:
114 ##OLD>>> $(CC) $(ALL_CFLAGS) $(SHARED_CFLAGS) -c $<
115 ##OLD>>>.c.i:
116 ##OLD>>> $(CPP) $(ALL_CFLAGS) $(SHARED_CFLAGS) $< > $@
117 ##OLD>>>.f.o:
118 ##OLD>>> $(F77) $(F77_OPTS) $(F77FLAGS) $(SHARED_CFLAGS) -c $<
119 ##OLD>>>
120 ##OLD>>>
121 ##OLD>>>
122 ##OLD>>># This target will build both the libpackages.a archive as well
123 ##OLD>>># as dynamically loadable libraries. A user can then choose which
124 ##OLD>>># mode of operation, static or dynamic to use.
125 ##OLD>>>
126 ##OLD>>>all: libpackages.a shared_libs
127 ##OLD>>>
128 ##OLD>>>shared_libs: libkvalues.$(SHARED_ID) libbisect.$(SHARED_ID) \
129 ##OLD>>> libsensitivity.$(SHARED_ID)
130 ##OLD>>>
131 ##OLD>>>libkvalues.$(SHARED_ID): kvalues.o
132 ##OLD>>> $(LD) $(SHARED_LD_FLAGS) -o $@ kvalues.o
133 ##OLD>>>
134 ##OLD>>>libbisect.$(SHARED_ID): bisect.o
135 ##OLD>>> $(LD) $(SHARED_LD_FLAGS) -o $@ bisect.o
136 ##OLD>>>
137 ##OLD>>>libsensitivity.$(SHARED_ID): sensitivity.o
138 ##OLD>>> $(LD) $(SHARED_LD_FLAGS) -o $@ sensitivity.o
139 ##OLD>>>
140 ##OLD>>># shared libs that depend on fortran libraries require special care.
141 ##OLD>>># That care will depend on wheter the fortran sources were f2c or
142 ##OLD>>># if they are original fortran code. The order of linking is
143 ##OLD>>># *everything*.
144 ##OLD>>>#
145 ##OLD>>>libdistil.$(SHARED_ID): distillation.o nrdist_sub2.o
146 ##OLD>>> $(LD) $(SHARED_LD_FLAGS) -o $@ distillation.o nrdist_sub2.o \
147 ##OLD>>> $(F77LIBS) $(MATHLIBS)
148 ##OLD>>>
149 ##OLD>>># This is a nice quick and dirty way if all the sources
150 ##OLD>>># were well behaved. Unfortunately that is not the case.
151 ##OLD>>># so it sits here as an artifact of my ingenuity.
152 ##OLD>>>#
153 ##OLD>>>#BINSTUBS = kvalues distillation bisect nrdist_sub2
154 ##OLD>>>#shared_libs : $(BINSTUBS)
155 ##OLD>>>#$(BINSTUBS) : $(PACK_BINS)
156 ##OLD>>># $(LD) $(SHARED_LD_FLAGS) -o lib$@.$(SHARED_ID) $@.o
157 ##OLD>>>
158 ##OLD>>>
159 ##OLD>>>
160 ##OLD>>>install-binaries: $(LIB_DIR)
161 ##OLD>>># no need to install libpackages.a since nothing uses it
162 ##OLD>>># $(INSTALL_DATA) $(ARCHIVE)/libpackages.a $(LIB_DIR)/libpackages.a
163 ##OLD>>># $(RANLIB) $(LIB_DIR)/libpackages.a
164 ##OLD>>>
165 ##OLD>>>
166 ##OLD>>>
167 ##OLD>>>clean mostlyclean:
168 ##OLD>>> $(RM) $(ARCHIVE)/libpackages.a lib*.$(SHARED_ID) *.o *.i core a.out
169 ##OLD>>>
170 # DO NOT DELETE THIS LINE -- g++dep uses it.
171 # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
172
173
174 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY

Properties

Name Value
svn:executable *

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