Debian Codegraph @

nemesis/forbind/Makefile.standalone

raw
1 # Copyright (c) 1998 Sandia Corporation. Under the terms of Contract
2 # DE-AC04-94AL85000 with Sandia Corporation, the U.S. Governement
3 # retains certain rights in this software.
4 #
5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are
7 # met:
8 #
9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer.
11 #
12 # * Redistributions in binary form must reproduce the above
13 # copyright notice, this list of conditions and the following
14 # disclaimer in the documentation and/or other materials provided
15 # with the distribution.
16 #
17 # * Neither the name of Sandia Corporation nor the names of its
18 # contributors may be used to endorse or promote products derived
19 # from this software without specific prior written permission.
20 #
21 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
24 # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
25 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
27 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
31 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 #
33
34 INCLUDES = -I..
35 F77EXTRAOPTIONS = -I..
36
37 SRCS = ne_jack.c
38
39 SRCSF = addrwrpn.F
40
41 OBJS = ${SRCS:.c=.o} ${SRCSF:.F=.o}
42
43 ne_jack.c: ne_jack.src fortc1.sed fortc2.sed common.m4 $(OS_TYPE).m4
44 ./fortc -P $(BITS) -L . -O $(OS_TYPE) ne_jack.src > $@
45
46 all:: libnemIf.a
47 libnemIf.a: $(OBJS)
48 $(AR) $@ $?
49 $(RANLIB) $@
50 cp libnemIf.a ..
51
52 clean::
53 rm -f *.c addrwrpn.f
54
55 clean::
56 rm -f *.CKP *.ln *.BAK *.bak *.o *.M *.mod core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut "#"*
57
58 .SUFFIXES: .c .F .f
59 .c.o:
60 $(CC) -c -I.. $(CFLAGS) $*.c
61 .f.o:
62 $(FC) -c $(FFLAGS) $*.f
63 .F.o:
64 $(FC) -c -I.. $(DEFINES) $(FFLAGS) $*.F
65
66 # ----------------------------------------------------------------------
67 # dependencies generated by makedepend or sfmakedepend
68