ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/xcb/Makefile.std
Revision: 1.2
Committed: Mon Nov 25 15:30:19 2002 UTC (21 years, 7 months ago) by root
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +9 -9 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 #
2 # $Header: /cvsroot/xcb/Makefile.std,v 1.1 2002/10/10 10:07:02 root Exp $
3
4 CPP = /lib/cpp
5 INCS =
6 HDRS = cb.h patchlevel.h
7 SRCS = xcb.c
8 OBJS = xcb.o
9 MISC = README Changes xcb.man Xcb.ad.base Imakefile Makefile.std
10 DISTN = $(MISC) $(SRCS) $(HDRS)
11
12 # Add your favourite compiler flags here, and select either the
13 # Athena or Motif GUI interface.
14 #
15 CFLAGS = $(INCS) -O $(GUI) # -DXVIEW
16 LDFLAGS =
17 GUI = -DATHENA
18 #GUI = -DMOTIF
19
20 # These are the libraries required for linking. Select one.
21 #
22 LIBS = -lXaw -lXt -lXext -lX11 # Athena libraries
23 #LIBS = -lXm -lXt -lX11 # Motif libraries
24
25 all: xcb
26
27 xcb: $(OBJS)
28 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
29
30 Xcb.ad: Xcb.ad.base
31 $(CPP) -P Xcb.ad.base $(GUI) > $@ # -P removes line directives.
32
33 # You will need to check and possibly adjust the target
34 # directories for these install rules.
35 #
36 install: xcb Xcb.ad
37 install -c xcb /usr/bin/X11
38 install -c -m 0644 -o bin -g bin Xcb.ad /usr/lib/X11/app-defaults/Xcb
39
40 install.man:
41 install -c -m 0644 -o bin -g bin xcb.man /usr/share/man/mrd/man1/xcb.1
42
43 clean clobber:
44 rm -f *.o xcb
45
46 tags ctags: $(HDRS) $(SRCS)
47 ctags -tw $(HDRS) $(SRCS)
48
49 shar:
50 shar -c -f part -p -x X $(DISTN)
51
52 tar:
53 mkdir xcb-2.4
54 cp $(DISTN) xcb-2.4
55 tar -cf xcb-2.4.tar xcb-2.4
56 gzip -9 xcb-2.4.tar
57 rm -rf xcb-2.4