File: Makefile.in

package info (click to toggle)
xloadimage 4.1-27
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,880 kB
  • sloc: ansic: 36,063; makefile: 306; asm: 284; sh: 144
file content (56 lines) | stat: -rw-r--r-- 1,363 bytes parent folder | download | duplicates (2)
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
CC = @CC@
DEFS = @DEFS@ -DSYSPATHFILE=\"/etc/X11/Xloadimage\"
CPPFLAGS = @CPPFLAGS@
CPPFLAGS += ${DEFS}
CFLAGS = @CFLAGS@
XLIB = @X_LIBS@ -lX11 @X_EXTRA_LIBS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@

SRCS = bright.c clip.c cmuwmraster.c compress.c config.c \
dither.c faces.c fbm.c fill.c gif.c halftone.c imagetypes.c img.c jpeg.c \
mac.c mc_tables.c mcidas.c merge.c misc.c new.c niff.c options.c \
pbm.c pcx.c pdsuncomp.c reduce.c rle.c rlelib.c root.c rotate.c \
send.c smooth.c sunraster.c tiff.c undither.c value.c vff.c \
vicar.c window.c xbitmap.c xloadimage.c xpixmap.c xwd.c zio.c zoom.c png.c

OBJS = $(SRCS:.c=.o)
PROG = xloadimage

all: $(PROG) uufilter

$(PROG): $(OBJS)
	./build-info
	$(CC) $(CFLAGS) ${CPPFLAGS} -c build.c
	$(CC) ${CFLAGS} ${LDFLAGS} -o $@ $(OBJS) build.o $(XLIB) $(LIBS)

uufilter: uufilter.c
	$(CC) $(CFLAGS) ${CPPFLAGS} ${LDFLAGS} uufilter.c -o $@

${OBJS}: config.h image.h

.c.o:
	$(CC) $(CFLAGS) ${CPPFLAGS} -c $<

build.c:
	./build-info

clean:
	rm -f autoconfig build.c err
#	cd jpeg ; make clean
#	cd tiff ; make clean
	rm -f *.o *~ xloadimage uufilter autoconfig libconfig packtar \
	  buildshar doshar shar.* *.tar *.tar.Z *.tc

distclean:
	make clean
	rm -f config.log config.cache config.status config.h Makefile

config.h.in: configure.ac
	autoheader

configure: configure.ac
	autoconf

Makefile: Makefile.in
	./configure