
lib_LTLIBRARIES=libCamGui.la CamGui.la

BUILT_SOURCES=\
		ui_Cutting.h \
		moc_Cutting.cpp

libCamGui_la_SOURCES=\
		Command.cpp \
		Cutting.cpp \
		Cutting.h \
		PreCompiled.cpp \
		PreCompiled.h \
		Workbench.cpp \
		Workbench.h

# the library search path.
libCamGui_la_LDFLAGS = -L../../../Base -L../../../App -L../../../Gui -L../App $(QT_LIBS) $(sim_ac_coin_ldflags) \
                -L../../Part/Gui \
                $(sim_ac_coin_libs) $(sim_ac_soqt_ldflags) $(sim_ac_soqt_libs) -L$(OCC_LIB) $(all_libraries) \
		-version-info @LIB_CURRENT@:@LIB_REVISION@:@LIB_AGE@
libCamGui_la_CPPFLAGS = $(sim_ac_coin_cppflags) -DAppCamExport= -DAppCamGuiExport=

libCamGui_la_LIBADD   = \
		-lxerces-c \
		-l@PYTHON_LIB@ \
		-lFreeCADBase \
		-lFreeCADApp \
		-lFreeCADGui \
		-lTKernel \
		-lPartGui \
		-lCam 

#--------------------------------------------------------------------------------------
# Loader of libCamGui

CamGui_la_SOURCES=\
		AppCamGui.cpp

# the library search path.
CamGui_la_LDFLAGS = $(libCamGui_la_LDFLAGS) -module -avoid-version
CamGui_la_CPPFLAGS = $(libCamGui_la_CPPFLAGS)

CamGui_la_LIBADD   = \
		$(libCamGui_la_LIBADD) \
		-lCamGui

CamGui_la_DEPENDENCIES = libCamGui.la

#--------------------------------------------------------------------------------------

# rule for Qt MetaObject Compiler:
moc_%.cpp: %.h
	$(QT_MOC) $< -o $(@F)

# rule for Qt MetaObject Compiler:
%.moc: %.h
	$(QT_MOC) $< -o $(@F)

# rules for Qt User Interface Compiler:
ui_%.h: %.ui
	$(QT_UIC) $< -o $(@F)

# rules for Qt Resource Compiler:
qrc_%.cpp: %.qrc
	$(QT_RCC) -name $(*F) $< -o $(@F)

# set the include path found by configure
AM_CXXFLAGS = -I$(top_srcdir)/src -I$(top_builddir)/src $(QT_CXXFLAGS) -I$(OCC_INC) $(all_includes)


libdir = $(prefix)/Mod/Cam

CLEANFILES = $(BUILT_SOURCES)

EXTRA_DIST = \
		CMakeLists.txt \
		Cutting.ui
