From: andrew7 <bd...@us...> - 2005-11-21 16:49:25
|
Update of /cvsroot/smartwin/SmartWin/tests/WidgetDateTimePicker In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3104/tests/WidgetDateTimePicker Added Files: Makefile.wine Log Message: --- NEW FILE: Makefile.wine --- ### Generated by Winemaker SRCDIR = . DLLS = EXES = datetime.exe ### Common settings CEXTRA = CXXEXTRA = RCEXTRA = INCLUDE_PATH = -I. -I../../include DLL_PATH = LIBRARY_PATH = -L../../lib LIBRARIES = -lsmartwin -lcomctl32 ### datetime.exe sources and settings datetime_exe_MODULE= datetime.exe datetime_exe_C_SRCS= datetime_exe_CXX_SRCS= Main.cpp datetime_exe_RC_SRCS= datetime_exe_LDFLAGS= -mwindows \ -mno-cygwin datetime_exe_DLL_PATH= datetime_exe_DLLS = odbc32 \ ole32 \ oleaut32 \ winspool datetime_exe_LIBRARY_PATH= datetime_exe_LIBRARIES= uuid datetime_exe_OBJS = $(datetime_exe_C_SRCS:.c=.o) \ $(datetime_exe_CXX_SRCS:.cpp=.o) \ $(datetime_exe_RC_SRCS:.rc=.res) ### Global source lists C_SRCS = $(datetime_exe_C_SRCS) CXX_SRCS = $(datetime_exe_CXX_SRCS) RC_SRCS = $(datetime_exe_RC_SRCS) ### Tools CC = winegcc CXX = wineg++ RC = wrc ### Generic targets all: $(DLLS:%=%.so) $(EXES:%=%.so) ### Build rules .PHONY: all clean dummy $(SUBDIRS): dummy @cd $@ && $(MAKE) # Implicit rules .SUFFIXES: .cpp .rc .res DEFINCL = $(INCLUDE_PATH) $(DEFINES) $(OPTIONS) .c.o: $(CC) -c $(CFLAGS) $(CEXTRA) $(DEFINCL) -o $@ $< .cpp.o: $(CXX) -c $(CXXFLAGS) $(CXXEXTRA) $(DEFINCL) -o $@ $< .cxx.o: $(CXX) -c $(CXXFLAGS) $(CXXEXTRA) $(DEFINCL) -o $@ $< .rc.res: $(RC) $(RCFLAGS) $(RCEXTRA) $(DEFINCL) -fo$@ $< # Rules for cleaning CLEAN_FILES = y.tab.c y.tab.h lex.yy.c core *.orig *.rej \ \\\#*\\\# *~ *% .\\\#* clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__) $(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(C_SRCS:.c=.o) $(CXX_SRCS:.cpp=.o) $(RM) $(DLLS:%=%.so) $(EXES:%=%.so) $(EXES:%.exe=%) $(SUBDIRS:%=%/__clean__): dummy cd `dirname $@` && $(MAKE) clean $(EXTRASUBDIRS:%=%/__clean__): dummy -cd `dirname $@` && $(RM) $(CLEAN_FILES) ### Target specific build rules DEFLIB = $(LIBRARY_PATH) $(LIBRARIES) $(DLL_PATH) $(datetime_exe_MODULE).so: $(datetime_exe_OBJS) $(CXX) $(datetime_exe_LDFLAGS) -o $@ $(datetime_exe_OBJS) $(datetime_exe_LIBRARY_PATH) $(DEFLIB) $(datetime_exe_DLLS:%=-l%) $(datetime_exe_LIBRARIES:%=-l%) # Execute the built program. run: $(datetime_exe_MODULE).so wine $(datetime_exe_MODULE).so |