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