ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/Makefile.in
Revision: 1.2.2.2
Committed: Sun Mar 31 19:52:06 2002 UTC (22 years, 2 months ago) by root
Branch: UUDEVIEW
CVS Tags: UUDEVIEW-0-5-17
Changes since 1.2.2.1: +0 -0 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #
2     # ============================================================================
3     #
4     # This is the Makefile for the uu library, part of the uudeview package.
5     # The values here were guessed by ./configure and are probably correct.
6     #
7     # Usefull targets
8     # all Compile the package
9     # clean Deletes the binaries and objects and all the
10     # other dirty stuff.
11     #
12     # ============================================================================
13     #
14 root 1.2.2.1 # $Id: Makefile.in,v 1.5 2001/06/04 16:26:59 fp Exp $
15 root 1.1 #
16     # your make might need this
17     #
18     SHELL = /bin/sh
19     #
20     # If you don't have the GNU C compiler installed, set CC=cc here
21     #
22     CC = @CC@
23     #
24     # C Compiler Options
25     #
26     CFLAGS = @CFLAGS@ -I. @CPPFLAGS@ @DEFS@
27     #
28     # the ranlib program
29     #
30     RANLIB = @RANLIB@
31     #
32     ###############################################################################
33     # You shouldn't have to change anything below.
34     ###############################################################################
35     #
36     # Programs to compile, Manpages to install and Versions
37     #
38     VERSION = @VERSION@
39     PATCH = @PATCH@
40     VDEF = -DVERSION=\"$(VERSION)\" -DPATCH=\"$(PATCH)\"
41     #
42    
43     UULIB_SOURCE = uulib.c uucheck.c uunconc.c uuutil.c uuencode.c \
44     uuscan.c uustring.c fptools.c
45     UULIB_OBJ = ${UULIB_SOURCE:.c=.o}
46    
47     #
48     # make stuff
49     #
50    
51     .SUFFIXES:
52     .SUFFIXES: .c .o
53    
54     all: libuu.a
55    
56     clean:
57     rm -f [Xx]deview gif2gfp
58     rm -f *.o *.a *.so core *~ TAGS
59    
60     distclean: clean
61     rm -f config.status config.cache config.log Makefile config.h
62     rm -f uudeview-*tar* uudeview-sfx
63    
64     realclean: distclean
65    
66     new: clean
67     rm -f libuu.a
68     $(MAKE) all
69    
70     libuu.a: $(UULIB_OBJ)
71     rm -f $@
72     ar r $@ $(UULIB_OBJ)
73     -$(RANLIB) $@
74    
75     .c.o:
76     $(CC) -c $(CFLAGS) $(VDEF) $<
77    
78 root 1.2 uuencode.o: uuencode.c uudeview.h uuint.h uustring.h fptools.h config.h
79     uulib.o: uulib.c uudeview.h uuint.h uustring.h fptools.h config.h
80     uunconc.o: uunconc.c uudeview.h uuint.h uustring.h fptools.h config.h
81     uucheck.o: uucheck.c uudeview.h uuint.h uustring.h fptools.h config.h
82     uuutil.o: uuutil.c uudeview.h uuint.h uustring.h fptools.h config.h
83     uuscan.o: uuutil.c uudeview.h uuint.h uustring.h fptools.h config.h
84     uustring.o: uustring.c uudeview.h uuint.h uustring.h config.h
85 root 1.1 fptools.o: fptools.c fptools.h config.h
86    
87     uustring.h: uustring.c
88     awk -f uustring.awk < uustring.c > uustring.h