summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/Makefile
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-07-29 21:43:45 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-07-29 21:43:45 +0000
commiteb304eedf191bd847c7a4ea00b302149301cfa4e (patch)
tree16a9f2266bf60919e2d6b94b7b6980846727fa97 /plugins/New_GPG/Makefile
parentdeccbf7673e7edca384a021c51548f3beda15a02 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1261 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/New_GPG/Makefile')
-rwxr-xr-xplugins/New_GPG/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/New_GPG/Makefile b/plugins/New_GPG/Makefile
new file mode 100755
index 0000000000..183390389b
--- /dev/null
+++ b/plugins/New_GPG/Makefile
@@ -0,0 +1,23 @@
+CFLAGS=-g -mdll -mwindows -I../miranda-im/miranda/include -I./ -I/home/sss/temp/windows/libs/utf8cpp/include -D DEBUG -D _UNICODE -D UNICODE -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_USE_LIB
+CXXFLAGS=${CFLAGS}
+LDFLAGS=-static-libgcc -Wl,-O1 -shared -s -Wl,--subsystem,windows,--kill-at -lshlwapi -lcomdlg32 -lboost_system-mt -lboost_thread_win32-mt -lboost_random-mt -lboost_date_time-mt
+CPPFLAGS =
+CC=i686-pc-mingw32-gcc
+CXX=i686-pc-mingw32-g++
+STRIP=i686-pc-mingw32-strip
+LD=i686-pc-mingw32-ld
+LNK_COMMON=-lkernel32
+
+MAINOBJS=jabber_account.o clist.o init.o options.o gpg_wrapper.o srmm.o messages.o utilities.o metacontacts.o main.o log.o icons.o
+
+WINDRES=i686-pc-mingw32-windres
+
+all: main
+main: $(MAINOBJS)
+ $(WINDRES) -i new_gpg.rc -o resources.o
+ $(CXX) $(MAINOBJS) resources.o $(LNK_COMMON) $(LDFLAGS) -o new_gpg.dll
+ $(STRIP) new_gpg.dll
+ upx --best --compress-icons=0 new_gpg.dll
+clean:
+ rm *.o
+ rm new_gpg.dll