summary refs log tree commit diff stats
path: root/plugins/xtray/makefile.mak
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-07-27 09:07:09 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-07-27 09:07:09 +0200
commita11d1857f1f242199ea330e1679cf55e2771395b (patch)
treec57bdc180418073e25724d93d87491c3fa9c2e45 /plugins/xtray/makefile.mak
parentf39d21328603673ee83c55a5d6d55b276cc8bdb8 (diff)
parent69ba67b2549b6c6a46abd19879b67e1545c9ae3b (diff)
Merge with default
Diffstat (limited to 'plugins/xtray/makefile.mak')
-rw-r--r--plugins/xtray/makefile.mak37
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/xtray/makefile.mak b/plugins/xtray/makefile.mak
new file mode 100644
index 00000000..d1f8d295
--- /dev/null
+++ b/plugins/xtray/makefile.mak
@@ -0,0 +1,37 @@
+include "..\..\src\makeinc.mak"
+
+TARGET = xtray.dll
+
+TRAY_OBJECTS = \
+callbacks.obj \
+sdAlerts.obj \
+sdTray.obj \
+utility.obj \
+xchat.obj \
+xtray.obj
+
+CPPFLAGS = $(CPPFLAGS) /D_STL70_ /D_STATIC_CPPLIB /EHsc /DUNICODE /D_UNICODE
+
+all: $(TRAY_OBJECTS) $(TARGET)
+
+xtray.def:
+	echo EXPORTS > xtray.def
+	echo xchat_plugin_init >> xtray.def
+	echo xchat_plugin_deinit >> xtray.def
+
+.cpp.obj:
+	$(CC) $(CPPFLAGS) /c $<
+
+res:
+	rc /nologo resource.rc
+	
+$(TARGET): $(TRAY_OBJECTS) xtray.def res
+	$(LINK) /DLL /out:$(TARGET) $(LDFLAGS) $(TRAY_OBJECTS) ntstc_msvcrt.lib $(LIBS) /def:xtray.def resource.res
+
+clean:
+	del $(TARGET)
+	del *.obj
+	del xtray.def
+	del resource.res
+	del *.lib
+	del *.exp