2010-04-02 01:29:16 -04:00
|
|
|
include "..\..\src\makeinc.mak"
|
|
|
|
|
|
|
|
TARGET = xtray.dll
|
|
|
|
|
|
|
|
TRAY_OBJECTS = \
|
|
|
|
callbacks.obj \
|
|
|
|
sdAlerts.obj \
|
|
|
|
sdTray.obj \
|
|
|
|
utility.obj \
|
|
|
|
xchat.obj \
|
|
|
|
xtray.obj
|
|
|
|
|
2010-08-29 20:57:48 -04:00
|
|
|
CPPFLAGS = $(CPPFLAGS) /D_STL70_ /D_STATIC_CPPLIB /EHsc /DUNICODE /D_UNICODE
|
2010-04-02 01:29:16 -04:00
|
|
|
|
|
|
|
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:
|
2010-10-07 20:49:12 -04:00
|
|
|
rc /nologo resource.rc
|
2010-04-02 01:29:16 -04:00
|
|
|
|
|
|
|
$(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
|