view libguess/Makefile @ 1324:99454d030722 trunk

[svn] try to avoid malconversion of latin1 character when chardet has been enabled.
author yaz
date Thu, 22 Jun 2006 07:04:25 -0700
parents 4be4d74db123
children
line wrap: on
line source

include ../mk/rules.mk
include ../mk/objective.mk

OBJECTIVE_LIBS = libguess.so
OBJECTIVE_SONAME_SUFFIX = 0.2.0

LDFLAGS += -Wl,-export-dynamic

CFLAGS += -fPIC -DPIC

SOURCES = \
	guess.c

OBJECTS = ${SOURCES:.c=.o}

HEADERS = \
	libguess.h

install-posthook:
	@mv ${DESTDIR}/${LIBDIR}/libguess.so ${DESTDIR}/${LIBDIR}/libguess.so.0.2.0
	@ln -sf ${LIBDIR}/libguess.so.0.2.0 \
		${DESTDIR}/${LIBDIR}/libguess.so.0
	@ln -sf ${LIBDIR}/libguess.so.0 \
		${DESTDIR}/${LIBDIR}/libguess.so