[80152] branches/gsoc11-rev-upgrade/base/src/libmachista1.0/Makefile

cal at macports.org cal at macports.org
Tue Jul 5 09:04:07 PDT 2011


Revision: 80152
          http://trac.macports.org/changeset/80152
Author:   cal at macports.org
Date:     2011-07-05 09:04:07 -0700 (Tue, 05 Jul 2011)
Log Message:
-----------
rev-upgrade: Makefile for libmachista1.0

Added Paths:
-----------
    branches/gsoc11-rev-upgrade/base/src/libmachista1.0/Makefile

Added: branches/gsoc11-rev-upgrade/base/src/libmachista1.0/Makefile
===================================================================
--- branches/gsoc11-rev-upgrade/base/src/libmachista1.0/Makefile	                        (rev 0)
+++ branches/gsoc11-rev-upgrade/base/src/libmachista1.0/Makefile	2011-07-05 16:04:07 UTC (rev 80152)
@@ -0,0 +1,22 @@
+OBJS= 		libmachista.o
+SHLIB_NAME=	libmachista${SHLIB_SUFFIX}
+INSTALLDIR=	${DESTDIR}${datadir}/macports/Tcl/libmachista1.0
+
+include ../../Mk/macports.autoconf.mk
+
+CFLAGS+= -fPIC -std=c99 -pedantic -Werror
+
+all:: ${SHLIB_NAME}
+
+$(SHLIB_NAME):: ${OBJS}
+	${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${SHLIB_LDFLAGS} ${LIBS}
+
+clean::
+	rm -f ${OBJS} ${SHLIB_NAME}
+
+distclean:: clean
+
+install:: all
+	${INSTALL} -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
+	${INSTALL} -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110705/88898d77/attachment.html>


More information about the macports-changes mailing list