Makefile 7.31 KB
Newer Older
Per Cederqvist's avatar
Per Cederqvist committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#
# Makefile for libisc
#
# Copyright (c) 1992 Peter Eriksson and Per Cederqvist of the
#                    Lysator Academic Computer Association.
#
INSTROOT=/usr/local
#
LIBDIR=$(INSTROOT)/lib
INCDIR=$(INSTROOT)/include
#
INCLUDES=-I$(HOME)/include -I/usr/local/include
CC=gcc
CFLAGS=-g -O -I. -pipe -Wall -ansi $(INCLUDES)
#
SOURCES=isc_event.c isc_session.c isc_abort.c isc_alloc.c isc_master.c\
        isc_output.c isc_queue.c isc_message.c isc_handler.c\
        isc_stdout.c isc_socket.c isc_tcp.c isc_udp.c printf.c
OBJECTS=isc_event.o isc_session.o isc_abort.o isc_alloc.o isc_master.o\
        isc_output.o isc_queue.o isc_message.o isc_handler.o\
        isc_stdout.o isc_socket.o isc_tcp.o isc_udp.o printf.o


all: 		libisc.a

install:	$(LIBDIR)/libisc.a $(INCDIR)/isc.h

$(LIBDIR)/libisc.a: libisc.a
	cp libisc.a $(LIBDIR)
	ranlib $(LIBDIR)/libisc.a

$(INCDIR)/isc.h:    isc.h
	cp isc.h $(INCDIR)

tags:
	etags -t *.[hc]

depend:
	gmkdep $(INCLUDES) $(SOURCES)


clean:
	rm -f *~ *.o libisc.a core \#*\#


libisc.a: 	$(OBJECTS)
	touch libisc.a
	rm -f libisc.a
	ar q libisc.a $(OBJECTS)
	ranlib libisc.a

# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.

isc_event.o : isc_event.c /usr/include/stdio.h \
  /usr/gnu/lib/gcc-include/stdarg.h /usr/local/include/stdlib.h \
  /usr/include/time.h /usr/include/sys/stdtypes.h /usr/include/sys/types.h \
  /usr/include/sys/sysmacros.h /usr/include/sys/time.h /usr/include/errno.h \
  /usr/include/sys/errno.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
  /usr/include/string.h isc.h /usr/include/sys/socket.h intern.h 
isc_session.o : isc_session.c /usr/include/sys/types.h \
  /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h \
  /usr/include/errno.h /usr/include/sys/errno.h /usr/local/include/stdlib.h \
  /home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/string.h \
  /usr/include/fcntl.h /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
  isc.h /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
  /usr/include/sys/socket.h intern.h 
isc_abort.o : isc_abort.c /usr/include/stdio.h /usr/local/include/stdlib.h \
  /home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
  isc.h /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
  /usr/include/sys/types.h /usr/include/sys/sysmacros.h \
  /usr/include/sys/socket.h intern.h 
isc_alloc.o : isc_alloc.c /usr/local/include/stdlib.h \
  /home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
  /usr/include/string.h isc.h /usr/include/time.h \
  /usr/gnu/lib/gcc-include/stdarg.h /usr/include/sys/types.h \
  /usr/include/sys/sysmacros.h /usr/include/sys/socket.h intern.h 
isc_master.o : isc_master.c /usr/include/errno.h /usr/include/sys/errno.h \
  /usr/local/include/stdlib.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
  /usr/include/sys/stdtypes.h /usr/include/sys/file.h \
  /usr/include/sys/types.h /usr/include/sys/sysmacros.h \
  /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h isc.h \
  /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
  /usr/include/sys/socket.h intern.h 
isc_output.o : isc_output.c /usr/local/include/stdlib.h \
  /home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
  /usr/include/errno.h /usr/include/sys/errno.h /usr/include/string.h \
  /usr/include/sys/file.h /usr/include/sys/types.h \
  /usr/include/sys/sysmacros.h /usr/include/sys/fcntlcom.h \
  /usr/include/sys/stat.h isc.h /usr/include/time.h \
  /usr/gnu/lib/gcc-include/stdarg.h /usr/include/sys/socket.h intern.h 
isc_queue.o : isc_queue.c /usr/local/include/stdlib.h \
  /home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
  isc.h /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h \
  /usr/include/sys/types.h /usr/include/sys/sysmacros.h \
  /usr/include/sys/socket.h intern.h 
isc_message.o : isc_message.c /usr/local/include/stdlib.h \
  /home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/sys/stdtypes.h \
  /usr/include/string.h isc.h /usr/include/time.h \
  /usr/gnu/lib/gcc-include/stdarg.h /usr/include/sys/types.h \
  /usr/include/sys/sysmacros.h /usr/include/sys/socket.h intern.h 
isc_stdout.o : isc_stdout.c /usr/gnu/lib/gcc-include/stdarg.h \
  /usr/include/string.h /usr/include/sys/stdtypes.h isc.h /usr/include/time.h \
  /usr/include/sys/types.h /usr/include/sys/sysmacros.h \
  /usr/include/sys/socket.h 
isc_socket.o : isc_socket.c /usr/include/stdio.h \
  /usr/gnu/lib/gcc-include/stdarg.h /usr/local/include/stdlib.h \
  /usr/include/time.h /usr/include/sys/stdtypes.h /usr/include/sys/types.h \
  /usr/include/sys/sysmacros.h /usr/include/sys/time.h \
  /usr/include/netinet/in.h /usr/include/sys/socket.h \
  /usr/local/include/arpa/inet.h /usr/include/sys/file.h \
  /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
  /usr/include/sys/ioctl.h /usr/gnu/lib/gcc-include/sys/ttychars.h \
  /usr/include/sys/ttydev.h /usr/gnu/lib/gcc-include/sys/ttold.h \
  /usr/gnu/lib/gcc-include/sys/ioccom.h /usr/gnu/lib/gcc-include/sys/ttycom.h \
  /usr/gnu/lib/gcc-include/sys/filio.h /usr/gnu/lib/gcc-include/sys/sockio.h \
  /usr/include/errno.h /usr/include/sys/errno.h /usr/local/include/netdb.h \
  /home/kolix2/elev/d89/d89peter/include/stddef.h /usr/include/string.h \
  /usr/include/fcntl.h isc.h intern.h 
isc_tcp.o : isc_tcp.c /usr/include/errno.h /usr/include/sys/errno.h \
  /usr/local/include/stdlib.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
  /usr/include/sys/stdtypes.h /usr/include/ctype.h /usr/include/sys/types.h \
  /usr/include/sys/sysmacros.h /usr/include/sys/socket.h \
  /usr/include/netinet/in.h /usr/local/include/arpa/inet.h \
  /usr/include/sys/file.h /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
  /usr/include/sys/ioctl.h /usr/gnu/lib/gcc-include/sys/ttychars.h \
  /usr/include/sys/ttydev.h /usr/gnu/lib/gcc-include/sys/ttold.h \
  /usr/gnu/lib/gcc-include/sys/ioccom.h /usr/gnu/lib/gcc-include/sys/ttycom.h \
  /usr/gnu/lib/gcc-include/sys/filio.h /usr/gnu/lib/gcc-include/sys/sockio.h \
  /usr/local/include/netdb.h /usr/include/string.h /usr/include/fcntl.h isc.h \
  /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h intern.h 
isc_udp.o : isc_udp.c /usr/include/sys/types.h /usr/include/sys/stdtypes.h \
  /usr/include/sys/sysmacros.h /usr/include/errno.h /usr/include/sys/errno.h \
  /usr/local/include/stdlib.h /home/kolix2/elev/d89/d89peter/include/stddef.h \
  /usr/include/ctype.h /usr/include/netinet/in.h /usr/include/sys/socket.h \
  /usr/local/include/arpa/inet.h /usr/include/sys/file.h \
  /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h \
  /usr/include/sys/ioctl.h /usr/gnu/lib/gcc-include/sys/ttychars.h \
  /usr/include/sys/ttydev.h /usr/gnu/lib/gcc-include/sys/ttold.h \
  /usr/gnu/lib/gcc-include/sys/ioccom.h /usr/gnu/lib/gcc-include/sys/ttycom.h \
  /usr/gnu/lib/gcc-include/sys/filio.h /usr/gnu/lib/gcc-include/sys/sockio.h \
  /usr/local/include/netdb.h /usr/include/string.h /usr/include/fcntl.h isc.h \
  /usr/include/time.h /usr/gnu/lib/gcc-include/stdarg.h intern.h 
printf.o : printf.c /usr/include/sys/types.h /usr/include/sys/stdtypes.h \
  /usr/include/sys/sysmacros.h /usr/gnu/lib/gcc-include/varargs.h \
  /usr/gnu/lib/gcc-include/va-sparc.h /usr/include/stdio.h \
  /usr/include/ctype.h /usr/include/string.h /usr/local/include/stdlib.h \
  /usr/include/math.h /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h 

# IF YOU PUT ANYTHING HERE IT WILL GO AWAY