File: Makefile.in

package info (click to toggle)
libmpeg1 1.2.2-4
  • links: PTS
  • area: main
  • in suites: hamm, slink
  • size: 736 kB
  • ctags: 637
  • sloc: ansic: 8,415; sh: 1,328; makefile: 123
file content (60 lines) | stat: -rw-r--r-- 1,421 bytes parent folder | download
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
#
# Makefile.in for the MPEG Library -- this has to be processed by
# `configure' to be meaningful!
#


# Various programs and their options

CC            = @CC@
OPT           = @OPT@
DEFS          = @DEFS@
INCLUDES      = -I.
CFLAGS        = $(OPT) $(DEFS) $(INCLUDES) -fPIC
AR            = @AR@
ARFLAGS       = ru
RANLIB        = @RANLIB@
SHELL         = /bin/sh


# Source for the library itself -- note that we define LIBSRC and
# LIBOBJ this way (instead of just LIBOBJ=$(LIBSRC:.c=.o) because
# HP-UX make is stupid.

DECODER_SRC   = util.c video.c parseblock.c motionvector.c decoders.c \
		@jrevdct@wrapper.c globals.c 24bit.c gdith.c
DITHER_SRC    = fs2.c fs2fast.c fs4.c hybrid.c hybriderr.c 2x2.c gray.c \
		mono.c ordered.c ordered2.c mb_ordered.c
LIBSRC        = @libsrc@
LIBOBJ        = @libobj@


# Other files of interest

LIBRARY       = libmpeg.a
MPEGTEST      = mpegtest

# Targets for all platforms

all:		$(LIBRARY) @extras@

$(LIBRARY):	$(LIBOBJ)
		$(AR) $(ARFLAGS) $(LIBRARY) $(LIBOBJ)
		$(RANLIB) $(LIBRARY)
		$(CC) -lc -shared -Wl,-soname,libmpeg.so.1 -o libmpeg.so.1.2.2 $(LIBOBJ)

$(LIBOBJ):	Makefile

@Makefile_extras@

clean:
		rm -f $(LIBRARY) mpegtest core $(LIBOBJ) *.so.*
		(cd extras ; $(MAKE) clean)

distclean: clean
		rm -f config.cache config.log config.status Makefile config.h
		cd extras && $(MAKE) distclean

# Include a system-specific Makefile fragment, if any

@Makefile_OS@