ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/Makefile.in
Revision: 1.5
Committed: Fri Jul 10 01:17:08 2015 UTC (8 years, 10 months ago) by root
Branch: MAIN
CVS Tags: rel-1_5, rel-1_6, rel-1_62
Changes since 1.4: +3 -2 lines
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 #
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 # $Id$
15 #
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 crc32.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 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 safealloc.c
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 fptools.o: fptools.c fptools.h config.h
86
87 uustring.h: uustring.c
88 awk -f uustring.awk < uustring.c > uustring.h
89