##
## Makefile.am,v 1.8 2002/12/19 05:03:12 ralf Exp
##


PGM = $(ARCH)/opbintctrl.rel

C_FILES = opbintctrl.c

include_HEADERS = opbintctrl.h

opb_intc_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))

include $(top_srcdir)/../../../../../../automake/compile.am
include $(top_srcdir)/../../../../../../automake/lib.am

#
# (OPTIONAL) Add local stuff here using +=
#

$(PGM): $(opb_intc_rel_OBJECTS)
	$(make-rel)

TMPINSTALL_FILES += $(PROJECT_INCLUDE) \
	$(include_HEADERS:%=$(PROJECT_INCLUDE)/%) 

$(PROJECT_INCLUDE):
	$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/%.h: %.h
	$(INSTALL_DATA) $< $@

all-local: $(ARCH) $(TMPINSTALL_FILES) $(opb_intc_rel_OBJECTS) $(PGM) 

.PRECIOUS: $(PGM)

EXTRA_DIST = opbintctrl.c opbintctrl.h

include $(top_srcdir)/../../../../../../automake/local.am
