File: Makefile.in

package info (click to toggle)
xloadimage 4.1-25
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,820 kB
  • sloc: ansic: 36,084; asm: 284; makefile: 282; sh: 280
file content (57 lines) | stat: -rw-r--r-- 1,338 bytes parent folder | download | duplicates (3)
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
#
# Makefile for autoconf tutorial
#

CC = @CC@
DEFS = @DEFS@ -DSYSPATHFILE=\"/etc/X11/Xloadimage\"
CFLAGS = @CFLAGS@
XLIB = @X_LIBS@ -lX11 @X_EXTRA_LIBS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
CFLAGS += @CPPFLAGS@

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) -c $(DEFS) build.c 
	$(CC) -o $@ $(OBJS) build.o $(LDFLAGS) $(XLIB) $(LIBS)

uufilter: uufilter.c
	$(CC) $(CFLAGS) $(DEFS) uufilter.c -o $@

.c.o: config.h image.h
	$(CC) $(CFLAGS) -c $(DEFS) $<

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.in
	autoheader

configure: configure.in
	autoconf

Makefile: Makefile.in
	./configure