[BACK]Return to GNUmakefile CVS log [TXT][DIR] Up to [Development] / inventor / apps / samples / viewers

File: [Development] / inventor / apps / samples / viewers / GNUmakefile (download)

Revision 1.3, Tue Sep 25 00:45:26 2001 UTC (16 years, 1 month ago) by jlim
Branch: MAIN
CVS Tags: release-2_1_5-9, release-2_1_5-8, release-2_1_5-10, HEAD
Changes since 1.2: +4 -4 lines

Various changes:

  * Fixed Bug 63 and 64.

  * Handled nonstandard sed location.

  * Used for-loop in man page install.

  * Included casts for 64-bit builds.

  * Added placeholder for FreeBSD options.

  * Included unistd.h for getopt() and stdlib.h for malloc().

  * Implemented SoText[23] workaround for glibc-2.2.* iconv().

  * Split long lines in SoHandleBoxDraggerGeom.h and
    SoTransformerDraggerGeom.h in lib/interaction/src/draggers/geom.

  * Added IV_NO_OVERLAYS/OIV_NO_OVERLAYS variables to disable overlay planes.

IVDEPTH = ../../..
include $(IVDEPTH)/make/ivcommondefs

PROGRAM = viewerTest

LCXXINCS += -I$(IVDEPTH)/libSoXt/src/viewers

CXXFILES = \
	MyExamVwr.c++ \
	MyFullVwr.c++ \
	MyViewer.c++ \
	MyBitmapButton.c++ \
	viewerTest.c++

LLDLIBS = -lInventor -lInventorXt

all: all_ivbin

HF = MyExaminerViewer.h MyFullViewer.h MyViewer.h
CF = MyExamVwr.c++ MyFullVwr.c++ MyViewer.c++ MyBitmapButton.c++ MyBitmapButton.h

LTARGETS = $(HF) $(CF)

$(HF): My%: $(IVDEPTH)/libSoXt/include/Inventor/Xt/viewers/SoXt%
	sed -f ./nameScript \
		$(IVDEPTH)/libSoXt/include/Inventor/Xt/viewers/$(subst My,SoXt,$@) > $@
$(CF): My%: $(IVDEPTH)/libSoXt/src/viewers/SoXt%
	sed -f ./nameScript \
		$(IVDEPTH)/libSoXt/src/viewers/$(subst My,SoXt,$@) > $@

LDIRT += $(HF) $(CF)

include $(IVCOMMONRULES)