don't build the GUI version of tex2rtf wif --disable-gui

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-10-04 22:44:22 +00:00
parent 6f80247a06
commit 8be1c2c5b2
6 changed files with 39 additions and 15 deletions

View File

@@ -175,6 +175,9 @@ endif
ifeq ($(WXUNIV),1)
__WXUNIV_DEFINE_p_3 = --define __WXUNIVERSAL__
endif
ifeq ($(USE_GUI),1)
__tex2rtf_gui___depname = $(OBJS)\tex2rtf_gui.exe
endif
all: $(OBJS)
@@ -183,7 +186,7 @@ $(OBJS):
### Targets: ###
all: $(OBJS)\tex2rtf.exe $(OBJS)\tex2rtf_gui.exe
all: $(OBJS)\tex2rtf.exe $(__tex2rtf_gui___depname)
$(OBJS)\tex2rtf_gui_htmlutil.o: ./htmlutil.cpp
$(CXX) -c -o $@ $(TEX2RTF_GUI_CXXFLAGS) $<
@@ -244,7 +247,9 @@ clean:
$(OBJS)\tex2rtf.exe: $(TEX2RTF_OBJECTS)
$(CXX) -o $@ $(TEX2RTF_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
ifeq ($(USE_GUI),1)
$(OBJS)\tex2rtf_gui.exe: $(TEX2RTF_GUI_OBJECTS) $(OBJS)\tex2rtf_gui_sample_rc.o
$(CXX) -o $@ $(TEX2RTF_GUI_OBJECTS) $(LDFLAGS) $(__DEBUGINFO) -mthreads -L$(LIBDIRNAME) -Wl,--subsystem,windows -mwindows $(__WXLIB_HTML_p) $(__WXLIB_CORE_p) $(__WXLIB_BASE_p) $(__WXLIB_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) -lwxzlib$(WXDEBUGFLAG) -lwxregex$(WXDEBUGFLAG) -lwxexpat$(WXDEBUGFLAG) $(__UNICOWS_LIB_p) -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lodbc32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32
endif
.PHONY: all clean