comparison Makefile @ 88:06f63b58d2a8 libavcodec

mlib merge
author glantau
date Sun, 16 Sep 2001 21:54:00 +0000
parents f239f4c7dfa6
children 1d3eb6cdc6b5
comparison
equal deleted inserted replaced
87:6f0e167504e8 88:06f63b58d2a8
27 ifeq ($(TARGET_ARCH_ARMV4L),yes) 27 ifeq ($(TARGET_ARCH_ARMV4L),yes)
28 ASM_OBJS += armv4l/jrevdct_arm.o 28 ASM_OBJS += armv4l/jrevdct_arm.o
29 OBJS += armv4l/dsputil_arm.o 29 OBJS += armv4l/dsputil_arm.o
30 endif 30 endif
31 31
32 # sun mediaLib specific stuff
33 # currently only works when libavcodec is used in mplayer
34 ifeq ($(HAVE_MLIB),yes)
35 OBJS += mlib/dsputil_mlib.o
36 CFLAGS += $(MLIB_INC)
37 endif
38
32 SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s) 39 SRCS = $(OBJS:.o=.c) $(ASM_OBJS:.o=.s)
33 40
34 LIB= libavcodec.a 41 LIB= libavcodec.a
35 TESTS= imgresample-test dct-test motion-test 42 TESTS= imgresample-test dct-test motion-test
36 43
56 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend 63 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend
57 64
58 clean: 65 clean:
59 rm -f *.o *~ *.a i386/*.o i386/*~ \ 66 rm -f *.o *~ *.a i386/*.o i386/*~ \
60 armv4l/*.o armv4l/*~ \ 67 armv4l/*.o armv4l/*~ \
68 mlib/*.o mlib/*~ \
61 libac3/*.o libac3/*~ \ 69 libac3/*.o libac3/*~ \
62 mpglib/*.o mpglib/*~ \
63 apiexample $(TESTS) 70 apiexample $(TESTS)
64 71
65 distclean: clean 72 distclean: clean
66 rm -f Makefile.bak .depend 73 rm -f Makefile.bak .depend
67 74