root := ../../..
subdirs := 
clean-targets := none
targets := ./libVCL.a
# set bin so we don't build these .o's into shared lib
bin := noshare
include ${root}/Makefile.cfg
CPPFLAGS  += -I.
CPPFLAGS  += `gtk-config --cflags` -static

cpp += TObject.cpp
cpp += TPersistent.cpp
cpp += TComponent.cpp
cpp += TControl.cpp
cpp += TWinControl.cpp
cpp += TTreeNode.cpp
cpp += TTreeNodes.cpp
cpp += TCustomTreeView.cpp
cpp += TCustomTabControl.cpp
cpp += TPageControl.cpp
cpp += TTreeView.cpp
cpp += TCustomImageList.cpp
cpp += TDragImageList.cpp
cpp += TImageList.cpp

include ${root}/Makefile.post

./libVCL.a: $(o)
	$(AR) crs $@ $(o)
