home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
octave-1.1.1p1-src.tgz
/
tar.out
/
fsf
/
octave
/
dld
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1996-09-28
|
2KB
|
91 lines
#
# Makefile for octave's dld directory
#
# John W. Eaton
# jwe@che.utexas.edu
# Department of Chemical Engineering
# The University of Texas at Austin
TOPDIR = ..
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
include $(TOPDIR)/Makeconf
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
SOURCES = define.c dld.c error.c find_exec.c get_func.c get_symbol.c \
list_undef.c mk_dummy.c ref.c remove.c ul_file.c ul_symbol.c
OBJECTS = define.o dld.o error.o find_exec.o get_func.o get_symbol.o \
list_undef.o mk_dummy.o ref.o remove.o ul_file.o ul_symbol.o
INCLUDES = dld.h defs.h
DISTFILES = COPYING ChangeLog Makefile.in README TAGS TODO \
$(SOURCES) $(INCLUDES)
# Complete directory trees to distribute.
DISTDIRS = doc test
all: libdld.a
.PHONY: all
libdld.a: $(OBJECTS)
$(AR) $(ARFLAGS) libdld.a $(OBJECTS)
$(RANLIB) libdld.a
all: libdld.a
check: all
.PHONY: check
install: all
if test -d $(libdir) ; then true ; else mkdir $(libdir) ; fi
rm -f $(libdir)/libdld.a
$(INSTALL_DATA) libdld.a $(libdir)/libdld.a
if test -d $(includedir) ; then true ; else mkdir $(includedir) ; fi
$(INSTALL_DATA) $(srcdir)/dld.h $(includedir)/dld.h
.PHONY: install
uninstall:
rm -f $(libdir)/libdld.a
for f in $(INCLUDES) ; do rm -f $(includedir)/$$f ; done
.PHONY: uninstall
tags: $(SOURCES)
ctags $(SOURCES)
TAGS: $(SOURCES)
etags $(SOURCES)
clean:
rm -f *.a *.o
.PHONY: clean
mostlyclean: clean
.PHONY: mostlyclean
distclean: clean
rm -f Makefile *.a
.PHONY: distclean
realclean: distclean
rm -f tags TAGS
.PHONY: realclean
local-dist:
for dir in $(DISTDIRS); do ln -s ../../dld/$$dir ../`cat ../.fname`/dld; done
ln $(DISTFILES) ../`cat ../.fname`/dld
.PHONY: local-dist
dist:
for dir in $(DISTDIRS); do ln -s ../../dld/$$dir ../`cat ../.fname`/dld; done
ln $(DISTFILES) ../`cat ../.fname`/dld
.PHONY: dist