#
# ${R_HOME}/src/modules/vfonts/Makefile
VPATH = @srcdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = ../../..
subdir = src/modules/vfonts
R_HOME = $(top_builddir)
include $(top_builddir)/Makeconf
SOURCES = g_alab_her.c g_cntrlify.c g_fontdb.c g_her_glyph.c
DEPENDS = $(SOURCES:.c=.d)
OBJECTS = $(SOURCES:.c=.lo)
HEADERS = g_cntrlify.h g_control.h g_extern.h g_her_metr.h g_jis.h
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
DISTFILES = \
Makefile.in Makefile.win $(SOURCES) $(HEADERS) \
dllversion.rc
##
## Change to 'vfonts.la' when using libtool for shlibs.
## Remove when using automake ... also fix target 'install' then.
vfonts_la = vfonts$(SHLIB_EXT)
##
Rexecmodulesdir_LTLIBRARIES = $(vfonts_la)
vfonts_la_SOURCES = $(SOURCES)
vfonts_la_OBJECTS = $(OBJECTS)
@USE_LIBTOOL_TRUE@vfonts_la_LDFLAGS = -avoid-version -rpath "$(Rexecmodulesdir)" -module
vfonts_la_LIBADD = $(LIBR)
all: Makefile Makedeps R
Makefile: $(srcdir)/Makefile.in \
$(top_builddir)/config.status \
$(SOURCES)
@cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
Makedeps: Makefile $(DEPENDS)
@cat $(DEPENDS) >> Makefile
@touch $@
R: Makefile
@$(MAKE) Makedeps
@$(MAKE) $(Rexecmodulesdir_LTLIBRARIES)
$(vfonts_la): $(vfonts_la_OBJECTS) $(vfonts_la_DEPENDENCIES)
$(SHLIB_LINK) -o $@ $(vfonts_la_LDFLAGS) $(vfonts_la_OBJECTS) $(vfonts_la_LIBADD) $(LIBS)
##
## Not sure if we want to do this ...
@$(MAKE) rhome="$(abs_top_builddir)" install
##
install: installdirs
@USE_LIBTOOL_FALSE@ @$(SHELL) $(top_srcdir)/tools/copy-if-change $(vfonts_la) "$(Rexecmodulesdir)/vfonts$(SHLIB_EXT)"
@USE_LIBTOOL_TRUE@ @$(LIBTOOL) --mode=install $(INSTALL) $(vfonts_la) "$(Rexecmodulesdir)"
installdirs:
@$(MKINSTALLDIRS) "$(Rexecmodulesdir)"
install-strip:
$(MAKE) INSTALL_PROGRAM="${INSTALL_PROGRAM} -s" install
uninstall:
@rm -f "$(Rexecmodulesdir)/vfonts$(SHLIB_EXT)"
mostlyclean: clean
clean:
@-rm -rf .libs _libs
@-rm -f Makedeps *.d *.o *.a *.lo *.la *$(SHLIB_EXT)
distclean: clean
@-rm -f Makefile
maintainer-clean: distclean
TAGS info dvi check:
distdir: $(DISTFILES)
@for f in $(DISTFILES); do \
test -f $(distdir)/$${f} \
|| ln $(srcdir)/$${f} $(distdir)/$${f} 2>/dev/null \
|| cp -p $(srcdir)/$${f} $(distdir)/$${f}; \
done
## Automagically generated dependencies: