~ubuntu-branches/ubuntu/vivid/ekiga/vivid-proposed

« back to all changes in this revision

Viewing changes to lib/pixops/makefile.msc

  • Committer: Bazaar Package Importer
  • Author(s): Kilian Krause
  • Date: 2011-07-17 00:24:50 UTC
  • mfrom: (5.1.5 upstream) (7.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110717002450-ytg3wsrc1ptd3153
Tags: 3.3.1-1
* New upstream release.
 - Required libpt-dev 2.10 and libopal-dev 3.10
* Fix debian/watch to catch new version
* Remove libnotify0.7.patch - included upstream
* Add libboost-dev and libboost-signals-dev to Build-Depends
* debian/rules: Don't install *.la files for new internal shared libs
* Fix Vcs URIs to point to correct desktop/experimental/ekiga tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TOP = ../../..
2
 
PACKAGE = pixops
3
 
PRJ_TOP = ..\..
4
 
 
5
 
!INCLUDE $(TOP)/glib/build/win32/make.msc
6
 
 
7
 
PKG_CFLAGS = -I.. $(GLIB_CFLAGS)
8
 
 
9
 
OBJECTS = \
10
 
        pixops.obj \
11
 
 
12
 
#?      timescale.obj
13
 
 
14
 
## common stuff
15
 
## compiler and linker switches
16
 
!IFNDEF DEBUG
17
 
# Full optimization:
18
 
OPTIMIZE = -Ox -MD
19
 
LINKDEBUG =
20
 
!ELSE
21
 
# Debugging:
22
 
OPTIMIZE = -Zi -MDd
23
 
LINKDEBUG = /debug
24
 
!ENDIF
25
 
 
26
 
# cl -? describes the options
27
 
CC = cl -G5 -GF $(OPTIMIZE) -W3 -nologo
28
 
 
29
 
# No general LDFLAGS needed
30
 
LDFLAGS = /link $(LINKDEBUG)
31
 
INSTALL = copy
32
 
 
33
 
CFLAGS = -I. -I$(PRJ_TOP) -DHAVE_CONFIG_H
34
 
 
35
 
## targets
36
 
all : \
37
 
        $(PRJ_TOP)\config.h \
38
 
        $(PACKAGE).lib
39
 
 
40
 
$(PACKAGE).lib : $(OBJECTS)
41
 
        lib /out:$(PACKAGE).lib $(OBJECTS)
42
 
 
43
 
$(PACKAGE).dll : $(OBJECTS) $(PACKAGE).def
44
 
        $(CC) $(CFLAGS) -LD -Fe$(PACKAGE).dll $(OBJECTS) $(PKG_LINK) user32.lib advapi32.lib wsock32.lib $(LDFLAGS) /def:$(PACKAGE).def
45
 
 
46
 
$(PRJ_TOP)\config.h: $(PRJ_TOP)\config.h.win32
47
 
        copy $(PRJ_TOP)\config.h.win32 $(PRJ_TOP)\config.h
48
 
 
49
 
.c.obj :
50
 
        $(CC) $(CFLAGS) -GD -c $(PKG_CFLAGS) $<
51
 
 
52
 
clean::
53
 
        del config.h
54
 
        del *.exe
55
 
        del *.obj
56
 
        del *.dll
57
 
        del *.lib
58
 
        del *.err
59
 
        del *.map
60
 
        del *.sym
61
 
        del *.exp
62
 
        del *.lk1
63
 
        del *.mk1
64
 
        del *.pdb
65
 
        del *.ilk