summaryrefslogtreecommitdiff
path: root/expat/examples
diff options
context:
space:
mode:
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>2001-03-01 04:28:27 +0000
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>2001-03-01 04:28:27 +0000
commitd47741fc6b6272604c5a80bb2aa404c39fb74680 (patch)
tree2e53df6af5fb9f88bf6ad565568294f43db7e058 /expat/examples
parent86474275a1259856c231f7a096d747756eae8552 (diff)
downloadlibexpat-git-d47741fc6b6272604c5a80bb2aa404c39fb74680.tar.gz
Sam TH:
Fix a variety of build control problems for the auxiliary directories. This closes SF tracker patch #403582.
Diffstat (limited to 'expat/examples')
-rw-r--r--expat/examples/Makefile.in19
1 files changed, 15 insertions, 4 deletions
diff --git a/expat/examples/Makefile.in b/expat/examples/Makefile.in
index 2d184a14..f3736a45 100644
--- a/expat/examples/Makefile.in
+++ b/expat/examples/Makefile.in
@@ -18,12 +18,23 @@
# SOFTWARE OR THE USE OR OTHER DEALINGS IN EXPAT.
#
+LIBDIR = ../lib/.libs
+INCDIR = ../lib
+
CPPFLAGS = @CPPFLAGS@
-LDFLAGS = @LDFLAGS@
-LIBS = -lexpat
-CFLAGS = @CFLAGS@
+LDFLAGS = @LDFLAGS@ -static
+LIBS = -L$(LIBDIR) -lexpat
+CFLAGS = @CFLAGS@ -I$(INCDIR)
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+
all: outline
outline: outline.o
- $(CC) -o outline outline.o $(LDFLAGS) $(LIBS)@
+ $(CC) -o outline outline.o $(LDFLAGS) $(LIBS)
+
+clean:
+ rm -f outline core *.o