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

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

base: Fix parallel build (#20378).

Problem was that pkg_mkIndex was getting run before the dylibs were
built.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 716 bytes
Line 
1# $Id: macports.tea.mk 54781 2009-08-02 02:09:37Z 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
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 .
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.