removed stray printf
[swftools.git] / Makefile.common.in
blobfa119e3c7b36e9d5b956a9648f85a9178f03881f
1 # --------------------- init --------------------------
3 # shells, skripts, tools etc.
4 SHELL = @SHELL@
5 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
6 @SET_MAKE@
8 # compiling
9 DEFS=@DEFS@
10 INCLUDES=
11 DEP=@CC@ -MM $(DEFS) $(INCLUDES) @CPPFLAGS@
12 C=@CC@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CFLAGS@
13 CC=@CXX@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CXXFLAGS@
14 L=@CC@ $(DEFS)
15 LL=@CXX@ $(DEFS)
16 AR=@AR@
17 LIBTOOL=@LIBTOOL@
18 SC=$(LIBTOOL) @CC@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CFLAGS@
19 SCC=$(LIBTOOL) @CXX@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CXXFLAGS@
20 SL=$(LIBTOOL) --mode=link @CC@ $(DEFS) -rpath $(libdir)
21 SLL=$(LIBTOOL) --mode=link @CXX@ $(DEFS) -rpath $(libdir)
22 LIBS= @LDFLAGS@ @LIBS@
23 CXXLIBS=@CXXLIBS@
24 transform = @program_transform_name@
25 CPPFLAGS=@CPPFLAGS@
27 PYTHON_LIB=@PYTHON_LIB@
28 PYTHON_INCLUDES=@PYTHON_INCLUDES@
29 PYTHON_INSTALL_PATH=@PYTHON_INSTALL_PATH@
30 PYTHON_EXECUTABLE=@PYTHON_EXECUTABLE@
32 RUBY_CPPFLAGS=@RUBY_CPPFLAGS@
33 RUBY_LDFLAGS=@RUBY_LDFLAGS@
34 RUBY_LIBS=@RUBY_LIBS@
35 RUBY_INSTALLDIR=@RUBY_INSTALLDIR@
37 # libtool stuff
38 OBJEXT=@OBJEXT@
39 EXEEXT=@EXEEXT@
40 AREXT=@AREXT@
41 SHARED=@SHARED@
42 E=$(EXEEXT)
43 O=$(OBJEXT)
44 A=$(AREXT)
45 SLEXT=@SLEXT@
46 ECHO=@ECHO@
47 RANLIB=@RANLIB@
48 STRIP=@STRIP@
50 # installing
51 LN_S = @LN_S@
52 PACKAGE = @PACKAGE@
53 INSTALL = @INSTALL@
54 INSTALL_DATA = @INSTALL_DATA@
55 UNINSTALL_DATA = rm -f
56 INSTALL_PROGRAM = @INSTALL_PROGRAM@
57 prefix = @prefix@
58 exec_prefix = @exec_prefix@
59 bindir = @bindir@
60 datadir = @datadir@
61 libdir = @libdir@
62 includedir = @includedir@
63 sysconfdir = @sysconfdir@
64 pkgdatadir = $(datadir)/@PACKAGE@
66 # man pages
67 mandir = @mandir@
68 man1dir = $(mandir)/man1
70 # ------------------- defines -------------------------
72 INSTALL_BIN = echo installing $$file to $(bindir);$(INSTALL_PROGRAM) $$file $(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
73 UNINSTALL_BIN = ff=`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`;echo rm -f $(bindir)/$$ff;rm -f $(bindir)/$$ff
74 INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(man1dir)/$$inst
75 UNINSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "rm -f $(man1dir)/$$inst"; rm -f $(man1dir)/$$inst
77 #%.o: %.c
78 #       $(C) $< -o $@
80 #%: %.o
81 #       $(L) $< -o $@ ../lib/librfxswf.a $(LIBS) 
83 #%.o: %.cc
84 #       $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf $< -o $@
86 # GNU Makefile stuff
88 .SUFFIXES: