~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Open Mash Cross Reference
mash/codec/tmndec/Makefile

Component: ~ [ mash ] ~ [ apps ] ~ [ gsm ] ~ [ lib ] ~ [ otcl ] ~ [ srm ] ~ [ tcl8.3 ] ~ [ tclcl ] ~ [ tk8.3 ] ~ [ tutorials ] ~

  1 # Makefile for tmndec 
  2 
  3 # uncomment the following two lines if you want to include X11 support
  4 USE_DISP = -DDISPLAY 
  5 LIBS = -lX11
  6 
  7 # uncomment the following two lines if you want to use shared memory
  8 # (faster display if server and client run on the same machine)
  9 USE_SHMEM = -DSH_MEM
 10 LIBS = -lXext -lX11
 11 
 12 # uncomment the following line to activate calculation of decoding speed
 13 # (frames per second) and frame rate control (-fn option)
 14 USE_TIME = -DUSE_TIME
 15 
 16 # if your X11 include files / libraries are in a non standard location:
 17 # set INCLUDEDIR to -I followed by the appropriate include file path and
 18 # set LIBRARYDIR to -L followed by the appropriate library path and
 19 
 20 # Necessary for OpenWindows
 21 INCLUDEDIR = -I/usr/X11R6/include
 22 #LIBRARYDIR = -L/usr/openwin/lib -Wl,-R,/usr/openwin/lib
 23 
 24 # Necessary on some Linux configs
 25 LIBRARYDIR=-L/usr/X11R6/lib
 26 
 27 
 28 
 29 #
 30 # GNU gcc
 31 #
 32 
 33 CC = gcc
 34 #
 35 # This will generate optimized machine code 
 36 #
 37 #CFLAGS = -O3 $(DEFS) $(USE_DISP) $(USE_SHMEM) $(USE_TIME) $(INCLUDEDIR)
 38 #
 39 # For debugging and profiling
 40 CFLAGS = -g -pg -Wall $(DEFS) $(USE_DISP) $(USE_SHMEM) $(USE_TIME) $(INCLUDEDIR)
 41 
 42 
 43 OBJS = tmndec.o getpic.o getvlc.o gethdr.o getblk.o getbits.o store.o recon.o idct.o idctref.o display.o sac.o dither.o yuv2rgb.o yuvrgb24.o win.o
 44 SRCS = $(subst .o,.c,$(OBJS))
 45 
 46 
 47 tmndec: $(OBJS)
 48         $(CC) $(CFLAGS) $(LIBRARYDIR) -o tmndec $(OBJS) -lm $(LIBS)
 49 
 50 lib:
 51         make -f Makefile.lib
 52 
 53 win:
 54         make -f Makefile.win32
 55 
 56 clean:
 57         rm -f *.o *% core *~ TAGS
 58 
 59 realclean: clean
 60         rm -f tmndec tmndec.exe libh263.a
 61 
 62 
 63 depend dep:
 64         gccmakedep -- $(CFLAGS) -- $(SRCS)
 65 
 66 tar: 
 67         tar cvf tmndec.tar *.c *.h *.mak Makefile README COPYING CHANGES TODO
 68         gzip tmndec.tar
 69         mv -f tmndec.tar.gz tmndec.tgz
 70 
 71 # DO NOT DELETE

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.