don't stop make process if we can't execute compiled executables (allow
[swftools.git] / Makefile.common.in
1 # --------------------- init --------------------------
2
3 # shells, skripts, tools etc.
4 SHELL = @SHELL@
5 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
6 @SET_MAKE@
7
8 # compiling
9 DEFS=@DEFS@
10 INCLUDES=
11 C=@CC@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CFLAGS@
12 CC=@CXX@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CXXFLAGS@
13 L=@CC@ $(DEFS)
14 LL=@CXX@ $(DEFS)
15 AR=@AR@
16 LIBTOOL=@LIBTOOL@
17 SC=$(LIBTOOL) @CC@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CFLAGS@
18 SCC=$(LIBTOOL) @CXX@ -c $(DEFS) $(INCLUDES) @CPPFLAGS@ @CXXFLAGS@
19 SL=$(LIBTOOL) --mode=link @CC@ $(DEFS) -rpath $(libdir)
20 SLL=$(LIBTOOL) --mode=link @CXX@ $(DEFS) -rpath $(libdir)
21 LIBS= @LDFLAGS@ @LIBS@
22 transform = @program_transform_name@
23 PYTHON_LIB=@PYTHON_LIB@
24 PYTHON_INCLUDES=@PYTHON_INCLUDES@
25
26 # libtool stuff
27 OBJEXT=@OBJEXT@
28 EXEEXT=@EXEEXT@
29 E=$(EXEEXT)
30 SLEXT=@SLEXT@
31 ECHO=@ECHO@
32 RANLIB=@RANLIB@
33 STRIP=@STRIP@
34
35 # installing
36 LN_S = @LN_S@
37 PACKAGE = @PACKAGE@
38 INSTALL = @INSTALL@
39 INSTALL_DATA = @INSTALL_DATA@
40 UNINSTALL_DATA = rm -f
41 INSTALL_PROGRAM = @INSTALL_PROGRAM@
42 prefix = @prefix@
43 exec_prefix = @exec_prefix@
44 bindir = @bindir@
45 datadir = @datadir@
46 libdir = @libdir@
47 includedir = @includedir@
48 sysconfdir = @sysconfdir@
49 pkgdatadir = $(datadir)/@PACKAGE@
50
51 # man pages
52 mandir = @mandir@
53 man1dir = $(mandir)/man1
54
55 # ------------------- defines -------------------------
56
57 INSTALL_BIN = echo installing $$file to $(bindir);$(INSTALL_PROGRAM) $$file $(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
58 UNINSTALL_BIN = ff=`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`;echo rm -f $(bindir)/$$ff;rm -f $(bindir)/$$ff
59 INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(man1dir)/$$inst
60 UNINSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "rm -f $(man1dir)/$$inst"; rm -f $(man1dir)/$$inst
61
62 #%.o: %.c
63 #       $(C) $< -o $@
64
65 #%: %.o
66 #       $(L) $< -o $@ ../lib/librfxswf.a $(LIBS) 
67
68 #%.o: %.cc
69 #       $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf $< -o $@
70
71 # GNU Makefile stuff
72
73 .SUFFIXES: