1 # %% (c) Copyright 1993, 1994 Hewlett-Packard Company
2 # %% (c) Copyright 1993, 1994 International Business Machines Corp.
3 # %% (c) Copyright 1993, 1994 Sun Microsystems, Inc.
4 # %% (c) Copyright 1993, 1994 Novell, Inc.
5 # %% $XConsortium: SunMakefile /main/3 1995/10/23 09:45:17 rswiston $
6 # @(#)SunMakefile 1.8 93/08/23
7 # The ToolTalk demo makefile
9 # Copyright (c) 1992 by Sun Microsystems, Inc.
15 include $(TT_DIR)/SunMakefile-head.mk
36 # The default target, all, doesn't make anything. install copies
37 # the source to the install directory, renaming Makefile.shipped
40 # To actually make the demos using the ToolTalk in OPENWINHOME,
41 # run "make -f Makefile.shipped"
43 # To make the demos using the ToolTalk in $(TT_DIR)/proto, run
44 # "make -f Makefile.test".
49 DEMO_DIR = share/src/tooltalk/demo/CoEd/libCoEd
50 INSTALL_DEMOS = $(DEMO_SOURCES:%=$(INSTALL_DIR)/$(DEMO_DIR)/%)
51 INSTALL_MAKEFILE = $(INSTALL_DIR)/$(DEMO_DIR)/Makefile
53 $(INSTALL_TARGETS):: $$(INSTALL_DEMOS) $$(INSTALL_MAKEFILE)
55 $(INSTALL_DEMOS): $$(@F)
56 $(TTINSTALL) $(INSTALL_DIR)/$(DEMO_DIR) $(@F)
58 $(INSTALL_MAKEFILE): Makefile.shipped
59 $(TTINSTALL) $(@D) Makefile.shipped;\
61 mv $(@D)/Makefile.shipped $@
63 include $(TT_DIR)/SunMakefile-tail.mk