fixed optimizing of polygons with lines on top of each other
[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 CXXLIBS=@CXXLIBS@
23 transform = @program_transform_name@
24 PYTHON_LIB=@PYTHON_LIB@
25 PYTHON_INCLUDES=@PYTHON_INCLUDES@
26 CPPFLAGS=@CPPFLAGS@
27
28 # libtool stuff
29 OBJEXT=@OBJEXT@
30 EXEEXT=@EXEEXT@
31 AREXT=@AREXT@
32 SHARED=@SHARED@
33 E=$(EXEEXT)
34 O=$(OBJEXT)
35 A=$(AREXT)
36 SLEXT=@SLEXT@
37 ECHO=@ECHO@
38 RANLIB=@RANLIB@
39 STRIP=@STRIP@
40
41 # installing
42 LN_S = @LN_S@
43 PACKAGE = @PACKAGE@
44 INSTALL = @INSTALL@
45 INSTALL_DATA = @INSTALL_DATA@
46 UNINSTALL_DATA = rm -f
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 prefix = @prefix@
49 exec_prefix = @exec_prefix@
50 bindir = @bindir@
51 datadir = @datadir@
52 libdir = @libdir@
53 includedir = @includedir@
54 sysconfdir = @sysconfdir@
55 pkgdatadir = $(datadir)/@PACKAGE@
56
57 # man pages
58 mandir = @mandir@
59 man1dir = $(mandir)/man1
60
61 # ------------------- defines -------------------------
62
63 INSTALL_BIN = echo installing $$file to $(bindir);$(INSTALL_PROGRAM) $$file $(bindir)/`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`
64 UNINSTALL_BIN = ff=`echo $$file|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`;echo rm -f $(bindir)/$$ff;rm -f $(bindir)/$$ff
65 INSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "$(INSTALL_DATA) $$ff $(man1dir)/$$inst"; $(INSTALL_DATA) $$ff $(man1dir)/$$inst
66 UNINSTALL_MAN1 = ff=$(srcdir)/$$file.1; inst=`echo $$file | sed '$(transform)'`.1; echo "rm -f $(man1dir)/$$inst"; rm -f $(man1dir)/$$inst
67
68 #%.o: %.c
69 #       $(C) $< -o $@
70
71 #%: %.o
72 #       $(L) $< -o $@ ../lib/librfxswf.a $(LIBS) 
73
74 #%.o: %.cc
75 #       $(CC) -DDATADIR=\"$(pkgdatadir)\" -I../lib -Ittf2pt1 -Ixpdf $< -o $@
76
77 # GNU Makefile stuff
78
79 .SUFFIXES: