Makefile
author tomas@localhost
Thu, 01 Nov 2007 14:46:11 +0100
changeset 0 c045670f36e9
permissions -rw-r--r--
Imported queue-fix-1.4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     1
# Don't edit Makefile! Use conf-* for configuration.
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     2
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     3
SHELL=/bin/sh
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     4
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     5
default: it
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     6
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     7
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     8
############### Begin compile-time work
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
     9
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    10
clean: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    11
TARGETS
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    12
	rm -f `cat TARGETS`
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    13
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    14
load: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    15
make-load warn-auto.sh systype
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    16
	( cat warn-auto.sh; ./make-load "`cat systype`" ) > load
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    17
	chmod 755 load
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    18
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    19
make-load: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    20
make-load.sh auto-ccld.sh
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    21
	cat auto-ccld.sh make-load.sh > make-load
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    22
	chmod 755 make-load
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    23
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    24
make-makelib: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    25
make-makelib.sh auto-ccld.sh
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    26
	cat auto-ccld.sh make-makelib.sh > make-makelib
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    27
	chmod 755 make-makelib
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    28
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    29
makelib: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    30
make-makelib warn-auto.sh systype
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    31
	( cat warn-auto.sh; ./make-makelib "`cat systype`" ) > \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    32
	makelib
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    33
	chmod 755 makelib
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    34
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    35
auto-ccld.sh: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    36
conf-cc conf-ld warn-auto.sh
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    37
	( cat warn-auto.sh; \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    38
	echo CC=\'`head -1 conf-cc`\'; \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    39
	echo LD=\'`head -1 conf-ld`\' \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    40
	) > auto-ccld.sh
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    41
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    42
make-compile: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    43
make-compile.sh auto-ccld.sh
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    44
	cat auto-ccld.sh make-compile.sh > make-compile
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    45
	chmod 755 make-compile
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    46
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    47
direntry.h: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    48
compile trydrent.c direntry.h1 direntry.h2
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    49
	( ./compile trydrent.c >/dev/null 2>&1 \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    50
	&& cat direntry.h2 || cat direntry.h1 ) > direntry.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    51
	rm -f trydrent.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    52
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    53
compile: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    54
make-compile warn-auto.sh systype
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    55
	( cat warn-auto.sh; ./make-compile "`cat systype`" ) > \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    56
	compile
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    57
	chmod 755 compile
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    58
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    59
find-systype: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    60
find-systype.sh auto-ccld.sh
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    61
	cat auto-ccld.sh find-systype.sh > find-systype
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    62
	chmod 755 find-systype
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    63
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    64
hasmkffo.h: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    65
trymkffo.c compile load
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    66
	( ( ./compile trymkffo.c && ./load trymkffo ) >/dev/null \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    67
	2>&1 \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    68
	&& echo \#define HASMKFIFO 1 || exit 0 ) > hasmkffo.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    69
	rm -f trymkffo.o trymkffo
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    70
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    71
systype: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    72
find-systype trycpp.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    73
	./find-systype > systype
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    74
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    75
############### Begin alloc
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    76
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    77
alloc.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    78
makelib alloc.o alloc_re.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    79
	./makelib alloc.a alloc.o alloc_re.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    80
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    81
alloc.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    82
compile alloc.c alloc.h error.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    83
	./compile alloc.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    84
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    85
alloc_re.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    86
compile alloc_re.c alloc.h byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    87
	./compile alloc_re.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    88
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    89
############### Begin str
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    90
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    91
byte_chr.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    92
compile byte_chr.c byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    93
	./compile byte_chr.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    94
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    95
byte_copy.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    96
compile byte_copy.c byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    97
	./compile byte_copy.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    98
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
    99
byte_cr.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   100
compile byte_cr.c byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   101
	./compile byte_cr.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   102
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   103
byte_diff.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   104
compile byte_diff.c byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   105
	./compile byte_diff.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   106
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   107
byte_rchr.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   108
compile byte_rchr.c byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   109
	./compile byte_rchr.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   110
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   111
byte_zero.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   112
compile byte_zero.c byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   113
	./compile byte_zero.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   114
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   115
str_chr.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   116
compile str_chr.c str.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   117
	./compile str_chr.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   118
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   119
str_cpy.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   120
compile str_cpy.c str.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   121
	./compile str_cpy.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   122
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   123
str_diff.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   124
compile str_diff.c str.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   125
	./compile str_diff.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   126
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   127
str_diffn.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   128
compile str_diffn.c str.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   129
	./compile str_diffn.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   130
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   131
str_len.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   132
compile str_len.c str.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   133
	./compile str_len.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   134
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   135
str_rchr.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   136
compile str_rchr.c str.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   137
	./compile str_rchr.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   138
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   139
str_start.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   140
compile str_start.c str.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   141
	./compile str_start.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   142
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   143
str.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   144
makelib str_len.o str_diff.o str_diffn.o str_cpy.o str_chr.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   145
str_rchr.o str_start.o byte_chr.o byte_rchr.o byte_diff.o byte_copy.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   146
byte_cr.o byte_zero.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   147
	./makelib str.a str_len.o str_diff.o str_diffn.o str_cpy.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   148
	str_chr.o str_rchr.o str_start.o byte_chr.o byte_rchr.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   149
	byte_diff.o byte_copy.o byte_cr.o byte_zero.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   150
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   151
############### Begin error
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   152
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   153
error.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   154
makelib error.o error_str.o error_temp.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   155
	./makelib error.a error.o error_str.o error_temp.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   156
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   157
error.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   158
compile error.c error.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   159
	./compile error.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   160
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   161
error_str.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   162
compile error_str.c error.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   163
	./compile error_str.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   164
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   165
error_temp.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   166
compile error_temp.c error.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   167
	./compile error_temp.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   168
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   169
############### Begin fifo
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   170
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   171
fifo.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   172
compile fifo.c hasmkffo.h fifo.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   173
	./compile fifo.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   174
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   175
############### Begin fs
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   176
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   177
fmt_str.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   178
compile fmt_str.c fmt.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   179
	./compile fmt_str.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   180
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   181
fmt_strn.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   182
compile fmt_strn.c fmt.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   183
	./compile fmt_strn.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   184
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   185
fmt_uint.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   186
compile fmt_uint.c fmt.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   187
	./compile fmt_uint.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   188
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   189
fmt_uint0.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   190
compile fmt_uint0.c fmt.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   191
	./compile fmt_uint0.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   192
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   193
fmt_ulong.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   194
compile fmt_ulong.c fmt.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   195
	./compile fmt_ulong.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   196
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   197
fmtqfn.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   198
compile fmtqfn.c fmtqfn.h fmt.h auto_split.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   199
	./compile fmtqfn.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   200
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   201
scan_8long.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   202
compile scan_8long.c scan.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   203
	./compile scan_8long.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   204
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   205
scan_ulong.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   206
compile scan_ulong.c scan.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   207
	./compile scan_ulong.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   208
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   209
fs.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   210
makelib fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o fmt_ulong.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   211
scan_ulong.o scan_8long.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   212
	./makelib fs.a fmt_str.o fmt_strn.o fmt_uint.o fmt_uint0.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   213
	fmt_ulong.o scan_ulong.o scan_8long.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   214
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   215
############### Begin getln
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   216
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   217
getln.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   218
makelib getln.o getln2.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   219
	./makelib getln.a getln.o getln2.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   220
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   221
getln.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   222
compile getln.c substdio.h byte.h stralloc.h gen_alloc.h getln.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   223
	./compile getln.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   224
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   225
getln2.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   226
compile getln2.c substdio.h stralloc.h gen_alloc.h byte.h getln.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   227
	./compile getln2.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   228
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   229
it: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   230
queue-fix
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   231
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   232
############### Begin open
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   233
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   234
open.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   235
makelib open_append.o open_excl.o open_read.o open_trunc.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   236
open_write.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   237
	./makelib open.a open_append.o open_excl.o open_read.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   238
	open_trunc.o open_write.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   239
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   240
open_append.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   241
compile open_append.c open.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   242
	./compile open_append.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   243
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   244
open_excl.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   245
compile open_excl.c open.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   246
	./compile open_excl.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   247
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   248
open_read.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   249
compile open_read.c open.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   250
	./compile open_read.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   251
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   252
open_trunc.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   253
compile open_trunc.c open.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   254
	./compile open_trunc.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   255
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   256
open_write.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   257
compile open_write.c open.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   258
	./compile open_write.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   259
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   260
############### Begin stralloc
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   261
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   262
stralloc.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   263
makelib stralloc_eady.o stralloc_pend.o stralloc_copy.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   264
stralloc_opys.o stralloc_opyb.o stralloc_cat.o stralloc_cats.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   265
stralloc_catb.o stralloc_arts.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   266
	./makelib stralloc.a stralloc_eady.o stralloc_pend.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   267
	stralloc_copy.o stralloc_opys.o stralloc_opyb.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   268
	stralloc_cat.o stralloc_cats.o stralloc_catb.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   269
	stralloc_arts.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   270
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   271
stralloc_arts.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   272
compile stralloc_arts.c byte.h str.h stralloc.h gen_alloc.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   273
	./compile stralloc_arts.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   274
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   275
stralloc_cat.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   276
compile stralloc_cat.c byte.h stralloc.h gen_alloc.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   277
	./compile stralloc_cat.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   278
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   279
stralloc_catb.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   280
compile stralloc_catb.c stralloc.h gen_alloc.h byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   281
	./compile stralloc_catb.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   282
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   283
stralloc_cats.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   284
compile stralloc_cats.c byte.h str.h stralloc.h gen_alloc.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   285
	./compile stralloc_cats.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   286
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   287
stralloc_copy.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   288
compile stralloc_copy.c byte.h stralloc.h gen_alloc.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   289
	./compile stralloc_copy.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   290
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   291
stralloc_eady.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   292
compile stralloc_eady.c alloc.h stralloc.h gen_alloc.h \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   293
gen_allocdefs.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   294
	./compile stralloc_eady.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   295
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   296
stralloc_opyb.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   297
compile stralloc_opyb.c stralloc.h gen_alloc.h byte.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   298
	./compile stralloc_opyb.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   299
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   300
stralloc_opys.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   301
compile stralloc_opys.c byte.h str.h stralloc.h gen_alloc.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   302
	./compile stralloc_opys.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   303
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   304
stralloc_pend.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   305
compile stralloc_pend.c alloc.h stralloc.h gen_alloc.h \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   306
gen_allocdefs.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   307
	./compile stralloc_pend.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   308
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   309
############### Begin substdio
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   310
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   311
subfderr.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   312
compile subfderr.c readwrite.h substdio.h subfd.h substdio.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   313
	./compile subfderr.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   314
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   315
subfdin.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   316
compile subfdin.c readwrite.h substdio.h subfd.h substdio.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   317
	./compile subfdin.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   318
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   319
subfdins.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   320
compile subfdins.c readwrite.h substdio.h subfd.h substdio.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   321
	./compile subfdins.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   322
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   323
subfdout.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   324
compile subfdout.c readwrite.h substdio.h subfd.h substdio.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   325
	./compile subfdout.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   326
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   327
subfdouts.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   328
compile subfdouts.c readwrite.h substdio.h subfd.h substdio.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   329
	./compile subfdouts.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   330
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   331
subgetopt.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   332
compile subgetopt.c subgetopt.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   333
	./compile subgetopt.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   334
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   335
substdi.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   336
compile substdi.c substdio.h byte.h error.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   337
	./compile substdi.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   338
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   339
substdio.a: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   340
makelib substdio.o substdi.o substdo.o subfderr.o subfdout.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   341
subfdouts.o subfdin.o subfdins.o substdio_copy.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   342
	./makelib substdio.a substdio.o substdi.o substdo.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   343
	subfderr.o subfdout.o subfdouts.o subfdin.o subfdins.o \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   344
	substdio_copy.o
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   345
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   346
substdio.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   347
compile substdio.c substdio.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   348
	./compile substdio.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   349
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   350
substdio_copy.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   351
compile substdio_copy.c substdio.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   352
	./compile substdio_copy.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   353
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   354
substdo.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   355
compile substdo.c substdio.h str.h byte.h error.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   356
	./compile substdo.c
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   357
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   358
############### Begin queue-fix
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   359
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   360
queue-fix: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   361
load queue-fix.o fifo.o fs.a stralloc.a getln.a open.a error.a \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   362
substdio.a alloc.a str.a
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   363
	./load queue-fix fifo.o fs.a stralloc.a getln.a open.a error.a \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   364
	substdio.a alloc.a str.a
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   365
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   366
queue-fix.o: \
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   367
compile queue-fix.c direntry.h hasmkffo.h
c045670f36e9 Imported queue-fix-1.4
tomas@localhost
parents:
diff changeset
   368
	./compile queue-fix.c