~ubuntu-branches/ubuntu/natty/glbsp/natty

« back to all changes in this revision

Viewing changes to nodeview/Makefile.xming

  • Committer: Bazaar Package Importer
  • Author(s): Darren Salt
  • Date: 2008-01-30 13:33:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080130133349-kgojg33vyiu8xbvp
Tags: 2.24-1
* New upstream release.
* Bumped the lib soname and the library package name due to one silly
  little binary incompatibility caused by changes in an exported struct.
  (Safe; nothing else currently in the archive has ever used libglbsp2.)
* Removed my patches since they're all applied upstream.
* Updated the list of documentation files.
* Build-time changes:
  - Switched from dh_movefiles to dh_install.
  - Updated my makefile to cope with upstream changes.
  - Corrected for debian-rules-ignores-make-clean-error.
  - Corrected for substvar-source-version-is-deprecated.
  - Link libglbsp, rather than glbsp, with libm and libz.
* Fixed shlibdeps. (Closes: #460387)
* Bumped standards version to 3.7.3 (no other changes).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
#  GL-Node Viewer
 
3
#
 
4
#  GNU Makefile for WIN32, using CROSS-COMPILER on Linux
 
5
#
 
6
 
 
7
PROGRAM=NodeView.exe
 
8
SRC_DIR=nodeview
 
9
 
 
10
LIB_LOC=/home/aapted/ebuild
 
11
 
 
12
FLTK_DIR=$(LIB_LOC)/fltk-1.1.7
 
13
FLTK_FLAGS=-I$(FLTK_DIR)
 
14
FLTK_LIBS=$(FLTK_DIR)/lib/libfltk_images.a \
 
15
          $(FLTK_DIR)/lib/libfltk.a
 
16
 
 
17
CXX=i586-mingw32msvc-g++
 
18
 
 
19
CXXFLAGS=-O -Wall -DWIN32 $(FLTK_FLAGS)
 
20
LDFLAGS=
 
21
LIBS=-lm $(FLTK_LIBS) \
 
22
     -mwindows -lcomdlg32 -lole32 -luuid -lgdi32 \
 
23
     -lcomctl32 -lwsock32 -lsupc++
 
24
 
 
25
OBJS=./main.o     \
 
26
     ./asserts.o  \
 
27
     ./dialog.o   \
 
28
     ./grid.o     \
 
29
     ./info.o     \
 
30
     ./level.o    \
 
31
     ./lists.o    \
 
32
     ./menu.o     \
 
33
     ./path.o     \
 
34
     ./system.o   \
 
35
     ./util.o     \
 
36
     ./wad.o      \
 
37
     ./window.o
 
38
 
 
39
 
 
40
# ----- TARGETS ------------------------------------------------------
 
41
 
 
42
all:    $(PROGRAM)
 
43
 
 
44
clean:
 
45
        rm -f $(PROGRAM) *.o core core.* ERRS nv_debug.txt
 
46
 
 
47
$(PROGRAM): $(OBJS)
 
48
        $(CXX) $(CFLAGS) $(OBJS) -o $@ $(LDFLAGS) $(LIBS)
 
49
 
 
50
stripped: all
 
51
        i586-mingw32msvc-strip --strip-unneeded $(PROGRAM)
 
52
 
 
53
.PHONY: all clean stripped
 
54
 
 
55
#--- editor settings ------------
 
56
# vi:ts=8:sw=8:noexpandtab