diff options
author | Torsten Blum <torstenb@FreeBSD.org> | 1994-11-20 16:00:10 +0000 |
---|---|---|
committer | Torsten Blum <torstenb@FreeBSD.org> | 1994-11-20 16:00:10 +0000 |
commit | 42bdb45091bb45346a7a628c293a662b118a1ba6 (patch) | |
tree | 5e55e7aefaa9b021c7f3ca9e8aa04e6c1b1a16a6 /graphics/mpeg-lib/files/patch-aa | |
parent | Add another master site (diff) |
mpeg library
Notes
Notes:
svn path=/head/; revision=422
Diffstat (limited to 'graphics/mpeg-lib/files/patch-aa')
-rw-r--r-- | graphics/mpeg-lib/files/patch-aa | 121 |
1 files changed, 121 insertions, 0 deletions
diff --git a/graphics/mpeg-lib/files/patch-aa b/graphics/mpeg-lib/files/patch-aa new file mode 100644 index 000000000000..5c50a948b9f7 --- /dev/null +++ b/graphics/mpeg-lib/files/patch-aa @@ -0,0 +1,121 @@ +*** Makefile.orig Wed Nov 16 13:25:19 1994 +--- Makefile Wed Nov 16 13:46:35 1994 +*************** +*** 33,42 **** + # + + # SGI C Flags +! CFLAGS = -O2 -D__STDC__ -DFULL_COLOR_ONLY + + # GCC flags +! #CFLAGS = -O2 -DFULL_COLOR_ONLY + + # Note that the rest of these flags are inherited from the original + # Berkeley player's Makefile; I have no idea if they'll work on these +--- 33,42 ---- + # + + # SGI C Flags +! # CFLAGS = -O2 -D__STDC__ -DFULL_COLOR_ONLY + + # GCC flags +! CFLAGS = -O2 -fpic -D_HAVE_PARAM_H # -DFULL_COLOR_ONLY + + # Note that the rest of these flags are inherited from the original + # Berkeley player's Makefile; I have no idea if they'll work on these +*************** +*** 72,78 **** + # Step 3: + # Set DEST to pathname of final destination of library... + # +! DEST = . + + # + # Step 4: +--- 72,78 ---- + # Step 3: + # Set DEST to pathname of final destination of library... + # +! DEST = ${PREFIX}/lib + + # + # Step 4: +*************** +*** 89,95 **** + 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 + +! SRC = $(DECODER_SRC) # $(DITHER_SRC) + + + # +--- 89,95 ---- + 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 + +! SRC = $(DECODER_SRC) $(DITHER_SRC) + + + # +*************** +*** 98,125 **** + HDRS = util.h video.h decoders.h dither.h fs2.h fs4.h \ + proto.h globals.h mpeg.h + +! INSTALL = /etc/install + SHELL = /bin/sh + MAKEFILE = Makefile + + OBJ = $(SRC:.c=.o) + +! LIBRARY = libmpeg.a + + # Targets... + +! all: $(LIBRARY) + +! $(LIBRARY): $(OBJ) +! $(AR) $(ARFLAGS) $(LIBRARY) $(OBJ) +! $(RANLIB) $(LIBRARY) +! +! clean:; rm -f *.o $(LIBRARY) core +! +! install: $(LIBRARY) +! @echo Installing $(LIBRARY) in $(DEST) +! @if [ $(DEST) != . ]; then \ +! (rm -f $(DEST)/$(LIBRARY); $(INSTALL) -f $(DEST) $(LIBRARY)); fi + + # easympeg is a short 'n simple MPEG player that requires the SGI Graphics + # LIbrary; this won't work on non-SGI platforms +--- 98,128 ---- + HDRS = util.h video.h decoders.h dither.h fs2.h fs4.h \ + proto.h globals.h mpeg.h + +! INSTALL = install + SHELL = /bin/sh + MAKEFILE = Makefile + + OBJ = $(SRC:.c=.o) + +! LIBRARY = libmpeg.a libmpeg.so.1.1 + + # Targets... + +! all: $(LIBRARY) + +! libmpeg.a: $(OBJ) +! $(AR) $(ARFLAGS) libmpeg.a $(OBJ) +! $(RANLIB) libmpeg.a +! +! libmpeg.so.1.1: $(OBJ) +! ld -Bshareable -o libmpeg.so.1.1 $(OBJ) +! +! clean: rm -f *.o $(LIBRARY) core +! +! install: $(LIBRARY) +! @echo Installing $(LIBRARY) in $(DEST) +! $(INSTALL) $(LIBRARY) $(DEST) +! $(INSTALL) mpeg.h ${PREFIX}/include + + # easympeg is a short 'n simple MPEG player that requires the SGI Graphics + # LIbrary; this won't work on non-SGI platforms |