summaryrefslogtreecommitdiffstats
path: root/mimelib/Makefile.am
blob: 3f2b5b97f286f8af10b312db41af8af90201e935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# UNIX makefile for MIME++ library and example programs

# Choose a version to compile.  I recommend compiling development version,
# which includes numerous assert macros to catch bad function arguments
# and other safeguards.  The production version is designed to avoid
# program aborts, such as will occur if an assertion fails.  The production
# version tries to recover as best it can in the case of exceptional
# conditions.  The debug version is designed to help you find bugs once
# you know they exist.  The development version helps you out here just
# a little, because it will dump core so you can examine the program
# state with a debugger.
#
# Make sure you type 'make clean' after compiling one version before
# compiling a different version.

SUBDIRS = mimelib

LIBVERSION = DW_DEVELOPMENT_VERSION
# LIBVERSION = DW_PRODUCTION_VERSION
# LIBVERSION = DW_DEBUG_VERSION

INCLUDES = $(all_includes)

AM_CPPFLAGS = -D$(LIBVERSION) -D_REENTRANT
lib_LTLIBRARIES = libmimelib.la

libmimelib_la_SOURCES = \
    protocol.cpp \
    address.cpp \
    addrlist.cpp \
    body.cpp \
    bodypart.cpp \
    boyermor.cpp \
    datetime.cpp \
    disptype.cpp \
    dw_cte.cpp \
    dw_date.cpp \
    dw_mime.cpp \
    entity.cpp \
    field.cpp \
    fieldbdy.cpp \
    group.cpp \
    headers.cpp \
    mailbox.cpp \
    mboxlist.cpp \
    mechansm.cpp \
    mediatyp.cpp \
    message.cpp \
    msgcmp.cpp \
    msgid.cpp \
    nntp.cpp \
    param.cpp \
    pop.cpp \
    dwstring.cpp \
    text.cpp \
    token.cpp \
    uuencode.cpp \
    binhex.cpp

libmimelib_la_LDFLAGS = -L$(kde_libraries) -lkdefakes_pic -version-info 1:1 -no-undefined

check_PROGRAMS = test_boyermor

TESTS=$(check_PROGRAMS)

test_boyermor_SOURCES = test_boyermor.cpp
test_boyermor_LDADD = libmimelib.la $(LIBSOCKET)