ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/Makefile.in
Revision: 1.1
Committed: Mon Jun 11 19:48:57 2001 UTC (23 years ago) by root
Branch: MAIN
Log Message:
*** empty log message ***

File Contents

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