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

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

Revision 1.1.1.1 (vendor branch), Tue Aug 15 12:55:59 2000 UTC (17 years, 2 months ago) by naaman
Branch: sgi
CVS Tags: start
Changes since 1.1: +0 -0 lines

Initial check-in based on 2.1.5 (SGI IRIX) source tree.

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

DEPTH = ../../..
LDIRT = *.d libInventorWidget.a componentTest
LCXXFLAGS += -DLIBRARYBUILD \
	    -I$(DEPTH)/lib/database/include/ \
	    -I$(DEPTH)/lib/interaction/include \
	    -I$(DEPTH)/nodekits/include \
	    -D__NO_MATH_INLINES \
	    -I$(DEPTH)/libSoXt/include \
	    -I$(DEPTH)/libimage 

LLDOPTS =\
	-L$(DEPTH)/libimage -L$(DEPTH)/lib/ \
	-L/usr/X11R6/lib -L$(DEPTH)/libSoXt \
	-L/usr/X11R6/lib

ifeq ($(usingLinux),1)
LLDOPTS += -L../../../libFL/src
endif

LLDLIBS = \
	-lInventorXt -lInventor \
	-limage \
	-lGLw -L/usr/X11R6/lib -lXm -lXt -lXi -lX11 \
	-lFL -lGLU -lGL \
	-lXext \
	-lX11 -ldl -lm

all:: libInventorWidget.a componentTest

CXXFILES=\
	MyUIRegion.c++ \
	MyColEd.c++ \
	MyColPatch.c++ \
	MyColSlider.c++ \
	MyColWheel.c++ \
	MyDropSite.c++ \
	MyFileRead.c++ \
	MySlider.c++ \
	MyThumbWhl.c++ \
	MyFloatCBList.c++ \
	MySimpleMtlEditor.c++ \
	MyMtlPal.c++  \
	MyTextureEd.c++

libInventorWidget.a: $(OBJECTS)
	ar clq $@ $(OBJECTS)

componentTest: $(OBJECTS) componentTest.o
	$(CXX) $(LDOPTS) $(OBJECTS) componentTest.o $(LDLIBS) -o $@

install: libInventorWidget.a

include $(COMMONRULES)