Add -fpermissive to linux standard c++ option define in linux.cf
[oweals/cde.git] / cde / lib / tt / demo / CoEd / 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/20 17:03:53 rswiston $                                                  
6 #
7 #
8 # @(#)SunMakefile       1.16 93/08/20
9 #
10 # The ToolTalk demo makefile
11 #
12 # Copyright (c) 1992,1993 by Sun Microsystems, Inc.
13 #
14
15 TT_DIR = ../..
16 THIS_DIR = CoEd
17
18 DEMO_SOURCES = \
19         CoEd.types \
20         README
21
22 include $(TT_DIR)/SunMakefile-head.mk
23
24 # The default target, all, doesn't make anything.  install copies
25 # the source to the install directory, renaming Makefile.shipped
26 # to Makefile.
27
28 # To actually make the demos using the ToolTalk in OPENWINHOME,
29 # make shipped
30
31 # To make the demos using the ToolTalk in $(TT_DIR)/proto, run
32 # make test
33
34 SUBDIRS = CoEd libCoEd
35 DEMO_DIR = share/src/tooltalk/demo/CoEd
36 INSTALL_DEMOS = $(DEMO_SOURCES:%=$(INSTALL_DIR)/$(DEMO_DIR)/%)
37 INSTALL_MAKEFILE = $(INSTALL_DIR)/$(DEMO_DIR)/Makefile
38
39 all::
40  
41 $(INSTALL_TARGETS)::     $$(INSTALL_DEMOS) $$(INSTALL_MAKEFILE)
42
43 $(INSTALL_MAKEFILE): Makefile.shipped
44         $(TTINSTALL) $(@D) Makefile.shipped;\
45         rm -f $@;\
46         mv $(@D)/Makefile.shipped $@
47
48 $(INSTALL_DEMOS): $$(@F)
49         $(TTINSTALL) $(INSTALL_DIR)/$(DEMO_DIR) $(@F)
50
51 shipped test:
52         MAKE="$(MAKE) -f Makefile.$@" $(MAKE) -f Makefile.$@
53
54 shippedclean:
55         MAKE="$(MAKE) -f Makefile.shipped" $(MAKE) -f Makefile.shipped clean
56
57 clean:  FRC
58         cd CoEd;         ${MAKE} -i -f Makefile.shipped clean; cd ..; \
59         cd libCoEd;      ${MAKE} -i -f Makefile.shipped clean; cd ..
60
61 include $(TT_DIR)/SunMakefile-tail.mk
62
63 FRC:
64