1 # Project: libgstreamer
2 # Makefile to use with GNU Make
4 # Uses the Free Visual C++ 2003 compiler from Microsoft
5 # http://msdn.microsoft.com/visualc/vctoolkit2003/
7 # Compile with debug information ? IMPOSSIBLE with the free version of the compiler
10 # Link with MSVCRT as a DLL ? IMPOSSIBLE with the free version of the compiler
17 # Don't change anything below this line.
21 SRC = $(SRC_DIR)\gst-inspect.obj
22 OBJ = $(patsubst %.c,%.obj,$(SRC))
23 INCS = /I. /I.. /I../libs /I../../popt/include /I../../libiconv/include /I../../libxml2/include/libxml2 /I$(GLIB_DIR) /I$(GLIB_DIR)\glib /I$(GLIB_DIR)\gmodule /I$(GLIB_DIR)\build\win32
24 LDFLAGS = /NOLOGO /DLL /IMPLIB:gstreamer-0.8.lib /MAP:gst-inspect.map /LIBPATH:$(GLIB_DIR)/glib /LIBPATH:$(GLIB_DIR)/gobject /LIBPATH:$(GLIB_DIR)/gmodule /LIBPATH:$(GLIB_DIR)/gthread /LIBPATH:../../popt/lib /LIBPATH:../../libxml2/lib
25 OPTMIZ = /G6 /O2 /Oi /Wp64 /GL
26 CXXFLAGS = $(INCS) /DWIN32 /D_WINDOWS /DHAVE_CONFIG_H /D_USRDLL /DHAVE_WIN32 /nologo
29 HEADERS = $(SRC_DIR)\gstconfig.h $(SRC_DIR)\gstenumtypes.h $(SRC_DIR)\gstversion.h $(SRC_DIR)\gstenumtypes.c $(SRC_DIR)\gstmarshal.h
38 CXXFLAGS += /Zi /DDEBUG /D_DEBUG /RTC1
48 CXXFLAGS += /DGST_DISABLE_GST_DEBUG
52 .PHONY: all all-before all-after clean clean-custom
55 $(CXX) $< /c $(CXXFLAGS) /Fo$@
58 $(CC) $< /c $(CXXFLAGS) /Fo$@
63 $(RM) gst-inspect.exe gst-inspect.obj
66 $(CC) $(SRC_DIR)\gst-inspect.c $(CXXFLAGS) gstreamer-0.8.lib $(GLIB_DIR)/glib/glib-2.0.lib $(GLIB_DIR)/gobject/gobject-2.0.lib
70 $(CXX) $(CXXFLAGS) -MM $(SRC) > .depend
73 # include dependency files if they exist
75 ifneq ($(wildcard .depend),)