ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/Makefile.in
Revision: 1.8
Committed: Sat Sep 24 07:35:02 2022 UTC (20 months, 1 week ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +2 -2 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.5 # $Id$
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 root 1.4 uuscan.c uustring.c fptools.c crc32.c
45 root 1.7 #UULIB_OBJ = ${UULIB_SOURCE:.c=.o}
46     UULIB_OBJ = uuall.o
47 root 1.1
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 root 1.8 uuall.o: $(UULIB_SOURCE)
77     uuall.o: fptools.h config.h ecb.h uudeview.h uuint.h uustring.h
78 root 1.7
79     uuall.o: uuall.c
80 root 1.1 $(CC) -c $(CFLAGS) $(VDEF) $<
81    
82 root 1.7 #uuencode.o: uuencode.c uudeview.h uuint.h uustring.h fptools.h config.h ecb.h
83     #uulib.o: uulib.c uudeview.h uuint.h uustring.h fptools.h config.h safealloc.c ecb.h
84     #uunconc.o: uunconc.c uudeview.h uuint.h uustring.h fptools.h config.h ecb.h
85     #uucheck.o: uucheck.c uudeview.h uuint.h uustring.h fptools.h config.h ecb.h
86     #uuutil.o: uuutil.c uudeview.h uuint.h uustring.h fptools.h config.h ecb.h
87     #uuscan.o: uuutil.c uudeview.h uuint.h uustring.h fptools.h config.h ecb.h
88     #uustring.o: uustring.c uudeview.h uuint.h uustring.h config.h ecb.h
89     #fptools.o: fptools.c fptools.h config.h ecb.h
90     #crc32.o: ecb.h
91 root 1.1
92     uustring.h: uustring.c
93     awk -f uustring.awk < uustring.c > uustring.h
94 root 1.5