~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to src/ipelets/kgon/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2009-12-11 21:22:35 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091211212235-5iio4nzpra64snab
Tags: 7.0.10-1
* New upstream.  Closes: #551192.
  - New build-depends: libcairo2-dev, liblua5.1-0-dev, gsfonts
  - patches/config.diff: Remove.  Upstream build system replaced.
  - Runtime lib package changed to libipe7.0.10 from libipe1c2a
  - Devel package renamed to libipe-dev (from libipe1-dev)
  - Package ipe depends on lua5.1 due to ipe-update-master.

* rules: Re-write to use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# --------------------------------------------------------------------
 
2
# Makefile for kgon ipelet
 
3
# --------------------------------------------------------------------
 
4
 
 
5
IPESRCDIR = ../..
 
6
OBJDIR = $(BUILDDIR)/obj/ipelets
 
7
DEPEND = $(OBJDIR)/kgon.depend
 
8
include ../../common.mak
 
9
 
 
10
TARGET = $(call ipelet_target,kgon)
 
11
LUASCRIPT = kgon.lua
 
12
 
 
13
CPPFLAGS += -I../../include
 
14
LIBS += -L$(buildlib) -lipe
 
15
CXXFLAGS += $(DLL_CFLAGS)
 
16
 
 
17
all: $(TARGET)
 
18
 
 
19
sources = kgon.cpp
 
20
 
 
21
$(TARGET): $(objects)
 
22
        $(MAKE_IPELETDIR)
 
23
        $(CXX) $(LDFLAGS) $(DLL_LDFLAGS) -o $@ $^ $(LIBS)
 
24
 
 
25
clean:
 
26
        @-rm -f $(objects) $(TARGET) $(DEPEND)
 
27
 
 
28
$(DEPEND): Makefile
 
29
        $(MAKE_DEPEND)
 
30
 
 
31
-include $(DEPEND)
 
32
 
 
33
install: $(TARGET)
 
34
        $(INSTALL_DIR) $(INSTALL_ROOT)$(IPELETDIR)
 
35
        $(INSTALL_PROGRAMS) $(TARGET) $(INSTALL_ROOT)$(IPELETDIR)
 
36
        $(INSTALL_FILES) $(LUASCRIPT) $(INSTALL_ROOT)$(IPELETDIR)
 
37
 
 
38
# --------------------------------------------------------------------