view dlfcn/Makefile.in @ 5540:cda6a105ae9a before-ov-branch

[project @ 2005-11-17 05:47:13 by jwe]
author jwe
date Thu, 17 Nov 2005 05:47:13 +0000
parents 2726500a6793
children 61091f4af6e4
line wrap: on
line source

#
# Makefile for octave's dlfcn directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ..

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

include $(TOPDIR)/Makeconf

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

INCLUDES := dlfcn.h

SOURCES := dlfcn.c

OBJECTS := $(SOURCES:.c=.o)

MAKEDEPS := $(SOURCES:.c=.d)

DISTFILES := $(SOURCES) $(INCLUDES) README dl.exp Makefile.in ftp-site

all: libdlfcn.a
.PHONY: all

libdlfcn.a: $(OBJECTS)
	$(AR) $(ARFLAGS) $@ $(OBJECTS)
	$(RANLIB) $@

check: all
.PHONY: check

install install-strip: all
.PHONY: install install-strip

uninstall:
.PHONY: uninstall

tags: $(SOURCES)
	ctags $(SOURCES)

TAGS: $(SOURCES)
	etags $(SOURCES)

clean:
	rm -f *.a *.o *.d
.PHONY: clean

mostlyclean:
	rm -f *.o
.PHONY: mostlyclean

distclean: clean
	rm -f Makefile
.PHONY: distclean

maintainer-clean: distclean
	rm -f tags TAGS
.PHONY: maintainer-clean

dist:
	ln $(DISTFILES) ../`cat ../.fname`/dlfcn
.PHONY: dist

conf-dist:
	ln octave.cc Makefile.in ../`cat ../.fname`/dlfcn
.PHONY: conf-dist

ifndef omit_deps
-include $(MAKEDEPS)
endif