1 | # |
1 | # |
2 | # $Header: /schmorpforge/xcb/Makefile.std,v 1.1 2002/10/10 10:07:02 root Exp $ |
2 | # $Header: /schmorpforge/xcb/Makefile.std,v 1.2 2002/11/25 15:30:19 root Exp $ |
3 | |
3 | |
4 | CPP = /lib/cpp |
4 | CPP = /lib/cpp |
5 | INCS = |
5 | INCS = |
6 | HDRS = cb.h patchlevel.h |
6 | HDRS = cb.h patchlevel.h |
7 | SRCS = xcb.c |
7 | SRCS = xcb.c |
8 | OBJS = xcb.o |
8 | OBJS = xcb.o |
9 | MISC = README CHANGES xcb.man Xcb.ad.base Imakefile Makefile.std |
9 | MISC = README Changes xcb.man Xcb.ad.base Imakefile Makefile.std |
10 | DISTN = $(MISC) $(SRCS) $(HDRS) |
10 | DISTN = $(MISC) $(SRCS) $(HDRS) |
11 | |
11 | |
12 | # Add your favourite compiler flags here, and select either the |
12 | # Add your favourite compiler flags here, and select either the |
13 | # Athena or Motif GUI interface. |
13 | # Athena or Motif GUI interface. |
14 | # |
14 | # |
… | |
… | |
17 | GUI = -DATHENA |
17 | GUI = -DATHENA |
18 | #GUI = -DMOTIF |
18 | #GUI = -DMOTIF |
19 | |
19 | |
20 | # These are the libraries required for linking. Select one. |
20 | # These are the libraries required for linking. Select one. |
21 | # |
21 | # |
22 | LIBS = -lXaw -lXmu -lXt -lXext -lX11 # Athena libraries |
22 | LIBS = -lXaw -lXt -lXext -lX11 # Athena libraries |
23 | #LIBS = -lXm -lXt -lX11 # Motif libraries |
23 | #LIBS = -lXm -lXt -lX11 # Motif libraries |
24 | |
24 | |
25 | all: xcb |
25 | all: xcb |
26 | |
26 | |
27 | xcb: $(OBJS) |
27 | xcb: $(OBJS) |
28 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) |
28 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) |
… | |
… | |
48 | |
48 | |
49 | shar: |
49 | shar: |
50 | shar -c -f part -p -x X $(DISTN) |
50 | shar -c -f part -p -x X $(DISTN) |
51 | |
51 | |
52 | tar: |
52 | tar: |
53 | mkdir xcb-2.3 |
53 | mkdir xcb-2.4 |
54 | cp $(DISTN) xcb-2.3 |
54 | cp $(DISTN) xcb-2.4 |
55 | tar -cf xcb-2.3.tar xcb-2.3 |
55 | tar -cf xcb-2.4.tar xcb-2.4 |
56 | gzip -9 xcb-2.3.tar |
56 | gzip -9 xcb-2.4.tar |
57 | rm -rf xcb-2.3 |
57 | rm -rf xcb-2.4 |