Makefile.am 1.06 KB
Newer Older
Pekka Pessi's avatar
Pekka Pessi committed
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
#
# Makefile.am for ipt module
#

# ----------------------------------------------------------------------
# Header paths

INCLUDES = 		-I$(srcdir)/../su

# ----------------------------------------------------------------------
# Build targets

noinst_LIBRARIES = 	libipt.a

noinst_PROGRAMS = 	sha1test torture_base64 ipt_objs.o

TESTS = 		sha1test torture_base64

# ----------------------------------------------------------------------
# Rules for building the targets

include_HEADERS =       rc4.h utf8.h sha1.h base64.h \
			string0.h token64.h uniqueid.h

libipt_a_SOURCES = 	utf8internal.h \
			utf8.c ucs2.c ucs4.c rc4.c \
			sha1.c base64.c string0.c token64.c

ipt_objs_o_SOURCES =	$(libipt_a_SOURCES)
ipt_objs_o_LDADD =	

LDADD = 		libipt.a
			-L../sresolv -lsresolv \
			-L../su -lsu

sha1test_SOURCES = 	sha1test.c

# ----------------------------------------------------------------------
# Install and distribution rules

EXTRA_DIST =		Doxyfile ipt.docs

# ----------------------------------------------------------------------
# Sofia specific rules

include ../sofia.am