source: trunk/base/Mk/dports.tea.mk @ 26137

Last change on this file since 26137 was 26137, checked in by landonf@…, 13 years ago

A prototype dynamic Tcl -> Objective-C bridge; Written in 2003 by Kevin Van Vechten and I, finally committed today

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