"Fossies" - the Fresh Open Source Software Archive 
Member "memtime-1.3/Makefile.in" (25 May 2000, 2415 Bytes) of package /linux/misc/old/memtime-1.3.tar.gz:
As a special service "Fossies" has tried to format the requested text file into HTML format (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 # -*- mode: Makefile; -*-
2 ##############################################################################
3 #
4 # Copyright (c) 2000, Johan Bengtsson
5 #
6 # Permission is hereby granted, free of charge, to any person obtaining a
7 # copy of this software and associated documentation files (the "Software"),
8 # to deal in the Software without restriction, including without limitation
9 # the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 # and/or sell copies of the Software, and to permit persons to whom the
11 # Software is furnished to do so, subject to the following conditions:
12 # The above copyright notice and this permission notice shall be included in
13 # all copies or substantial portions of the Software.
14 #
15 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21 # DEALINGS IN THE SOFTWARE.
22 #
23 ##############################################################################
24
25 # Programs to use.
26 CC = @CC@
27 LD = $(CC)
28 INSTALL = @INSTALL@
29
30 # Options passed to the compiler and linker.
31 EXTRAFLAGS = -Wall
32 EXTRALDFLAGS =
33 DEFS =
34
35 # Where to find extra include files.
36 INCDIR =
37
38 # Extra libraries.
39 LIBS =
40
41 # The name of the executable.
42 PROG = memtime
43
44 # Source files.
45 SRCS = memtime.c @MACHDEP@
46
47 # ---- No changes are needed below this line ----
48
49 prefix = @prefix@
50 exec_prefix=@exec_prefix@
51 bindir = @bindir@
52 mandir = @mandir@
53 srcdir = @srcdir@
54
55 CFLAGS = @CFLAGS@ $(EXTRAFLAGS)
56 CPPFLAGS = $(INCDIR) $(DEFS) @CPPFLAGS@
57 LDFLAGS = $(EXTRALDFLAGS) @LDFLAGS@
58
59 VPATH=@srcdir@
60
61 EXE=$(PROG)@EXEEXT@
62
63 OBJS= $(addsuffix .@OBJEXT@,$(basename $(SRCS)))
64 DEPS= $(addsuffix .d,$(basename $(SRCS)))
65
66 %.d: %.c
67 $(CC) -MM $(CPPFLAGS) $< | sed -e "s/$*\.@OBJEXT@/$*.@OBJEXT@ $@/" > $@
68
69 $(EXE): $(OBJS)
70 $(LD) $(LDFLAGS) -o $(EXE) $(OBJS) $(LIBS)
71
72 clean:
73 rm -f *.@OBJEXT@ core *~ *.bak
74
75 mostclean: clean
76 rm -f $(EXE) *.d
77
78 all: $(EXE)
79
80 install: all
81 $(INSTALL) -d $(bindir) $(mandir)/man1
82 $(INSTALL) $(EXE) $(bindir)
83 $(INSTALL) @srcdir@/$(PROG).1 $(mandir)/man1
84
85 .PHONY: clean mostclean install
86
87 include $(DEPS)
88