|
Last change
on this file was 46163, checked in by martinl, 13 years ago |
|
re-enable unversioned libs as symlinks
fix rli lib name
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id
-
Property svn:mime-type
set to
text/plain
|
|
File size:
695 bytes
|
| Line | |
|---|
| 1 | # common dependencies and rules for building shared libraries
|
|---|
| 2 |
|
|---|
| 3 | SHLIB = $(ARCH_LIBDIR)/$(SHLIB_PREFIX)$(SHLIB_NAME)$(SHLIB_SUFFIX)
|
|---|
| 4 |
|
|---|
| 5 | # Object that calls _setfmode(_O_BINARY) which must be linked to each DLL on Windows
|
|---|
| 6 | ifdef MINGW
|
|---|
| 7 | ifneq ($(SHLIB_NAME),$(DATETIME_LIBNAME))
|
|---|
| 8 | ifneq ($(SHLIB_NAME),$(GIS_LIBNAME))
|
|---|
| 9 | DLLMAIN_OBJ = $(MODULE_TOPDIR)/lib/gis/$(OBJDIR)/dllmain.o
|
|---|
| 10 | endif
|
|---|
| 11 | endif
|
|---|
| 12 | endif
|
|---|
| 13 |
|
|---|
| 14 | CFLAGS += $(SHLIB_CFLAGS) $(NLS_CFLAGS)
|
|---|
| 15 | LDFLAGS += $(SHLIB_LDFLAGS)
|
|---|
| 16 |
|
|---|
| 17 | $(SHLIB): $(SHLIB_OBJS)
|
|---|
| 18 | $(SHLIB_LD) -o $@ $(LDFLAGS) $^ $(EXTRA_LIBS) $(DLLMAIN_OBJ)
|
|---|
| 19 | ifndef MINGW
|
|---|
| 20 | (cd $(ARCH_LIBDIR); ln -f -s $(notdir $@) $(patsubst %.$(GRASS_VERSION_NUMBER)$(SHLIB_SUFFIX),%$(SHLIB_SUFFIX),$@))
|
|---|
| 21 | endif
|
|---|
| 22 |
|
|---|
| 23 | shlib: $(SHLIB)
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.