~ubuntu-branches/ubuntu/jaunty/luatex/jaunty

« back to all changes in this revision

Viewing changes to src/libs/zziplib/zzipwrap/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2007-09-24 12:56:11 UTC
  • Revision ID: james.westby@ubuntu.com-20070924125611-a8ge689azbptxvla
Tags: upstream-0.11.2
ImportĀ upstreamĀ versionĀ 0.11.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
AUTOMAKE_OPTIONS = 1.4 foreign
 
2
AUTOTOOL_VERSION=autoconf-2.52 automake-1.5 libtool-1.4.2
 
3
DEFAULT_INCLUDES = # nothing - no default of -I. -I$(srcdir)
 
4
DEFS = @DEFS@ -I$(top_builddir) -I$(top_srcdir) # also for automake 1.4
 
5
 
 
6
noinst_PROGRAMS = zzipwrap
 
7
lib_LTLIBRARIES = libzzipwrap.la
 
8
zzipdir = ${includedir}/zzip
 
9
zzip_HEADERS = $(libzzipwrap_la_headers)
 
10
#
 
11
VERSION_INFO=@VERSION_INFO@
 
12
RELEASE_INFO=@RELEASE_INFO@
 
13
THREAD_SAFE=@THREAD_SAFE@
 
14
#
 
15
 
 
16
libzzipwrap_la_SOURCES = \
 
17
        wrap.c
 
18
libzzipwrap_la_headers = \
 
19
        wrap.h
 
20
 
 
21
libzzipwrap_la_LDFLAGS= @ZZIPLIB_LDFLAGS@ $(RELEASE_INFO) $(VERSION_INFO) \
 
22
                        $(THREAD_SAFE)
 
23
libzzipwrap_la_LIBADD= ../zzip/libzzip.la @RESOLVES@ -lz
 
24
 
 
25
../zzip/libzzip.la : @top_srcdir@/zzip/*.c
 
26
        (cd ../zzip && $(MAKE) `basename $@`)
 
27
 
 
28
 
 
29
WCC10_CLEAN = *.obj *.lk1 *.mk1 *.mk *.sym *.tgt
 
30
 
 
31
EXTRA_DIST = 
 
32
CLEANFILES = $(WCC10_CLEAN)  *.pc *.omf
 
33
 
 
34
zzipwrap_LDFLAGS =  @ZZIPLIB_LDFLAGS@
 
35
zzipwrap_LDADD = libzzipwrap.la @RESOLVES@ ../zzip/libzzip.la -lz
 
36
 
 
37
# ----------------------------------------------------------------------
 
38
pkgconfigdir=$(libdir)/pkgconfig
 
39
pkgconfig_HEADERS= zzipwrap.pc
 
40
 
 
41
zzipwrap.pc : Makefile
 
42
        @ echo "prefix=$(prefix)" >$@
 
43
        @ echo "libdir=$(libdir)" >>$@
 
44
        @ echo "includedir=$(includedir)" >>$@
 
45
        @ echo " " >>$@
 
46
        @ echo "Name: zzipwrap" >>$@
 
47
        @ echo "Version: $(VERSION)" >>$@
 
48
        @ echo "Description: Callback Wrappers for ZZipLib" >>$@
 
49
        echo 'Requires: zziplib' >>$@
 
50
        echo 'Libs: -L$${libdir} -lzzipwrap' >>$@
 
51
        echo 'Cflags: -I$${includedir}' >>$@