File: Makefile.in

package info (click to toggle)
uudeview 0.5.20-12
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 2,504 kB
  • sloc: ansic: 12,144; sh: 2,754; makefile: 357; awk: 13
file content (127 lines) | stat: -rw-r--r-- 2,934 bytes parent folder | download | duplicates (7)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
#
#
# ============================================================================
#
# This is the Makefile for the uudeview package, including the uudeview
# decoding, the uuenview encoding program, and a mini-inews that can be
# used by uuencode to post directly to the usenet.
# The values here were guessed by ./configure and are probably correct.
#
# Usefull targets
#	all		Compile the package
#	install		Install the binaries and manual pages
#	clean		Deletes the binaries and objects and all the
#			other dirty stuff.
#	tar		Packages everything neatly into a tar.gz file
#			for distribution.
#
# ============================================================================
#
# $Id: Makefile.in,v 1.2 2001/06/04 16:26:58 fp Exp $
#
# your make might need this
#
SHELL	=	/bin/sh
# 
# Source and Installation Paths
#
prefix	=	@prefix@
exec_prefix =	@exec_prefix@
srcdir =	@srcdir@
VPATH =		@srcdir@
#
# Where you want the binaries and the manual pages installed
#
BINDIR	=	@bindir@
MANDIR	=	@mandir@
DESTDIR =
#
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
#
# If you don't have the GNU C compiler installed, set CC=cc here
#
CC	=	@CC@
#
# C Compiler Options
#
CFLAGS	=	@CFLAGS@ -I@srcdir@ -I../uulib @CPPFLAGS@ @DEFS@
#
# Libraries to link and their paths
#
LIBS	=	@LDFLAGS@
#
# the ranlib program
#
RANLIB =	@RANLIB@
#
# shared library stuff, if available. not yet active. i first need to
# find someone who can really explain this to me.
#
SHLIB_CFLAGS =	@SHLIB_CFLAGS@
SHLIB_LD =	@SHLIB_LD@
SHLIB_SUFFIX =	@SHLIB_SUFFIX@
SHLIB_VERSION =	@SHLIB_VERSION@
#
###############################################################################
# You shouldn't have to change anything below.
###############################################################################
#
# Programs to compile, Manpages to install and Versions
#
VERSION	=	@VERSION@
PATCH	=	@PATCH@
VDEF	=	-DVERSION=\"$(VERSION)\" -DPATCH=\"$(PATCH)\"
#
@SET_MAKE@
#

PROGS		=	uudeview uuenview
UUDEVIEW_SOURCE	=	uudeview.c uufnflt.c
UUENVIEW_SOURCE =	uuenview.c uufnflt.c
UUDEVIEW_OBJ	=	${UUDEVIEW_SOURCE:.c=.o}
UUENVIEW_OBJ	=	${UUENVIEW_SOURCE:.c=.o}

#
# make stuff
#

.SUFFIXES:
.SUFFIXES: .c .o

all:		uudeview uuenview

clean:
	rm -f uudeview uuenview
	rm -f *.o *.a *.so core *~ TAGS

distclean:	clean
	rm -f config.status config.cache config.log Makefile config.h
	rm -f uudeview-*tar* uudeview-sfx

realclean:	distclean

install: 	all
	for d in $(PROGS) ; do \
		$(INSTALL_PROGRAM) $(srcdir)/$$d $(DESTDIR)$(BINDIR)/$$d ; \
	done

new:		clean
	rm -f uudeview uuenview
	make all

uudeview:	$(UUDEVIEW_OBJ)
	$(CC) -o $@ $(UUDEVIEW_OBJ) -L../uulib -luu $(LIBS)

uuenview:	$(UUENVIEW_OBJ)
	$(CC) -o $@ $(UUENVIEW_OBJ) -L../uulib -luu $(LIBS)

.c.o:
	$(CC) -c $(CFLAGS) $(VDEF) $<

uudeview.o:	uudeview.c config.h
uuenview.o:	uuenview.c config.h
uufnflt.o:	uufnflt.c uufnflt.h config.h