source: filezilla/trunk/fuentes/src/fzshellext/Makefile.am @ 130

Last change on this file since 130 was 130, checked in by jrpelegrina, 3 years ago

First release to xenial

File size: 1005 bytes
Line 
1ACLOCAL_AMFLAGS = -I ../../m4
2
3CLEANFILES = fzshellext.o
4
5lib_LTLIBRARIES = libfzshellext.la
6
7libfzshellext_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(builddir)/..
8libfzshellext_la_SOURCES = shellext.cpp
9libfzshellext_la_CXXFLAGS = $(AM_CXXFLAGS) -fno-exceptions -fno-rtti
10
11if USE_RESOURCEFILE
12RESOURCEFILE = -Wl,fzshellext.o
13libfzshellext_la_DEPENCENCIES = fzshellext.o
14endif
15
16# Due to a braindead Libtool, we _NEED_ to use -Wl to link with some win32 system libraries
17libfzshellext_la_LDFLAGS = -Wl,--kill-at -Wl,-lole32 -Wl,-luuid -Wl,-lversion -no-undefined -version-info 0:0:0 $(RESOURCEFILE)
18
19noinst_HEADERS = shellext.h resource.h
20
21dist_noinst_DATA = fzshellext.def fzshellext.vcxproj fzshellext.rc version.rc.in
22
23if USE_RESOURCEFILE
24
25fzshellext.o: $(srcdir)/fzshellext.rc
26        @if [ -f $@~ ]; then rm $@~; fi
27        @WINDRES@ --include-dir=.. --include-dir=$(srcdir) $(WINDRESFLAGS) $(srcdir)/fzshellext.rc -D HAS_VERSIONRC $@~ || rm $@~
28        @if [ -f $@ ]; then rm $@; fi
29        mv $@~ $@
30
31BUILT_SOURCES = fzshellext.o
32
33endif
Note: See TracBrowser for help on using the repository browser.