applied hide_doc.patch from Ricardo Pedroso
[swftools.git] / lib / ruby / Makefile.in
1 top_builddir = ../..
2 srcdir = @srcdir@
3 top_srcdir = @top_srcdir@
4 include ../../Makefile.common
5
6 all: gfx.$(SLEXT)
7
8 gfx.$(O): gfx.c 
9         $(C) $(RUBY_CPPFLAGS) -Wall -Wno-unused -fPIC -c gfx.c -o gfx.$(O)
10
11 GFX_DEPS=../libgfxpdf$(A) ../libgfxswf$(A)  ../librfxswf$(A) ../libgfx$(A) ../libocr$(A) ../libbase$(A) 
12 gfx.$(SLEXT): gfx.$(O) $(GFX_DEPS) Makefile
13         $(L) $(RUBY_LDFLAGS) $(SHARED) gfx.$(O) -o gfx.$(SLEXT) $(GFX_DEPS) $(PYTHON_LIB) $(LIBS) $(RUBY_LIBS) $(CXXLIBS)
14
15 clean:
16         rm -f *.o *.$(O) *.$(SLEXT) *.so
17
18 INSTALL_LIB = echo installing $$file to $(RUBY_INSTALLDIR);$(INSTALL_PROGRAM) $$file $(RUBY_INSTALLDIR)
19 UNINSTALL_LIB = rm -f $(RUBY_INSTALLDIR)/$$file
20 install:
21         @file=gfx.$(SLEXT); if test -f $$file;then $(INSTALL_LIB);fi
22
23 uninstall:
24         @file=gfx.$(SLEXT); $(UNINSTALL_LIB)
25
26 .PHONY: all