view libguess/Makefile @ 1303:a9aba74678fc trunk

[svn] - nemo's patch applied to fileinfo
author nenolod
date Sun, 18 Jun 2006 23:19:46 -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