$(proc declare-sub-directory,src)

$(proc enter-component,amule)


$(proc add-type-options,c,o, $(CFLAGS))
$(proc add-type-options,cpp,o, -Isrc $(CXXFLAGS))

SOURCES = AddFriend.cpp \
	animate.cpp \
	BarShader.cpp \
	BaseClient.cpp \
	CatDialog.cpp \
	CFile.cpp \
	ClientCredits.cpp \
	ClientDetailDialog.cpp \
	ClientList.cpp \
	ClientUDPSocket.cpp \
	CMuleNotebookBase.cpp \
	ColorFrameCtrl.cpp \
	CommentDialog.cpp \
	CommentDialogLst.cpp \
	DirectoryTreeCtrl.cpp \
	DownloadClient.cpp \
	DownloadListCtrl.cpp \
	DownloadQueue.cpp \
	ED2KLink.cpp \
	EditServerListDlg.cpp \
	eggtrayicon.c \
	EMSocket.cpp \
	FileDetailDialog.cpp \
	filemem.cpp \
	Friend.cpp \
	FriendList.cpp \
	FriendListCtrl.cpp \
	gsocket.c \
	gtk2-funcs.c \
	gtkplugxembed.c \
	HTTPDownloadDlg.cpp \
	IPFilter.cpp \
	KnownFile.cpp \
	KnownFileList.cpp \
	listctrl.cpp \
	ListenSocket.cpp \
	mfc.cpp \
	MD5Sum.cpp \
	MuleListCtrl.cpp \
	MuleNotebook.cpp \
	muuli_wdr.cpp \
	OScopeCtrl.cpp \
	otherfunctions.cpp \
	packets.cpp \
	PartFile.cpp \
	PPgConnection.cpp \
	PPgDirectories.cpp \
	PPgFiles.cpp \
	PPgGeneral.cpp \
	PPgGuiTweaks.cpp \
	PPgIrc.cpp \
	PPgNotify.cpp \
	PPgServer.cpp \
	PPgSourcesDropping.cpp \
	PPgStats.cpp \
	PPgTweaks.cpp \
	Preferences.cpp \
	PreferencesDlg.cpp \
	QueueListCtrl.cpp \
	resource.cpp \
	SafeFile.cpp \
	SearchDlg.cpp \
	SearchList.cpp \
	SearchListCtrl.cpp \
	server.cpp \
	ServerList.cpp \
	ServerListCtrl.cpp \
	ServerSocket.cpp \
	ServerWnd.cpp \
	SharedFileList.cpp \
	SharedFilesCtrl.cpp \
	SharedFilesWnd.cpp \
	sockets.cpp \
	SplitterControl.cpp \
	StatisticsDlg.cpp \
	SysTray.cpp \
	TabCtrl.cpp\
	TransferWnd.cpp \
	treebasc.cpp \
	treectlc.cpp \
	UDPSocket.cpp \
	UploadClient.cpp \
	UploadListCtrl.cpp \
	UploadQueue.cpp \
	WebServer.cpp \
	WebSocket.cpp \
	Wizard.cpp \
	XBMDraw.cpp \
	amule.cpp \
	amuleDlg.cpp \
	../libxrc.a

$(proc add-entries,$(SOURCES))
$(proc copy-component-entries, libxrc)

$(proc add-file-options,amule.cpp,cpp,o,$(GTK_CFLAGS))
$(proc add-file-options,Preferences.cpp,cpp,o,-DHAVE_CONFIG_H)
$(proc add-file-options,../libxrc.a,a,,)

$(proc add-required-component,build,libxrc,build)

$(proc exit-component)

$(proc add-subdirs, wx/xrc)
$(proc enter-subdirectories)

