File: Makefile.am

package info (click to toggle)
soqt 1.6.0~ea5cd76+ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 11,056 kB
  • sloc: sh: 11,393; cpp: 8,650; makefile: 8,649; perl: 863; ansic: 329
file content (290 lines) | stat: -rw-r--r-- 9,635 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
############################################################################
## Makefile.am

include src/Inventor/Qt/common/Makefile.common

############################################################################
## 

if BUILD_HTMLPAGES
HTMLDIR = html
else
HTMLDIR =
endif

if BUILD_HTMLHELP
HTMLHELPDIR = htmlhelp
else
HTMLHELPDIR =
endif

if BUILD_LIBRARY
# Material editor(s) not part of the public API yet, so there's
# no point yet in installing the material data.
#LIBDIR = data src
LIBDIR = src
else
LIBDIR =
endif

DOCDIRS = man $(HTMLDIR) $(HTMLHELPDIR)

SUBDIRS = . $(LIBDIR) $(DOCDIRS)

SoQtBuiltFiles = \
	src/Inventor/Qt/widgets/moc_QtNativePopupMenu.icc \
	src/Inventor/Qt/widgets/moc_SoQtGLArea.icc \
	src/Inventor/Qt/widgets/moc_SoQtThumbWheel.icc \
	src/Inventor/Qt/moc_SoQtSignalThread.icc


BUILT_SOURCES = \
	$(SoGuiAllBuiltFiles) \
	$(SoQtBuiltFiles)

CLEANFILES = \
	$(SoGui_BuiltMetaFiles)

DISTCLEANFILES = \
	libtool \
	$(SoGui_BuiltFiles) \
	$(SoGui_BuiltMetaFiles) \
	$(SoQtBuiltFiles)

if BUILD_LIBRARY
if MAC_FRAMEWORK
frameworkdatadir = $(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)/Resources
frameworkdata_DATA = Info.plist
endif


bin_SCRIPTS = so@gui@-config

m4datadir = $(datadir)/aclocal

# Don't replace "qt" with "@gui@" here, is it will p�kk up
# for ``make dist''.
dist_m4data_DATA = cfg/soqt.m4

cfgdatadir = $(datadir)/Coin/conf
cfgdata_DATA = so@gui@-@CONFIG@.cfg

endif

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= SoQt.pc

EXTRA_DIST = \
	FAQ \
	INSTALL.GNU \
	README.IRIX \
	README.WIN32 \
	README.MACOSX \
	Info.plist \
	SoQt.pc.in \
	build/misc/generate.sh \
	build/misc/config-wrapper.h \
	build/misc/install-sdk.bat \
	build/misc/install-headers.bat \
	build/misc/uninstall-headers.bat \
	build/misc/delete-moc-files.bat \
	build/misc/fixvcproj.sh \
	build/msvc6/src/Inventor/Qt/SoQtBasic.h \
	build/msvc6/src/config.h \
	build/msvc6/src/config-debug.h \
	build/msvc6/src/config-release.h \
	build/msvc6/src/soqtdefs.h \
	build/msvc6/soqt1.dsw \
	build/msvc6/soqt1.dsp \
	build/msvc6/soqt1_install.dsp \
	build/msvc6/soqt1_uninstall.dsp \
	build/msvc7/src/Inventor/Qt/SoQtBasic.h \
	build/msvc7/src/config.h \
	build/msvc7/src/config-release.h \
	build/msvc7/src/config-debug.h \
	build/msvc7/src/soqtdefs.h \
	build/msvc7/soqt1.sln \
	build/msvc7/soqt1.vcproj \
	build/msvc7/soqt1_install.vcproj \
	build/msvc7/soqt1_uninstall.vcproj \
	build/msvc8/src/Inventor/Qt/SoQtBasic.h \
	build/msvc8/src/config.h \
	build/msvc8/src/config-release.h \
	build/msvc8/src/config-debug.h \
	build/msvc8/src/soqtdefs.h \
	build/msvc8/soqt1.sln \
	build/msvc8/soqt1.vcproj \
	build/msvc8/soqt1_install.vcproj \
	build/msvc8/soqt1_uninstall.vcproj \
	cfg/soqt.m4 \
	cfg/gendsp.pl.in \
	docs/announcement-1_0_0.txt \
	docs/announcement-1_0_1.txt \
	docs/announcement-1_0_2.txt \
	docs/announcement-1_2_0.txt \
	docs/announcement-1_3_0.txt \
	docs/announcement-1_4_0.txt \
	docs/announcement-1_4_1.txt \
	docs/announcement-1_5_0.txt \
	docs/ChangeLog.v1.0.0 \
	docs/ChangeLog.v1.0.1 \
	docs/ChangeLog.v1.0.2 \
	docs/ChangeLog.v1.2.0 \
	docs/ChangeLog.v1.3.0 \
	docs/ChangeLog.v1.4.0 \
	docs/ChangeLog.v1.4.1 \
	docs/ChangeLog.v1.5.0 \
	models/coin_soqt.iv \
	models/coin_soqt.wrl \
	test-code/README \
	test-code/components/scrollview.cpp \
	test-code/components/tripleview.cpp \
	packaging/macosx/checklist.txt \
	packaging/macosx/SoQt_Description.plist.in \
	packaging/macosx/SoQt_Info.plist.in \
	packaging/macosx/SoQt_Welcome.rtf \
	packaging/macosx/SoQtTools_Description.plist.in \
	packaging/macosx/SoQtTools_Info.plist.in \
	packaging/macosx/SoQtTools_Welcome.rtf \
	packaging/macosx/inst-dmg-files/.DS_Store \
	packaging/macosx/inst-dmg-files/.VolumeIcon.icns \
	packaging/macosx/inst-dmg-files/dmg_bg.tiff \
	packaging/macosx/inst-dmg-files/Desktop_DB \
	packaging/macosx/inst-dmg-files/Desktop_DF \
	packaging/macosx/License.rtf \
	packaging/macosx/makesoqtpkg.sh.in \
	packaging/macosx/makesoqttoolspkg.sh.in \
	packaging/macosx/makedmg.sh.in \
	packaging/macosx/Makefile.in \
	packaging/macosx/makeinstdmg.sh.in \
	packaging/macosx/makenoinstdmg.sh.in \
	packaging/macosx/noinst-dmg-files/.DS_Store \
	packaging/macosx/noinst-dmg-files/.VolumeIcon.icns \
	packaging/macosx/noinst-dmg-files/dmg_bg.tiff \
	packaging/macosx/noinst-dmg-files/Desktop_DB \
	packaging/macosx/noinst-dmg-files/Desktop_DF \
	packaging/macosx/noinst-README-gcc4.txt.in \
	packaging/macosx/noinst-README-gcc3.txt.in \
	packaging/macosx/inst-README-gcc4.txt.in \
	packaging/macosx/inst-README-gcc3.txt.in \
	packaging/macosx/background.tiff \
	packaging/windows/Makefile.in \
	packaging/windows/bfheader.nsi.in \
	packaging/windows/footer.nsi.in \
	packaging/windows/heading.nsi.in \
	packaging/windows/middle.nsi.in \
	packaging/windows/post.nsi.in \
	packaging/windows/soqt-sdk.html.in \
	$(SoGuiCommonDistFiles) \
	$(SoGuiCommonWinFiles)

# Target which is present to make it simple to only generate all the source
# files from the common sources.

built-sources: $(BUILT_SOURCES)

############################################################################

all-local: built-sources

if BUILD_LIBRARY
if MAC_FRAMEWORK
## FIXME: this may be better suited in install-data-local  20011205 larsa
install-exec-local:
	@$(NORMAL_INSTALL)
	@echo "Setting up Mac OS X framework"
	@$(mkinstalldirs) $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/$(MAC_FRAMEWORK_VERSION)
	@ln -sf $(MAC_FRAMEWORK_VERSION) $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Versions/Current
	@ln -sf Versions/Current/Headers $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Headers
	@ln -sf Versions/Current/Libraries $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Libraries
	@ln -sf Versions/Current/Resources $(DESTDIR)$(MAC_FRAMEWORK_PREFIX)/$(MAC_FRAMEWORK_NAME).framework/Resources
#	@case "@ivincludedir@" in \
#	/Library/Frameworks/Inventor.framework/* ) \
#	  echo " ln -sf $(prefix)/Headers $(ivincludedir)/Qt"; \
#	  ln -sf $(prefix)/Headers $(ivincludedir)/Qt; \
#	  ;; \
#	esac
else
install-exec-local: built-sources $(srcdir)/cfg/wrapmsvc.exe
	@$(NORMAL_INSTALL)
	@if @BUILD_WITH_MSVC@; then \
	  echo " $(mkinstalldirs) $(DESTDIR)$(bindir)"; \
	  $(mkinstalldirs) "$(DESTDIR)$(bindir)"; \
	  p=wrapmsvc.exe; \
	  echo " $(INSTALL_PROGRAM) $(top_srcdir)/cfg/$$p $(DESTDIR)$(bindir)/$$p"; \
	  $(INSTALL_PROGRAM) "$(top_srcdir)/cfg/$$p" "$(DESTDIR)$(bindir)/$$p"; \
	fi
endif
endif

install-data-local: built-sources

# **************************************************************************
# misc rules for automatic Microsoft Windows packaging.
# main: `windows-packages'

windows-files:
	@if test -d windows; then :; else \
	  echo " mkdir windows"; \
	  mkdir windows; \
	fi
	@for file in $(top_srcdir)/packaging/windows/*.in; do \
	  basename=`echo $$file | sed 's%^.*/%%g; s%\.in$$%%'`; \
	  echo " config.status: generating windows/$$basename"; \
	  ./config.status --file=-:- >"windows/$$basename" <"$$file"; \
	done

windows-packages: windows-files
	@( cd windows; $(MAKE) VERSION=$(VERSION) )

# src/Inventor/Qt/widgets/moc_SoQtGradientDialogP.icc: $(srcdir)/src/Inventor/Qt/widgets/gradientp/SoQtGradientDialogP.h
# 	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/widgets/gradientp/SoQtGradientDialogP.h`
# 
# src/Inventor/Qt/widgets/moc_GradientView.icc: $(srcdir)/src/Inventor/Qt/widgets/gradientp/GradientView.h
# 	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/widgets/gradientp/GradientView.h`
# 
# src/Inventor/Qt/widgets/moc_SoQtColorTableEditorP.icc: $(srcdir)/src/Inventor/Qt/widgets/curvep/SoQtColorTableEditorP.h
# 	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/widgets/curvep/SoQtColorTableEditorP.h`
# 
# src/Inventor/Qt/widgets/moc_CurveView.icc: $(srcdir)/src/Inventor/Qt/widgets/curvep/CurveView.h
# 	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/widgets/curvep/CurveView.h`
# 
src/Inventor/Qt/widgets/moc_QtNativePopupMenu.icc: $(srcdir)/src/Inventor/Qt/widgets/QtNativePopupMenu.h
	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/widgets/QtNativePopupMenu.h`

src/Inventor/Qt/widgets/moc_SoQtThumbWheel.icc: $(srcdir)/src/Inventor/Qt/widgets/SoQtThumbWheel.h
	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/widgets/SoQtThumbWheel.h`

src/Inventor/Qt/widgets/moc_SoQtGLArea.icc: $(srcdir)/src/Inventor/Qt/widgets/SoQtGLArea.h
	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/widgets/SoQtGLArea.h`

src/Inventor/Qt/moc_SoQtSignalThread.icc: $(srcdir)/src/Inventor/Qt/SoQtSignalThread.h
	$(MOC) -i -o $@ `$(UNIX2WINPATH) $(srcdir)/src/Inventor/Qt/SoQtSignalThread.h`

# FIXME: use MACOSX_PACKAGEABLE as in Coin build setup? 20050928 kyrah 

macosx-files:
	@if test -d macosx; then :; else mkdir macosx; fi
	@for file in $(top_srcdir)/packaging/macosx/*.in; do \
	  basename=`basename $$file .in`; \
          if ! test -f macosx/$$basename; then \
	    ./config.status --file=macosx/$$basename:$$file; \
          fi \
	done

macosx-packages: macosx-files
macosx-packages:
	@( cd macosx; $(MAKE) VERSION=$(VERSION) )

# **************************************************************************

# FIXME: this should somehow be enabled to make sure the archive is
# bootstrappable, but since distcheck isn't run on our bootstrap server
# it is disabled for now.  Also, bootstrap needs to return a useful
# return code before it can be enabled.
#
# distcheck-hook:
# 	@cd $(distdir); \
# 	./bootstrap

# EOF ######################################################################