~ubuntu-branches/ubuntu/utopic/gdisk/utopic-proposed

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Guillaume Delacour
  • Date: 2011-10-03 20:46:30 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20111003204630-3cl1nosx48ofyig8
Tags: 0.8.1-1
* New upstream release
* debian/rules: Install cgdisk binary (curses based)
* debian/manpages: Install cgdisk manpage
* debian/control:
  + Remove Intel-based from description thanks Witold Baryluk
  (Closes: #642363)
  + Add libncurses5-dev in Build-Depends
* debian/copyright: Change to new DEP-5 format
* debian/patches/manpages.diff: Refresh patch to escape two hyphen

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
LIB_HEADERS=$(LIB_NAMES:=.h)
12
12
DEPEND= makedepend $(CXXFLAGS)
13
13
 
14
 
all:    gdisk sgdisk fixparts
 
14
all:    cgdisk gdisk sgdisk fixparts
15
15
 
16
16
gdisk:  $(LIB_OBJS) gdisk.o gpttext.o
17
17
#       $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -luuid -o gdisk
18
18
        $(CXX) $(LIB_OBJS) gdisk.o gpttext.o $(LDFLAGS) -licuio -licuuc -luuid -o gdisk
19
19
 
20
 
sgdisk: $(LIB_OBJS) sgdisk.o
21
 
#       $(CXX) $(LIB_OBJS) sgdisk.o $(LDFLAGS) -luuid -lpopt -o sgdisk
22
 
        $(CXX) $(LIB_OBJS) sgdisk.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk
 
20
cgdisk: $(LIB_OBJS) cgdisk.o gptcurses.o
 
21
#       $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -luuid -lncurses -o cgdisk
 
22
        $(CXX) $(LIB_OBJS) cgdisk.o gptcurses.o $(LDFLAGS) -licuio -licuuc -luuid -lncurses -o cgdisk
 
23
 
 
24
sgdisk: $(LIB_OBJS) sgdisk.o gptcl.o
 
25
#       $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -luuid -lpopt -o sgdisk
 
26
        $(CXX) $(LIB_OBJS) sgdisk.o gptcl.o $(LDFLAGS) -licuio -licuuc -luuid -lpopt -o sgdisk
23
27
 
24
28
fixparts: $(MBR_LIB_OBJS) fixparts.o
25
29
        $(CXX) $(MBR_LIB_OBJS) fixparts.o $(LDFLAGS) -o fixparts
28
32
        lint $(SRCS)
29
33
 
30
34
clean:  #no pre-reqs
31
 
        rm -f core *.o *~ gdisk sgdisk fixparts
 
35
        rm -f core *.o *~ gdisk sgdisk cgdisk fixparts
32
36
 
33
37
# what are the source dependencies
34
38
depend: $(SRCS)