source: branches/gsoc11-statistics/base/src/cregistry/Makefile @ 78736

Last change on this file since 78736 was 66448, checked in by jmr@…, 11 years ago

clean sqlext.o

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 570 bytes
Line 
1# $Id: Makefile 66448 2010-04-13 19:28:36Z jmr@macports.org $
2
3OBJS = registry.o entry.o sql.o vercomp.o
4STLIB_NAME = cregistry.a
5RANLIB = ranlib
6
7SQLEXT_NAME = macports.sqlext
8SQLEXT_OBJS = sqlext.o vercomp.o
9
10include ../../Mk/macports.autoconf.mk
11
12all:: ${STLIB_NAME} ${SQLEXT_NAME}
13
14.c.o:
15        ${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
16
17${STLIB_NAME}:: ${OBJS}
18        ${STLIB_LD} ${STLIB_NAME} ${OBJS}
19        ${RANLIB} ${STLIB_NAME}
20
21${SQLEXT_NAME}: ${SQLEXT_OBJS}
22        ${SHLIB_LD} ${SQLEXT_OBJS} -o $@
23
24clean::
25        rm -f ${STLIB_NAME} ${SQLEXT_NAME} ${SQLEXT_OBJS} ${OBJS}
26
27distclean:: clean
28
29test:
30
31install:: all
Note: See TracBrowser for help on using the repository browser.