Add GNU LGPL headers to all .c .C and .h files
[oweals/cde.git] / cde / lib / tt / demo / CoEd / libCoEd / SunMakefile
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
8 #
9 # Copyright (c) 1992 by Sun Microsystems, Inc.
10 #
11
12 TT_DIR = ../../..
13 THIS_DIR = libCoEd
14
15 include $(TT_DIR)/SunMakefile-head.mk
16
17 DEMO_SOURCES = \
18         CoEd.C \
19         CoEdFile.C \
20         CoEdSiteID.C \
21         CoEdTextChange.C \
22         CoEdTextVersion.C \
23         CoEdChangeHistory.C \
24         CoEdChangeQueue.C \
25         SiteChange.C \
26         CoEd.h \
27         CoEdChangeHistory.h \
28         CoEdChangeQueue.h \
29         CoEdFile.h \
30         CoEdGlobals.h \
31         CoEdSiteID.h \
32         CoEdTextChange.h \
33         CoEdTextVersion.h \
34         SiteChange.h
35
36 # The default target, all, doesn't make anything.  install copies
37 # the source to the install directory, renaming Makefile.shipped
38 # to Makefile.
39
40 # To actually make the demos using the ToolTalk in OPENWINHOME,
41 # run "make -f Makefile.shipped"
42
43 # To make the demos using the ToolTalk in $(TT_DIR)/proto, run
44 # "make -f Makefile.test".
45
46
47 all::
48
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
52
53 $(INSTALL_TARGETS)::    $$(INSTALL_DEMOS) $$(INSTALL_MAKEFILE)
54
55 $(INSTALL_DEMOS): $$(@F)
56         $(TTINSTALL) $(INSTALL_DIR)/$(DEMO_DIR) $(@F)
57
58 $(INSTALL_MAKEFILE): Makefile.shipped
59         $(TTINSTALL) $(@D) Makefile.shipped;\
60         rm -f $@;\
61         mv $(@D)/Makefile.shipped $@
62
63 include $(TT_DIR)/SunMakefile-tail.mk