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

Last change on this file since 47700 was 47700, checked in by toby@…, 11 years ago

SnowLeopard build fix

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