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

Last change on this file since 2620 was 2620, checked in by landonf (Landon Fuller), 17 years ago

Switch to autoconf. This change is far reaching through the build architecture.
Detailed ChangeLog:

  • Added the following files:

base/Makefile.in: Renamed Makefile to Makefile.in
base/aclocal.m4: Local m4 macros. Currently only includes tcl.m4
base/tcl.m4: TEA && Tcl distribution macros with some local modifications
base/configure: configure script, generated from configure.ac
base/configure.ac: m4 used to generate base/configure
base/install.sh: install(1) replacement to appease autoconf
base/Mk/dports.autoconf.mk.in: Contains all autoconf AC_SUBST variables used.
base/Mk/dports.tea.mk: Standardized C extension building

  • Removed the following files:

base/Makefile: Renamed to Makefile.in
base/scripts/config.sh: Entirely replaced by autoconf

  • Modified the following files:

Makefile: Updated to execute configure script in base/, providing backwards compatibility. (Users expext to type "make").
base/src/cflib1.0/Makefile: Updated to use dports.tea.mk and use ${datadir} from dports.autoconf.mk
base/src/pextlib1.0/Makefile: Updated to use dports.tea.mk and use ${datadir} from dports.autoconf.mk
base/src/darwinports1.0/Makefile: Updated to use ${TCL_PACKAGE_DIR} from dports.autoconf.mk
base/src/port1.0/Makefile: Updated to use ${datadir} from dports.autoconf.mk
base/src/port1.0/resources/Makefile: Updated use ${datadir} from dports.autoconf.mk
base/src/port1.0/resources/package/Makefile: Updated to use ${datadir} from dports.autoconf.mk

  • Property svn:eol-style set to native
File size: 368 bytes
Line 
1.c.o:
2        ${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${SHLIB_CFLAGS} $< -o $@
3
4$(SHLIB_NAME):: ${OBJS}
5        ${SHLIB_LD} ${OBJS} -o ${SHLIB_NAME} ${TCL_STUB_LIB_SPEC} ${LIBS}
6
7all:: ${SHLIB_NAME}
8
9clean::
10        rm -f ${OBJS} ${SHLIB_NAME}
11
12install:: all
13        mkdir -p ${INSTALLDIR}
14        install -c -o "${DSTUSR}" -g "${DSTGRP}" -m 444 ${SHLIB_NAME} ${INSTALLDIR}
15        ../pkg_mkindex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.