source: trunk/base/Mk/macports.tea.mk @ 108227

Last change on this file since 108227 was 108227, checked in by cal@…, 7 years ago

pextlib1.0/registry2.0: add dependency $SHLIB -> dependent library

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 766 bytes
RevLine 
[30816]1# $Id: macports.tea.mk 108227 2013-07-16 23:24:10Z cal@macports.org $
2
[26176]3.SUFFIXES: .m
4
5.m.o:
[54795]6        ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${OBJCFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
[26176]7
[2620]8.c.o:
[54795]9        ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${CFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
[2620]10
[51382]11all:: ${SHLIB_NAME} pkgIndex.tcl
12
[108227]13$(SHLIB_NAME): ${OBJS}
[27295]14        ${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${SHLIB_LDFLAGS} ${LIBS}
[2620]15
[54781]16pkgIndex.tcl: $(SHLIB_NAME)
[66305]17        $(SILENT) ../pkg_mkindex.sh . || ( rm -rf $@ && exit 1 )
[2620]18
19clean::
[51382]20        rm -f ${OBJS} ${SHLIB_NAME} so_locations pkgIndex.tcl
[2620]21
[2770]22distclean:: clean
23
[13442]24install:: all
[9814]25        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
[2999]26        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 ${SHLIB_NAME} ${INSTALLDIR}
[51382]27        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 pkgIndex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.