home *** CD-ROM | disk | FTP | other *** search
/ Geek 6 / Geek-006.iso / linux / video / xmovie-1.5.3.tar.gz / xmovie-1.5.3.tar / xmovie-1.5.3 / guicast / Makefile < prev    next >
Makefile  |  2000-11-29  |  1KB  |  82 lines

  1. include ../global_config
  2. CFLAGS +=
  3. export CFLAGS
  4.  
  5.  
  6. OBJS = \
  7.     bcbitmap.o \
  8.     bcbutton.o \
  9.     bccapture.o \
  10.     bcclipboard.o \
  11.     bcdisplayinfo.o \
  12.     bcdragwindow.o \
  13.     bcfilebox.o \
  14.     bcipc.o \
  15.     bclistbox.o \
  16.     bcmenubar.o \
  17.     bcmeter.o \
  18.     bcpan.o \
  19.     bcpixmap.o \
  20.     bcpopup.o \
  21.     bcpopupmenu.o \
  22.     bcpot.o \
  23.     bcprogress.o \
  24.     bcprogressbox.o \
  25.     bcrepeater.o \
  26.     bcresources.o \
  27.     bcscrollbar.o \
  28.     bcslider.o \
  29.     bcsubwindow.o \
  30.     bctextbox.o \
  31.     bctitle.o \
  32.     bctoggle.o \
  33.     bctumble.o \
  34.     bcwindow.o \
  35.     bcwindowbase.o \
  36.     bcwindowdraw.o \
  37.     errorbox.o \
  38.     defaults.o \
  39.     filesystem.o \
  40.     mutex.o \
  41.     sema.o \
  42.     stringfile.o \
  43.     thread.o \
  44.     timer.o \
  45.     units.o \
  46.     vframe.o 
  47.  
  48. OUTPUT = libguicast.so
  49. STATICOUTPUT = libguicast.a
  50.  
  51. # FOR SOME REASON PTHREAD DOESN'T WORK WHEN LINKED HERE
  52. $(OUTPUT): $(OBJS)
  53.     $(LDLINKER) $(LFLAGS) -o $(OUTPUT) $(OBJS)
  54.     ar rc $(STATICOUTPUT) $(OBJS)
  55.     ranlib $(STATICOUTPUT)
  56.  
  57. static: $(OBJS)
  58.     ar rc $(STATICOUTPUT) $(OBJS)
  59.     ranlib $(STATICOUTPUT)
  60.  
  61. replace:  replace.o $(OUTPUT)
  62.     $(CC) -o replace replace.o libguicast.a $(LFLAGS) $(XLIBS) -lpng
  63.  
  64. test:  test.o $(OUTPUT)
  65.     $(CC) -o test test.o libguicast.a ../libmpeg3/libmpeg3.a ../quicktime/libquicktime.a $(LFLAGS) $(LIBS) -lpng
  66.  
  67. .C.o:
  68.     $(CC) -c `./c_flags` $*.C
  69.  
  70. clean:
  71.     rm -f core
  72.     rm -f *.o
  73.     rm -f $(OUTPUT) $(STATICOUTPUT)
  74.     rm -f test test2
  75.  
  76. wc:
  77.     cat *.C *.h | wc
  78.  
  79. backup: clean
  80.     cd .. && \
  81.     tar Icvf ~/guicast.tar.bz2 guicast
  82.