Make.proto
author Claus Gittinger <cg@exept.de>
Mon, 20 Sep 2004 11:41:23 +0200
changeset 4276 5ed5cdab9f95
parent 3960 2af61ccfd26b
child 4546 4b84310a855f
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4276
5ed5cdab9f95 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3960
diff changeset
     1
# $Header: /cvs/stx/stx/libview/Make.proto,v 1.136 2004-09-20 09:41:23 cg Exp $
118
25e775072a89 *** empty log message ***
claus
parents: 109
diff changeset
     2
#
0
48194c26a46c Initial revision
claus
parents:
diff changeset
     3
# -------------- no need to change anything below ----------
48194c26a46c Initial revision
claus
parents:
diff changeset
     4
54
29a6b2f8e042 *** empty log message ***
claus
parents: 49
diff changeset
     5
TOP=..
0
48194c26a46c Initial revision
claus
parents:
diff changeset
     6
SUBDIRS=
54
29a6b2f8e042 *** empty log message ***
claus
parents: 49
diff changeset
     7
3031
9d47a9bcf8d4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2903
diff changeset
     8
MODULE=stx
3032
c633050e8ffa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3031
diff changeset
     9
MODULE_DIR=libview
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    10
LIBNAME=libview
3045
a4d9f898c3fb *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3044
diff changeset
    11
THIS_IS_A_BASE_LIBRARY="yes"
3031
9d47a9bcf8d4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2903
diff changeset
    12
PACKAGE=$(MODULE):$(LIBNAME)
2110
5612c6d213f5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    13
LIB_BASE=$(LIBVIEW_BASE)
2883
e6d56f2f6dd9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2781
diff changeset
    14
NM_LIB_BASE=LIBVIEW_BASE
2110
5612c6d213f5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    15
135
claus
parents: 130
diff changeset
    16
SMALLLIBNAME=libview_small
54
29a6b2f8e042 *** empty log message ***
claus
parents: 49
diff changeset
    17
STCOPT=$(LIBVIEW_STCOPT)
970
1b53d2dd6e61 new flagNames
Claus Gittinger <cg@exept.de>
parents: 968
diff changeset
    18
ZFLAG=-varPrefix=$(LIBNAME)
2570
5d1d7997bd7d added the PACKAGE definition
Claus Gittinger <cg@exept.de>
parents: 2561
diff changeset
    19
STCLOCALOPT='-package=$(PACKAGE)' $(COMMONSYMBOLS) $(SEPINITCODE) $(ZFLAG)
545
0fca512959c9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
    20
LINKOBJRULE=$(SEPINITLINKOBJRULE)
0
48194c26a46c Initial revision
claus
parents:
diff changeset
    21
1132
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
    22
LOCALDEFS=-I$(XINCLUDE) $(XDEFS) $(CC_3D_FLAGS)
67
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
    23
352
7d966f81da92 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 351
diff changeset
    24
DELIVERBINARIES=lib*.o lib*.a lib*.so $(LIBVIEW_EXTRA_TARGETS)
7d966f81da92 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 351
diff changeset
    25
2242
15f5107290db *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2229
diff changeset
    26
all::       abbrev.stc objs $(NOTINLIBOBJS) classList.stc $(OBJTARGET) $(LIBVIEW_EXTRA_TARGETS)
67
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
    27
3534
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
    28
showOBJS:
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
    29
	echo NOTINLIBOBJS=$(NOTINLIBOBJS)
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
    30
	echo OBJTARGET=$(OBJTARGET)
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
    31
	echo LIBVIEW_EXTRA_TARGETS=$(LIBVIEW_EXTRA_TARGETS)
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
    32
67
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
    33
#
68
4b41afdf9a53 big cleanup
claus
parents: 67
diff changeset
    34
# although all files are compiled here,
67
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
    35
# not everything goes into the target library
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
    36
#
1907
61fdff318175 Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents: 1905
diff changeset
    37
LINKOBJS=$(LIBOBJS)
548
00a67c219791 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 546
diff changeset
    38
168
claus
parents: 167
diff changeset
    39
#
claus
parents: 167
diff changeset
    40
# also, those objects are not to be placed into the liblist
claus
parents: 167
diff changeset
    41
#
claus
parents: 167
diff changeset
    42
patchLiblist::
claus
parents: 167
diff changeset
    43
	grep -v $(WORKSTAT1) < liblist.stc | grep -v $(WORKSTAT2) > ttt
claus
parents: 167
diff changeset
    44
	mv ttt liblist.stc
claus
parents: 167
diff changeset
    45
135
claus
parents: 130
diff changeset
    46
NOTINLIBOBJS= \
3960
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    47
	    $(OUTDIR)$(WORKSTAT1).$(O) \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    48
	    $(OUTDIR)$(WORKSTAT2).$(O)
135
claus
parents: 130
diff changeset
    49
claus
parents: 130
diff changeset
    50
REQUIREDOBJS=                                             \
3960
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    51
	    $(OUTDIR)GraphicsDevice.$(O)                           \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    52
	    $(OUTDIR)HostGraphicsDevice.$(O)                       \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    53
	    $(OUTDIR)DeviceWorkstation.$(O)                        \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    54
	    $(OUTDIR)Image.$(O)                                    \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    55
	      $(OUTDIR)Depth1Image.$(O)                            \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    56
	      $(OUTDIR)Depth2Image.$(O)                            \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    57
	      $(OUTDIR)Depth4Image.$(O)                            \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    58
	      $(OUTDIR)Depth8Image.$(O)                            \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    59
	      $(OUTDIR)Depth24Image.$(O)                           \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    60
	    $(OUTDIR)ImageReader.$(O)
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    61
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    62
SMALLOBJFILES= \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    63
	    $(REQUIREDOBJS)
135
claus
parents: 130
diff changeset
    64
384
3801bf11d1e2 some classes are not time critical
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
    65
#
3801bf11d1e2 some classes are not time critical
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
    66
# those can be compiled for space - not time critical
3801bf11d1e2 some classes are not time critical
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
    67
#
455
828d64b637a1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 436
diff changeset
    68
UNCRITICALOBJS= \
3960
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    69
	  $(OUTDIR)DisplayRootView.$(O)                  \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    70
	  $(OUTDIR)AlphaMask.$(O)
384
3801bf11d1e2 some classes are not time critical
Claus Gittinger <cg@exept.de>
parents: 368
diff changeset
    71
1907
61fdff318175 Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents: 1905
diff changeset
    72
LIBOBJS= \
141
claus
parents: 140
diff changeset
    73
	  $(REQUIREDOBJS)                       \
3960
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    74
	    $(OUTDIR)Color.$(O)                          \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    75
	    $(OUTDIR)Colormap.$(O)                       \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    76
	      $(OUTDIR)ColorPalette.$(O)                 \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    77
	      $(OUTDIR)MappedPalette.$(O)                \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    78
	      $(OUTDIR)MonoMappedPalette.$(O)            \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    79
	    $(OUTDIR)FontDescription.$(O)                \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    80
	      $(OUTDIR)Font.$(O)                         \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    81
	    $(OUTDIR)Cursor.$(O)                         \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    82
	    $(OUTDIR)DeviceHandle.$(O)                   \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    83
	    $(OUTDIR)GraphicsContext.$(O)                \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    84
	      $(OUTDIR)DeviceGraphicsContext.$(O)        \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    85
	      $(OUTDIR)GraphicsMedium.$(O)               \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    86
		  $(OUTDIR)Form.$(O)                     \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    87
		  $(OUTDIR)DisplaySurface.$(O)           \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    88
		    $(OUTDIR)SimpleView.$(O)             \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    89
		      $(OUTDIR)View.$(O)                 \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    90
			$(OUTDIR)TopView.$(O)            \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    91
			  $(OUTDIR)StandardSystemView.$(O) \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    92
			    $(OUTDIR)ModalBox.$(O)       \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    93
			  $(OUTDIR)PopUpView.$(O)        \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    94
			$(OUTDIR)ShadowView.$(O)         \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    95
		      $(OUTDIR)DisplayRootView.$(O)      \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    96
	    $(OUTDIR)Controller.$(O)                     \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    97
	    $(OUTDIR)WindowingTransformation.$(O)        \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    98
	    $(OUTDIR)WindowEvent.$(O)                    \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
    99
	    $(OUTDIR)WindowGroup.$(O)                    \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   100
	    $(OUTDIR)WindowSensor.$(O)                   \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   101
	      $(OUTDIR)SynchronousWindowSensor.$(O)      \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   102
	    $(OUTDIR)KeyboardForwarder.$(O)              \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   103
	    $(OUTDIR)KeyboardMap.$(O)                    \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   104
	    $(OUTDIR)ResourcePack.$(O)                   \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   105
	      $(OUTDIR)ViewStyle.$(O)                    \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   106
	    $(OUTDIR)Depth16Image.$(O)                   \
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   107
	    $(OUTDIR)Depth32Image.$(O)                   \
4276
5ed5cdab9f95 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3960
diff changeset
   108
	    $(OUTDIR)ImageMask.$(O)			 \
5ed5cdab9f95 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3960
diff changeset
   109
	    $(OUTDIR)OpenGLConstants.$(O)
1907
61fdff318175 Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents: 1905
diff changeset
   110
61fdff318175 Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents: 1905
diff changeset
   111
OBJS = \
61fdff318175 Make Device*Handles (used for finalization) private in their resp. classes.
Stefan Vogel <sv@exept.de>
parents: 1905
diff changeset
   112
	  $(LIBOBJS)                            \
1096
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   113
	  $(MOREOBJS)                           \
196
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
   114
	  $(NOTINLIBOBJS)
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   115
135
claus
parents: 130
diff changeset
   116
smalllib:
3534
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   117
	@-rm -f classList.stc
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   118
	@-rm -f libViewInit.o
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   119
	$(MAKE) objs        \
135
claus
parents: 130
diff changeset
   120
		 LIBNAME=$(SMALLLIBNAME) \
claus
parents: 130
diff changeset
   121
		 OBJS="$(REQUIREDOBJS)" \
1069
a8fe5f3af3ab *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 970
diff changeset
   122
		 LINKOBJS="$(SMALLOBJFILES)" \
3040
2beb04ef721e rule for smalllib must clear the generated init file
Claus Gittinger <cg@exept.de>
parents: 3032
diff changeset
   123
		 GENCLASSLIST_RULE=genClassList
3534
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   124
	$(MAKE) classList.stc \
3040
2beb04ef721e rule for smalllib must clear the generated init file
Claus Gittinger <cg@exept.de>
parents: 3032
diff changeset
   125
		 GENCLASSLIST_RULE=genClassList \
135
claus
parents: 130
diff changeset
   126
		 LIBNAME=$(SMALLLIBNAME) \
claus
parents: 130
diff changeset
   127
		 OBJS="$(REQUIREDOBJS)" \
1069
a8fe5f3af3ab *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 970
diff changeset
   128
		 LINKOBJS="$(SMALLOBJFILES)"
3534
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   129
	$(MAKE) obj$(TARGET_RULE_EXTENSION) \
135
claus
parents: 130
diff changeset
   130
		 LIBNAME=$(SMALLLIBNAME) \
claus
parents: 130
diff changeset
   131
		 OBJS="$(REQUIREDOBJS)" \
1069
a8fe5f3af3ab *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 970
diff changeset
   132
		 LINKOBJS="$(SMALLOBJFILES)" \
3040
2beb04ef721e rule for smalllib must clear the generated init file
Claus Gittinger <cg@exept.de>
parents: 3032
diff changeset
   133
		 GENCLASSLIST_RULE=genClassList
3534
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   134
	@-rm -f classList.stc
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   135
	@-rm -f libViewInit.o
113a0ba4626d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3491
diff changeset
   136
	@-rm -f libInit.cc
2
b35336ab0de3 *** empty log message ***
claus
parents: 0
diff changeset
   137
68
4b41afdf9a53 big cleanup
claus
parents: 67
diff changeset
   138
#
4b41afdf9a53 big cleanup
claus
parents: 67
diff changeset
   139
# NXWorkstation, XWorkstation and GLXWorkstation are not included in
4b41afdf9a53 big cleanup
claus
parents: 67
diff changeset
   140
# the classLibrary (but as extra objects)
4b41afdf9a53 big cleanup
claus
parents: 67
diff changeset
   141
#
536
3175c775ca16 classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents: 477
diff changeset
   142
specialClassList:
559
03ae038af131 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 557
diff changeset
   143
	    $(MAKE) $(GENCLASSLIST_RULE) GENCLASSLIST_RULE=$(GENCLASSLIST_RULE) LIBNAME=$(LIBNAME) OBJS="$(OBJS)" LINKOBJS="$(LINKOBJS)"
2895
a375a8be805e Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents: 2894
diff changeset
   144
	    @if test -f classList.stc; then \
a375a8be805e Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents: 2894
diff changeset
   145
	      grep -v $(WORKSTAT1) < classList.stc > ttt; \
a375a8be805e Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents: 2894
diff changeset
   146
	      mv ttt classList.stc; \
a375a8be805e Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents: 2894
diff changeset
   147
	      grep -v $(WORKSTAT2) < classList.stc > ttt; \
a375a8be805e Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents: 2894
diff changeset
   148
	      mv ttt classList.stc; \
a375a8be805e Do not abort when (optional) classList.stc is missing
Stefan Vogel <sv@exept.de>
parents: 2894
diff changeset
   149
	    fi
68
4b41afdf9a53 big cleanup
claus
parents: 67
diff changeset
   150
536
3175c775ca16 classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents: 477
diff changeset
   151
CLASSLISTRULE=specialClassList
3175c775ca16 classList-rule now in stdRules
Claus Gittinger <cg@exept.de>
parents: 477
diff changeset
   152
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   153
cleanjunk::
3949
53834a8bf21e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3899
diff changeset
   154
	    @-rm -f *.c *.s *.s2 *.H
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   155
3802
23a48e42d520 Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents: 3692
diff changeset
   156
#
23a48e42d520 Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents: 3692
diff changeset
   157
# in some systems these .o files are loaded into the system.
23a48e42d520 Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents: 3692
diff changeset
   158
# Save them, but make sure that they are rebuild on next make!
23a48e42d520 Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents: 3692
diff changeset
   159
#
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   160
clean::
3960
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   161
	    @-mv $(OUTDIR)XWorkstation.o $(OUTDIR)XWorkstation.o.sav
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   162
	    @-mv $(OUTDIR)GLXWorkstation.o $(OUTDIR)GLXWorkstation.o.sav
3950
1a378821a380 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3949
diff changeset
   163
	    @-rm -f [A-Z]*.o *.s *.s2 *.c *.H
3960
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   164
	    @-mv $(OUTDIR)XWorkstation.o.sav $(OUTDIR)XWorkstation.o
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   165
	    @-mv $(OUTDIR)GLXWorkstation.o.sav $(OUTDIR)GLXWorkstation.o
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   166
	    @-touch $(OUTDIR)XWorkstation.st $(OUTDIR)GLXWorkstation.st
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   167
48194c26a46c Initial revision
claus
parents:
diff changeset
   168
clobber::
3802
23a48e42d520 Ensure, that GLXWorktation.o and XWorkstation.o is rebuild after clean
Stefan Vogel <sv@exept.de>
parents: 3692
diff changeset
   169
	    @-rm -f *.so *.o *.c *.H classList.stc abbrev.stc
0
48194c26a46c Initial revision
claus
parents:
diff changeset
   170
48194c26a46c Initial revision
claus
parents:
diff changeset
   171
#
3960
2af61ccfd26b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3950
diff changeset
   172
# XWorkstatation and GLXWorkstatation are separate (shared) Objects - compile without sepInitCode 
968
b042b0b62baa dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   173
# and without -Zlibview (to speedup ld.so on SGI, by avoiding conflicts)
b042b0b62baa dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   174
#
b042b0b62baa dont compile XWorkstat & GLXWorkstat with -Zlibview - avoids load conflicts on SGI for faster startup
Claus Gittinger <cg@exept.de>
parents: 727
diff changeset
   175
3677
d9972617579b Fix depedencies
Stefan Vogel <sv@exept.de>
parents: 3630
diff changeset
   176
XWorkstation.$(O): XWorkstation.st $(INCLUDE)/DeviceWorkstation.H $(INCLUDE)/HostGraphicsDevice.H $(INCLUDE)/GraphicsDevice.H
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   177
	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=XWorkstation \
2903
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   178
		CC="$(CC)" OPT="$(OPT)" \
2561
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   179
		CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   180
		SEPINITCODE=-sepInitCode ZFLAG=
81
4ba554473294 *** empty log message ***
claus
parents: 78
diff changeset
   181
3899
7d2fc7e2c9d2 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3874
diff changeset
   182
__GLXWorkstation.$(O): GLXWorkstation.st $(INCLUDE)/XWorkstation.H $(INCLUDE)/DeviceWorkstation.H $(INCLUDE)/HostGraphicsDevice.H $(INCLUDE)/GraphicsDevice.H $(INCLUDE)/stc.h
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   183
	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=GLXWorkstation \
2561
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   184
		CC="$(CC)" OPT="$(OPT)" \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   185
		CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
1683
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   186
		SEPINITCODE=-sepInitCode ZFLAG=
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   187
	mv GLXWorkstation.$(O) __GLXWorkstation.$(O)
2070
5e1b6b49ce73 dont recompile GLXWorkstat.st for every gl-change
Claus Gittinger <cg@exept.de>
parents: 2055
diff changeset
   188
3692
ee9adf79e07e Dependencies
Stefan Vogel <sv@exept.de>
parents: 3677
diff changeset
   189
GLXWorkstation.$(O): glLib __GLXWorkstation.$(O) 
2109
1d79465f3019 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2108
diff changeset
   190
	@if [ "$(NO_PRELINK_LIBGL)" = "" ]; \
2108
d41d30758db0 allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents: 2070
diff changeset
   191
	then\
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   192
	    echo $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   193
	    $(CLASSLIB_LD) $(LD_REL_FLAG) -o GLXWorkstation.$(O) __GLXWorkstation.$(O) $(LIB_GL); \
2108
d41d30758db0 allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents: 2070
diff changeset
   194
	else \
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   195
	    echo cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   196
	    cp __GLXWorkstation.$(O) GLXWorkstation.$(O); \
2108
d41d30758db0 allow suppress of prelink with gl-lib (sgi)
Claus Gittinger <cg@exept.de>
parents: 2070
diff changeset
   197
	fi
54
29a6b2f8e042 *** empty log message ***
claus
parents: 49
diff changeset
   198
2055
f72ab31d05c3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2026
diff changeset
   199
glLib:
3491
856c016bf8a1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3209
diff changeset
   200
	@-if [ -d ../support/VGL ]; then \
856c016bf8a1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3209
diff changeset
   201
	    (cd ../support/VGL ; $(MAKE) ) ; \
856c016bf8a1 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3209
diff changeset
   202
	fi
2055
f72ab31d05c3 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2026
diff changeset
   203
2900
7d78e8af40de *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2897
diff changeset
   204
DeviceWorkstation.$(O):
7d78e8af40de *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2897
diff changeset
   205
	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceWorkstation \
2561
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   206
		CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   207
		CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
552
9d16b65616f6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 550
diff changeset
   208
154
claus
parents: 153
diff changeset
   209
SimpleView.$(O):
2561
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   210
	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=SimpleView \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   211
		CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   212
		CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
54
29a6b2f8e042 *** empty log message ***
claus
parents: 49
diff changeset
   213
550
9055910b0225 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 548
diff changeset
   214
Image.$(O):
2561
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   215
	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Image \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   216
		CC="$(CC)" OPT="$(OPT)" SEPINITCODE="$(SEPINITCODE)" \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   217
		CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)"
550
9055910b0225 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 548
diff changeset
   218
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   219
#OGLWorkstation.$(O): OGLWorkstation.st
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   220
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation CC=$(CC) OPT="$(OPT)" \
1683
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   221
#               XDEFS="-DOPENGL -I$(MESA_DIR)/include" SEPINITCODE=-sepInitCode ZFLAG=
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   222
#       $(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
1683
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   223
#               $(MESA_DIR)/lib/libMesaGL.a \
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   224
#               $(MESA_DIR)/lib/libMesaGLU.a \
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   225
#               $(MESA_DIR)/lib/libMesaaux.a
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   226
#       mv ttt.$(O) OGLWorkstation.$(O)
1132
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   227
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   228
OGLWorkstation.$(O): GLXWorkstation.st
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   229
	cp GLXWorkstation.st OGLWorkstation.st
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   230
	$(MAKE) $(BIG_STFILE_RULE) BIG_FILE=OGLWorkstation \
2561
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   231
		CC="$(CC)" OPT="$(OPT)" \
ca2c81942f91 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2555
diff changeset
   232
		CLASSLIB_CC="$(CLASSLIB_CC)" CLASSLIB_OPT="$(CLASSLIB_OPT)" \
1914
31190671b11a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1908
diff changeset
   233
		CC_VOGL_FLAGS="$(CC_MESA_INCLUDE) -DOPENGL -DMESA -UVGL -UGLX"\
1132
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   234
		SEPINITCODE=-sepInitCode ZFLAG=
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   235
	$(CLASSLIB_LD) -r -o ttt.$(O) OGLWorkstation.$(O) \
1132
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   236
		$(MESA_DIR)/lib/libMesaGL.a \
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   237
		$(MESA_DIR)/lib/libMesaGLU.a \
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   238
		$(MESA_DIR)/lib/libMesaaux.a
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   239
	mv ttt.$(O) OGLWorkstation.$(O)
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   240
	rm -f OGLWorkstation.st
1132
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   241
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   242
#ogl:
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   243
#       $(MAKE) OGLWorkstation.o XDEFS="-DOPENGL -I$(VOGL_DIR) -DSHAPE" SEPINITCODE=-sepInitCode ZFLAG=
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   244
#       mv OGLWorkstation.o ttt.o
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   245
#       $(CLASSLIB_LD) -r -o OGLWorkstation.o ttt.o \
1683
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   246
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGL.a   \
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   247
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaGLU.a  \
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   248
#               $(TOP)/support/MESA/Mesa1.2.5/lib/libMesaaux.a  \
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   249
#               /lib/libc.so.4
1132
af35598c21ed *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1102
diff changeset
   250
193
Claus Gittinger <cg@exept.de>
parents: 184
diff changeset
   251
#
Claus Gittinger <cg@exept.de>
parents: 184
diff changeset
   252
# on my 320H, do not compile DeviceWorkstation with -O2;
Claus Gittinger <cg@exept.de>
parents: 184
diff changeset
   253
# compiler is running out of space ...
Claus Gittinger <cg@exept.de>
parents: 184
diff changeset
   254
#
1606
b004d98f2655 need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents: 1285
diff changeset
   255
#AIX_BIGGIES:
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   256
#       $(MAKE) GraphicsContext.$(O)
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   257
#       $(MAKE) DeviceGraphicsContext.$(O)
2900
7d78e8af40de *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2897
diff changeset
   258
#       $(MAKE) OPT= DeviceWorkstation.$(O)
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   259
#       $(MAKE) OPT= XWorkstation.$(O)
1683
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   260
#       $(MAKE) OPT= Image.$(O)
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   261
#       $(MAKE) OPT= SimpleView.$(O)
166
claus
parents: 157
diff changeset
   262
54
29a6b2f8e042 *** empty log message ***
claus
parents: 49
diff changeset
   263
#
1096
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   264
# prelink those - cannot mix non-shared with shared objects (sigh)
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   265
#
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   266
AIX_SHARED_XWORKSTATION:
2900
7d78e8af40de *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2897
diff changeset
   267
	$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   268
	$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   269
	@-echo "__XErrorHandler__" >> XWorkstation.exp
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   270
	@-echo "__XIOErrorHandler__" >> XWorkstation.exp
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   271
	$(MAKE) XWorkstation$(O_EXT) \
1096
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   272
		ENTRY_INIT=XWorkstation \
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   273
		AIX_LOCAL_LIBS="$(LIBX)"
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   274
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   275
AIX_SHARED_GLXWORKSTATION:
2900
7d78e8af40de *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2897
diff changeset
   276
	$(MAKE) GraphicsDevice.$(O) HostGraphicsDevice.$(O) DeviceWorkstation.$(O)
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   277
	$(MAKE) aix_exports LIBNAME=XWorkstation ENTRY=XWorkstation
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   278
	@-echo "__XErrorHandler__" >> XWorkstation.exp
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   279
	@-echo "__XIOErrorHandler__" >> XWorkstation.exp
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   280
	$(MAKE) GLXWorkstation$(O_EXT) \
1096
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   281
		ENTRY_INIT=GLXWorkstation \
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   282
		AIX_LOCAL_LIBS="-bI:XWorkstation.exp $(LIB_GL) $(LIBX) -lm"
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   283
	rm -f XWorkstation.exp
1096
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   284
2781
f9ab71c37424 aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents: 2753
diff changeset
   285
#
f9ab71c37424 aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents: 2753
diff changeset
   286
# in (my) aix system, those cannot be compiled with
f9ab71c37424 aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents: 2753
diff changeset
   287
# the optimizer - running out of space ...
f9ab71c37424 aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents: 2753
diff changeset
   288
#
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   289
AIX::   GraphicsContext.$(O) DeviceGraphicsContext.$(O) GraphicsMedium.$(O) DisplaySurface.$(O)
2781
f9ab71c37424 aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents: 2753
diff changeset
   290
	$(MAKE) OPT="" SimpleView.$(O)
f9ab71c37424 aix make rules (no optimizer)
Claus Gittinger <cg@exept.de>
parents: 2753
diff changeset
   291
	$(MAKE) OPT="" Image.$(O)
1606
b004d98f2655 need new functions in export file for AIX
Claus Gittinger <cg@exept.de>
parents: 1285
diff changeset
   292
	$(MAKE) $(AIX_XWORKSTATION_RULE) $(AIX_GLXWORKSTATION_RULE)
1096
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   293
3e0d1a7f65b1 aix shared lib changes
Claus Gittinger <cg@exept.de>
parents: 1076
diff changeset
   294
#
666
321c58bf8202 HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents: 663
diff changeset
   295
# on HP, big classes blow the C-preprocessor (stops with 'too much defining' error)
321c58bf8202 HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents: 663
diff changeset
   296
#
1102
2cf7817e4461 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1097
diff changeset
   297
#HP::
2cf7817e4461 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1097
diff changeset
   298
#
2cf7817e4461 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1097
diff changeset
   299
#HPbigFiles:
1683
a4c1b272d899 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1632
diff changeset
   300
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=Color CC=$(CC) OPT="$(OPT)"
2897
ef29d61be9b0 no abbrevs
Claus Gittinger <cg@exept.de>
parents: 2895
diff changeset
   301
#       $(MAKE) $(BIG_STFILE_RULE) BIG_FILE=DeviceGraphicsContext CC=$(CC) OPT="$(OPT)"
666
321c58bf8202 HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents: 663
diff changeset
   302
321c58bf8202 HP's cc crashes with too many #defines
Claus Gittinger <cg@exept.de>
parents: 663
diff changeset
   303
#
67
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
   304
# install the extra objects
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
   305
#
2903
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   306
installLibs::
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   307
	@-if [ "$(WORKSTAT1)" != "" ]; then             \
3043
d838745b8d0c install rules fixed
Claus Gittinger <cg@exept.de>
parents: 3041
diff changeset
   308
	    $(MAKE) installSharedLib LIBNAME=$(WORKSTAT1); \
2903
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   309
	fi
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   310
	@-if [ "$(WORKSTAT2)" != "" ]; then             \
3043
d838745b8d0c install rules fixed
Claus Gittinger <cg@exept.de>
parents: 3041
diff changeset
   311
	    $(MAKE) installSharedLib LIBNAME=$(WORKSTAT2); \
2903
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   312
	fi
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   313
	@-if [ "$(WORKSTAT3)" != "" ]; then             \
3043
d838745b8d0c install rules fixed
Claus Gittinger <cg@exept.de>
parents: 3041
diff changeset
   314
	    $(MAKE) installSharedLib LIBNAME=$(WORKSTAT3); \
2903
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   315
	fi
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   316
	@-if [ "$(WORKSTAT4)" != "" ]; then             \
3043
d838745b8d0c install rules fixed
Claus Gittinger <cg@exept.de>
parents: 3041
diff changeset
   317
	    $(MAKE) installSharedLib LIBNAME=$(WORKSTAT4); \
2903
815b2cb309b9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2900
diff changeset
   318
	fi
67
ca9a866eec14 cleanup
claus
parents: 54
diff changeset
   319
3044
ce8e5be1e21d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3043
diff changeset
   320
installResources:: $(INSTALLLIB_DIR)/resources
ce8e5be1e21d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3043
diff changeset
   321
	@-for i in styles/*; do            \
3209
f3bc5a84b7ca *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3045
diff changeset
   322
	  if [ "$$i" != "styles/CVS" ]; then \
f3bc5a84b7ca *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3045
diff changeset
   323
	    $(INSTALL_AUX_CMD) $$i $(INSTALLLIB_DIR)/resources; \
f3bc5a84b7ca *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3045
diff changeset
   324
	  fi; \
f3bc5a84b7ca *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3045
diff changeset
   325
	done;
3044
ce8e5be1e21d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3043
diff changeset
   326
169
claus
parents: 168
diff changeset
   327
# BEGINMAKEDEPEND --- do not remove this line; make depend needs it 
claus
parents: 168
diff changeset
   328
# ENDMAKEDEPEND --- do not remove this line