summary refs log tree commit diff stats
path: root/plugins/xtray/makefile.mak
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2010-04-02 07:29:16 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2010-04-02 07:29:16 +0200
commitc7ec88c88adb4f15b154ad125977d9c2c4ae4956 (patch)
tree09b886a96255b141e59747b3d3b375b576b2cdc5 /plugins/xtray/makefile.mak
parent876a185af371a92d73725a25ccda3a41fdaebd37 (diff)
move additions to own repo, so that patch contains only modifications
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..f5fdb44e
--- /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
+
+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 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