Files
cdesktop/cde/lib/tt/demo/CoEd/libCoEd/SunMakefile

64 lines
1.7 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/23 09:45:17 rswiston $
# @(#)SunMakefile 1.8 93/08/23
# The ToolTalk demo makefile
#
# Copyright (c) 1992 by Sun Microsystems, Inc.
#
TT_DIR = ../../..
THIS_DIR = libCoEd
include $(TT_DIR)/SunMakefile-head.mk
DEMO_SOURCES = \
CoEd.C \
CoEdFile.C \
CoEdSiteID.C \
CoEdTextChange.C \
CoEdTextVersion.C \
CoEdChangeHistory.C \
CoEdChangeQueue.C \
SiteChange.C \
CoEd.h \
CoEdChangeHistory.h \
CoEdChangeQueue.h \
CoEdFile.h \
CoEdGlobals.h \
CoEdSiteID.h \
CoEdTextChange.h \
CoEdTextVersion.h \
SiteChange.h
# 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,
# run "make -f Makefile.shipped"
# To make the demos using the ToolTalk in $(TT_DIR)/proto, run
# "make -f Makefile.test".
all::
DEMO_DIR = share/src/tooltalk/demo/CoEd/libCoEd
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 $@
include $(TT_DIR)/SunMakefile-tail.mk