Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 126872
Collapse All | Expand All

(-)urt/tools/clock/makefile.src (-1 / +1 lines)
Lines 6-12 install: rleClock Link Here
6
	mv rleClock ../rleClock.out
6
	mv rleClock ../rleClock.out
7
7
8
rleClock:rleClock.o font.o
8
rleClock:rleClock.o font.o
9
	${CC} ${CFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
9
	${CC} ${CFLAGS} ${LDFLAGS} rleClock.o font.o -lm ${LIBS} -o rleClock
10
10
11
font.c:font.src makeFont
11
font.c:font.src makeFont
12
	chmod +x makeFont
12
	chmod +x makeFont
(-)urt/tools/makefile.src (-5 / +5 lines)
Lines 62-82 applymap.out rlebg.out: $(RI)/rle_raw.h Link Here
62
pyrlib.o: pyrlib.c $(RI)/pyramid.h $(RI)/rle.h $(RI)/rle_config.h
62
pyrlib.o: pyrlib.c $(RI)/pyramid.h $(RI)/rle.h $(RI)/rle_config.h
63
	$(CC) $(CFLAGS) pyrlib.c -c
63
	$(CC) $(CFLAGS) pyrlib.c -c
64
pyrmask.out: pyrlib.o pyrmask.c $(RI)/pyramid.h
64
pyrmask.out: pyrlib.o pyrmask.c $(RI)/pyramid.h
65
	$(CC) $(CFLAGS) -I$(RI) pyrmask.c pyrlib.o $(LIBS) -lm -o pyrmask.new
65
	$(CC) $(LDFLAGS) $(CFLAGS) -I$(RI) pyrmask.c pyrlib.o $(LIBS) -lm -o pyrmask.new
66
	mv pyrmask.new pyrmask.out
66
	mv pyrmask.new pyrmask.out
67
67
68
fant.out: fant.o mallocNd.o
68
fant.out: fant.o mallocNd.o
69
	$(CC) $(CFLAGS) -I$(RI) fant.o mallocNd.o $(LIBS) -lm -o fant.new
69
	$(CC) $(LDFLAGS) $(CFLAGS) -I$(RI) fant.o mallocNd.o $(LIBS) -lm -o fant.new
70
	mv fant.new fant.out
70
	mv fant.new fant.out
71
	
71
	
72
# rlebox and crop use some common code.
72
# rlebox and crop use some common code.
73
rle_box.o: $(RI)/rle.h $(RI)/rle_config.h $(RI)/rle_raw.h
73
rle_box.o: $(RI)/rle.h $(RI)/rle_config.h $(RI)/rle_raw.h
74
74
75
crop.out: crop.c rle_box.o
75
crop.out: crop.c rle_box.o
76
	${CC} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
76
	${CC} ${LDFLAGS} ${CFLAGS} crop.c rle_box.o ${LIBS} -o crop.new
77
	mv crop.new crop.out
77
	mv crop.new crop.out
78
rlebox.out: rlebox.c rle_box.o
78
rlebox.out: rlebox.c rle_box.o
79
	${CC} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
79
	${CC} ${LDFLAGS} ${CFLAGS} rlebox.c rle_box.o ${LIBS} -o rlebox.new
80
	mv rlebox.new rlebox.out
80
	mv rlebox.new rlebox.out
81
81
82
# rleClock has it's own directory, must be built special
82
# rleClock has it's own directory, must be built special
Lines 100-106 clean: clean-pgm Link Here
100
.SUFFIXES:
100
.SUFFIXES:
101
.SUFFIXES: .out .c .o
101
.SUFFIXES: .out .c .o
102
.c.out:
102
.c.out:
103
	$(CC) $(CFLAGS) $< $(LIBS) -lm -o $*.new
103
	$(CC) $(LDFLAGS) $(CFLAGS) $< $(LIBS) -lm -o $*.new
104
	mv $*.new $@
104
	mv $*.new $@
105
105
106
.c.o:
106
.c.o:
(-)urt/cnv/makefile.src (-9 / +9 lines)
Lines 76-88 PBMDIR = Link Here
76
# ppmtorle - ppm format to RLE
76
# ppmtorle - ppm format to RLE
77
# rletoppm - RLE to ppm format
77
# rletoppm - RLE to ppm format
78
pgmtorle.out: pgmtorle.c
78
pgmtorle.out: pgmtorle.c
79
	$(CC) $(CFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
79
	$(CC) $(CFLAGS) $(LDFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
80
	mv $*.new $@
80
	mv $*.new $@
81
ppmtorle.out: ppmtorle.c
81
ppmtorle.out: ppmtorle.c
82
	$(CC) $(CFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
82
	$(CC) $(CFLAGS) $(LDFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
83
	mv $*.new $@
83
	mv $*.new $@
84
rletoppm.out: rletoppm.c
84
rletoppm.out: rletoppm.c
85
	$(CC) $(CFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
85
	$(CC) $(CFLAGS) $(LDFLAGS) $(INCPBMPLUS) $*.c $(LIBS) $(LIBPBMPLUS) -o $*.new
86
	mv $*.new $@
86
	mv $*.new $@
87
#endif
87
#endif
88
88
Lines 95-104 rletoppm.out: rletoppm.c Link Here
95
# iristorle/rletoiris - Convert between RLE and SGI image format.
95
# iristorle/rletoiris - Convert between RLE and SGI image format.
96
#
96
#
97
iristorle.out: iristorle.c
97
iristorle.out: iristorle.c
98
	$(CC) $(CFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
98
	$(CC) $(CFLAGS) $(LDFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
99
	mv $*.new $@
99
	mv $*.new $@
100
rletoiris.out: rletoiris.c
100
rletoiris.out: rletoiris.c
101
	$(CC) $(CFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
101
	$(CC) $(CFLAGS) $(LDFLAGS) -I/usr/include/gl $*.c $(LIBS) -limage -o $*.new
102
	mv $*.new $@
102
	mv $*.new $@
103
#endif
103
#endif
104
104
Lines 108-117 TIFFDIR = Link Here
108
# tifftorle - Convert TIFF images to RLE
108
# tifftorle - Convert TIFF images to RLE
109
# rletotiff - Convert RLE images to TIFF
109
# rletotiff - Convert RLE images to TIFF
110
rletotiff.out: rletotiff.c
110
rletotiff.out: rletotiff.c
111
	$(CC) $(CFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o $*.new
111
	$(CC) $(CFLAGS) $(LDFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o $*.new
112
	mv $*.new $@
112
	mv $*.new $@
113
tifftorle.out: tifftorle.c
113
tifftorle.out: tifftorle.c
114
	$(CC) $(CFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o $*.new
114
	$(CC) $(CFLAGS) $(LDFLAGS) $(INCTIFF) $*.c $(LIBS) $(LIBTIFF) -lm -o $*.new
115
	mv $*.new $@
115
	mv $*.new $@
116
#endif
116
#endif
117
117
Lines 125-131 tifftorle.out: tifftorle.c Link Here
125
# Will build with the default rule.
125
# Will build with the default rule.
126
# rletorla - RLE to Wavefront RLA
126
# rletorla - RLE to Wavefront RLA
127
rletorla.out: rletorla.c
127
rletorla.out: rletorla.c
128
	$(CC) $(CFLAGS) $*.c $(LIBS) $(LIBWAVEFRONT) -lm -o $*.new
128
	$(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBS) $(LIBWAVEFRONT) -lm -o $*.new
129
	mv $*.new $@
129
	mv $*.new $@
130
#endif WAVEFRONT
130
#endif WAVEFRONT
131
131
Lines 144-150 pristine: pristine-pgm Link Here
144
.SUFFIXES:
144
.SUFFIXES:
145
.SUFFIXES: .out .c
145
.SUFFIXES: .out .c
146
.c.out:
146
.c.out:
147
	$(CC) $(CFLAGS) $*.c $(LIBS) -lm -o $*.new
147
	$(CC) $(CFLAGS) $(LDFLAGS) $*.c $(LIBS) -lm -o $*.new
148
	mv $*.new $@
148
	mv $*.new $@
149
149
150
# Dependency lines.  Make sure to #ifdef them.
150
# Dependency lines.  Make sure to #ifdef them.
(-)urt/cnv/rletoabA62/makefile.src (-1 / +1 lines)
Lines 15-21 all : $(PGMS) Link Here
15
# Executables.  The .out will be stripped off in the install action.
15
# Executables.  The .out will be stripped off in the install action.
16
16
17
rletoabA62.out	:	rletoabA62.o rle.o
17
rletoabA62.out	:	rletoabA62.o rle.o
18
			$(CC) $(CFLAGS) -o rletoabA62.new \
18
			$(CC) $(CFLAGS) $(LDFLAGS) -o rletoabA62.new \
19
			  rletoabA62.o rle.o $(LIBS)
19
			  rletoabA62.o rle.o $(LIBS)
20
			mv rletoabA62.new rletoabA62.out
20
			mv rletoabA62.new rletoabA62.out
21
21
(-)urt/cnv/rletogif/makefile.src (-1 / +1 lines)
Lines 15-21 all: $(PGMS) Link Here
15
# The executable.  The ".out" will be stripped off in the install action.
15
# The executable.  The ".out" will be stripped off in the install action.
16
16
17
rletogif.out: ${OBJ}
17
rletogif.out: ${OBJ}
18
	${CC} ${CFLAGS} ${OBJ} ${LIBS} -o rletogif.new
18
	${CC} ${CFLAGS} ${LDFLAGS} ${OBJ} ${LIBS} -o rletogif.new
19
	mv rletogif.new rletogif.out
19
	mv rletogif.new rletogif.out
20
20
21
# Incremental install, copies executable to DEST dir.
21
# Incremental install, copies executable to DEST dir.

Return to bug 126872