59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
# %% (c) Copyright 1993, 1994 Hewlett-Packard Company
|
|
# %% (c) Copyright 1993, 1994 International Business Machines Corp.
|
|
# %% (c) Copyright 1993, 1994 Sun Microsystems, Inc.
|
|
# %% (c) Copyright 1993, 1994 Novell, Inc.
|
|
# %% $XConsortium: SunMakefile /main/3 1995/10/20 17:05:29 rswiston $
|
|
# @(#)SunMakefile 1.10 93/08/20
|
|
#
|
|
# The ToolTalk demo makefile
|
|
#
|
|
# Copyright (c) 1992 by Sun Microsystems, Inc.
|
|
#
|
|
|
|
TT_DIR = ../../..
|
|
THIS_DIR = CoEd
|
|
|
|
include $(TT_DIR)/SunMakefile-head.mk
|
|
|
|
DEMO_SOURCES = \
|
|
CoEditor.h \
|
|
CoEditor.C \
|
|
CoEdTextBuffer.C \
|
|
CoEdTextBuffer.h \
|
|
CoEd.C
|
|
|
|
# The default target, all, doesn't make anything. install copies
|
|
# the source to the install directory, renaming Makefile.shipped
|
|
# to Makefile.
|
|
|
|
# To actually make the demos using the ToolTalk in OPENWINHOME,
|
|
# make shipped
|
|
|
|
# To make the demos using the ToolTalk in $(TT_DIR)/proto, run
|
|
# make test
|
|
|
|
|
|
all::
|
|
|
|
DEMO_DIR = share/src/tooltalk/demo/CoEd/CoEd
|
|
INSTALL_DEMOS = $(DEMO_SOURCES:%=$(INSTALL_DIR)/$(DEMO_DIR)/%)
|
|
INSTALL_MAKEFILE = $(INSTALL_DIR)/$(DEMO_DIR)/Makefile
|
|
|
|
$(INSTALL_TARGETS):: $$(INSTALL_DEMOS) $$(INSTALL_MAKEFILE)
|
|
|
|
$(INSTALL_DEMOS): $$(@F)
|
|
$(TTINSTALL) $(INSTALL_DIR)/$(DEMO_DIR) $(@F)
|
|
|
|
$(INSTALL_MAKEFILE): Makefile.shipped
|
|
$(TTINSTALL) $(@D) Makefile.shipped;\
|
|
rm -f $@;\
|
|
mv $(@D)/Makefile.shipped $@
|
|
|
|
shipped test:
|
|
MAKE="$(MAKE) -f Makefile.$@" $(MAKE) -f Makefile.$@
|
|
|
|
shippedclean:
|
|
MAKE="$(MAKE) -f Makefile.shipped" $(MAKE) -f Makefile.shipped clean
|
|
|
|
include $(TT_DIR)/SunMakefile-tail.mk
|