view dlfcn/Makefile.in @ 2703:41d6a1c814c4

[project @ 1997-02-19 19:25:55 by jwe]
author jwe
date Wed, 19 Feb 1997 19:25:56 +0000
parents be083921a2d4
children 650ab15f8954
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 Makefile.orig

all: libdlfcn.a
.PHONY: all

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

check: all
.PHONY: check

install: all
.PHONY: install

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