File: Makefile.in

package info (click to toggle)
dump 0.4b41-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,416 kB
  • ctags: 1,987
  • sloc: ansic: 17,610; sh: 3,185; makefile: 210; sed: 5
file content (55 lines) | stat: -rw-r--r-- 1,419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# $Id: Makefile.in,v 1.13 2005/05/02 15:10:46 stelian Exp $

top_srcdir=	@top_srcdir@
srcdir=		@srcdir@
top_builddir=	..

@MCONFIG@

INC=		-I$(top_srcdir)/restore
ALL_CFLAGS=	@CPPFLAGS@ @CFLAGS@ @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS) @RESTOREDEBUG@
ALL_LDFLAGS=	@LDFLAGS@ @LDOPTS@ @STATIC@
LIBS=		$(GLIBS) -le2p @READLINE@ @ZLIB@ @BZLIB@
DEPLIBS=	../compat/lib/libcompat.a

PROG=		restore
RPROG=		rrestore
LINKS=		${SBINDIR}/restore ${SBINDIR}/rrestore
SRCS=		dirs.c interactive.c main.c restore.c symtab.c tape.c \
		utilities.c xattr.c
OBJS=		dirs.o interactive.o main.o restore.o symtab.o tape.o \
		utilities.o xattr.o ../common/dumprmt.o
MAN8=		restore.8
RMAN8=		rrestore.8

.c.o:
	$(CC) -c $(ALL_CFLAGS) $< -o $@

all::		$(PROG) $(MAN8)

$(PROG):	$(OBJS) $(DEPLIBS)
	$(CC) $(ALL_LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)

$(MAN8):	restore.8.in
	sed -e "s|__DATE__|$(DATE)|g" \
	    -e "s|__VERSION__|$(VERSION)|g" $< > $@

install::	all
	$(INSTALL) -d $(SBINDIR) $(MANDIR)
	$(INSTALLBIN) $(PROG) $(SBINDIR)
	$(INSTALLMAN) $(MAN8) $(MANDIR)
	cd $(SBINDIR) && $(RM) -f $(RPROG) && $(LN_S) $(PROG) $(RPROG)
	cd $(MANDIR) && $(RM) -f $(RMAN8) && $(LN_S) $(MAN8) $(RMAN8)

clean::
	$(RM) -f $(PROG) $(MAN8) \#* *.s *.o *.a *~ core

distclean::	clean
	$(RM) -f Makefile Makefile.old .depend

# +++ Dependency line eater +++
# 
# Makefile dependencies follow.  This must be the last section in
# the Makefile.in file
#