3
# This file is a Makefile for the BLE executable.
5
# Copyright (c) 1999-2000 Ajuba Solutions.
7
# See the file "license.terms" for information on usage and redistribution
8
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
10
# RCS: @(#) $Id: Makefile.in,v 1.1 2004/03/04 00:47:28 airadier Exp $
51
$(srcdir)/pkgIndex.tcl
53
#STARTUP_SCRIPT = src/bwidget.tcl
55
#========================================================================
56
# Executable name for creating a wrapped application
57
# We don't currently build a wrapped bwidgets.
58
#========================================================================
60
#BWIDGET = bwidget$(EXEEXT)
62
#========================================================================
63
# Nothing of the variables below this line need to be changed.
64
#========================================================================
72
top_srcdir = @top_srcdir@
74
exec_prefix = @exec_prefix@
78
pkglibdir = $(libdir)/@PACKAGE@@VERSION@
83
INSTALL_PROGRAM = @INSTALL_PROGRAM@
84
INSTALL_DATA = @INSTALL_DATA@
85
INSTALL_SCRIPT = @INSTALL_SCRIPT@
92
CONFIGDIR = @CONFIGDIR@
93
mkinstalldirs = $(SHELL) $(CONFIGDIR)/mkinstalldirs
95
#========================================================================
96
# TEA TARGETS. Please note that the "libraries:" target refers to platform
97
# independent files, and the "binaries:" target inclues executable programs and
98
# platform-dependent libraries. Modify these targets so that they install
99
# the various pieces of your package. The make and install rules
100
# for the BINARIES that you specified above have already been done.
101
#========================================================================
103
all: binaries libraries doc
111
install: all install-binaries install-libraries install-doc
119
install-libraries: installdirs
120
@echo "Installing script files in $(DESTDIR)$(pkglibdir)"
121
@for i in $(BWIDGET_SOURCES) ; do \
122
$(INSTALL_SCRIPT) $(srcdir)/$$i $(DESTDIR)$(pkglibdir) ; \
124
@echo "Installing language files in $(DESTDIR)$(pkglibdir)/lang"
125
@for i in $(srcdir)/lang/*.rc ; do \
126
$(INSTALL_SCRIPT) $$i $(DESTDIR)$(pkglibdir)/lang ; \
128
@echo "Installing image files in $(DESTDIR)$(pkglibdir)/images"
129
@for i in $(srcdir)/images/*.gif $(srcdir)/images/*.xbm ; do \
130
$(INSTALL_SCRIPT) $$i $(DESTDIR)$(pkglibdir)/images ; \
132
$(INSTALL_SCRIPT) $(PKGINDEX_TCL) $(DESTDIR)$(pkglibdir)
135
@echo "Installing html documentation in $(DESTDIR)$(pkglibdir)/htmldoc"
136
@for i in $(srcdir)/BWman/*.html ; do \
137
$(INSTALL_SCRIPT) $$i $(DESTDIR)$(pkglibdir)/htmldoc ; \
141
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)
142
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)/lang
143
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)/images
144
$(mkinstalldirs) $(DESTDIR)$(pkglibdir)/htmldoc
147
-test -z "$(BINARIES)" || rm -f $(BINARIES)
148
-rm -f *.o core *.core
150
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
154
-rm -f Makefile $(CONFIG_CLEAN_FILES)
155
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
158
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
160
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
162
#config.status: $(srcdir)/configure
163
# $(SHELL) ./config.status --recheck
165
#$(srcdir)/configure: $(srcdir)/configure.in
166
# cd $(srcdir) && $(AUTOCONF) -l $(srcdir)/../../../sampleextension
168
.PHONY: all binaries clean depend distclean doc install installdirs \
171
# Tell versions [3.59,3.63) of GNU make to not export all variables.
172
# Otherwise a system limit (for SysV at least) may be exceeded.