File: Makefile.in

package info (click to toggle)
uucp 1.06.1-9
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 4,000 kB
  • ctags: 2,994
  • sloc: ansic: 52,080; sh: 3,837; makefile: 634; perl: 199
file content (69 lines) | stat: -rw-r--r-- 1,748 bytes parent folder | download | duplicates (4)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# This is the Makefile for the lib subdirectory of Taylor UUCP
#
# The file Makefile.in should be processed by configure to generate
# Makefile.  If you want to generate Makefile by hand, you must find
# all variables surrounded by @ and replace them with the correct
# value (e.g. @CC@ must be replaced by something like cc or gcc).

SHELL=/bin/sh

# These are overridden by the call from the top level Makefile
CC = @CC@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
AR = @AR@
RANLIB = @RANLIB@

srcdir = @srcdir@
VPATH = @srcdir@

MORECFLAGS = -I.. -I$(srcdir)/..

OBJS = buffer.o crc.o debug.o escape.o getopt.o getop1.o parse.o spool.o \
	status.o xfree.o xmall.o xreall.o \
	@LIBOBJS@

all: libuucp.a

clean:
	rm -f $(OBJS) libuucp.a

distclean: clean
	rm -f Makefile

mostlyclean: clean
maintainer-clean realclean: distclean

libuucp.a: $(OBJS)
	rm -f libuucp.a
	$(AR) rc libuucp.a $(OBJS)
	-$(RANLIB) libuucp.a

.c.o:
	$(CC) -c $(MORECFLAGS) $(CPPFLAGS) $(CFLAGS) $<

dist:
	mkdir ../uucp-$(VERSION)/lib
	ln `cat $(srcdir)/MANIFEST | sed -e 's|^|$(srcdir)/|'` ../uucp-$(VERSION)/lib

Makefile: Makefile.in
	cd .. && CONFIG_FILES=lib/Makefile CONFIG_HEADERS= $(SHELL) ./config.status

# Header file dependencies.

$(OBJS): $(srcdir)/../uucp.h ../config.h $(srcdir)/../policy.h

buffer.o: $(srcdir)/../uudefs.h
crc.o: $(srcdir)/../prot.h
debug.o: $(srcdir)/../uudefs.h
escape.o: $(srcdir)/../uudefs.h
getopt.o: $(srcdir)/../getopt.h $(srcdir)/../uudefs.h
getop1.o: $(srcdir)/../getopt.h
parse.o: $(srcdir)/../uudefs.h
spool.o: $(srcdir)/../uudefs.h
status.o: $(srcdir)/../uudefs.h
xfree.o: $(srcdir)/../uudefs.h
xmall.o: $(srcdir)/../uudefs.h
xreall.o: $(srcdir)/../uudefs.h

.PHONY: all clean distclean mostlyclean maintainer-clean realclean dist