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

Last change on this file since 66305 was 66305, checked in by raimue@…, 10 years ago

But still report this as an error to make, addition to r66304

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