Revision 17365,
799 bytes
checked in by ghudson, 23 years ago
(diff) |
Merge with librep 0.15.2.
|
Line | |
---|
1 | # rules.mk.sh -- Build dynamically-loadable objects for librep |
---|
2 | # $Id: rules.mk.sh,v 1.4 2002-03-20 04:59:51 ghudson Exp $ |
---|
3 | |
---|
4 | repdir=$1 |
---|
5 | repcommonexecdir=$2 |
---|
6 | repdocfile=$3 |
---|
7 | |
---|
8 | cat <<EOF |
---|
9 | # rules.mk |
---|
10 | |
---|
11 | repdir=$repdir |
---|
12 | repcommonexecdir=$repcommonexecdir |
---|
13 | rpath_repcommonexecdir=$repcommonexecdir |
---|
14 | |
---|
15 | rep_LIBTOOL=\$(repcommonexecdir)/libtool |
---|
16 | rep_INSTALL_ALIASES=\$(repcommonexecdir)/install-aliases |
---|
17 | |
---|
18 | # use this like: |
---|
19 | # foo.la : foo.lo bar.lo |
---|
20 | # \$(rep_DL_LD) link-opts... |
---|
21 | |
---|
22 | rep_DL_LD=\$(rep_LIBTOOL) --mode=link \$(CC) -avoid-version -module \ |
---|
23 | -rpath \$(rpath_repcommonexecdir) |
---|
24 | |
---|
25 | rep_DL_INSTALL=\$(rep_LIBTOOL) --mode=install \$(INSTALL) |
---|
26 | rep_DL_UNINSTALL=\$(rep_LIBTOOL) --mode=uninstall rm |
---|
27 | |
---|
28 | # Rule for libtool controlled C objects |
---|
29 | %.lo : %.c |
---|
30 | \$(rep_LIBTOOL) --mode=compile \$(CC) -c \$(CPPFLAGS) \$(CFLAGS) \$< |
---|
31 | |
---|
32 | EOF |
---|
Note: See
TracBrowser
for help on using the repository browser.