24 #
25
26 PROG= cdrw
27
28 OBJS= main.o mmc.o device.o transport.o util.o msgs.o misc_scsi.o dumpinfo.o \
29 toshiba.o bstream.o options.o trackio.o write_image.o blank.o \
30 write_audio.o dae.o copycd.o
31
32 include ../Makefile.cmd
33 include ../hal/Makefile.hal
34
35 SRCS= $(OBJS:.o=.c)
36
37 LDLIBS += -lhal -lsecdb
38 NONLINTLDLIBS = -ldbus-1
39 CFLAGS += $(CCVERBOSE)
40 CERRWARN += -_gcc=-Wno-uninitialized
41 CERRWARN += -_gcc=-Wno-parentheses
42 CPPFLAGS += -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(HAL_DBUS_CPPFLAGS)
43 LINTFLAGS += -um
44
45 $(ROOTBIN)/cdrw := FILEMODE = 04755
46
47 .KEEP_STATE:
48
49 all: $(PROG)
50
51 $(PROG): $(OBJS)
52 $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS) $(NONLINTLDLIBS) $(CFLAGS)
53 $(POST_PROCESS)
54
55 install: all $(ROOTPROG)
56
57 clean:
58 $(RM) $(OBJS)
59
60 lint: lint_SRCS
61
62 $(POFILE) : $(SRCS)
63 $(RM) $@
|
24 #
25
26 PROG= cdrw
27
28 OBJS= main.o mmc.o device.o transport.o util.o msgs.o misc_scsi.o dumpinfo.o \
29 toshiba.o bstream.o options.o trackio.o write_image.o blank.o \
30 write_audio.o dae.o copycd.o
31
32 include ../Makefile.cmd
33 include ../hal/Makefile.hal
34
35 SRCS= $(OBJS:.o=.c)
36
37 LDLIBS += -lhal -lsecdb
38 NONLINTLDLIBS = -ldbus-1
39 CFLAGS += $(CCVERBOSE)
40 CERRWARN += -_gcc=-Wno-uninitialized
41 CERRWARN += -_gcc=-Wno-parentheses
42 CPPFLAGS += -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(HAL_DBUS_CPPFLAGS)
43 LINTFLAGS += -um
44 ADJUNCT_LIBS = libdbus-1.so
45
46 $(ROOTBIN)/cdrw := FILEMODE = 04755
47
48 .KEEP_STATE:
49
50 all: $(PROG)
51
52 $(PROG): $(OBJS)
53 $(LINK.c) -o $(PROG) $(OBJS) $(LDLIBS) $(NONLINTLDLIBS) $(CFLAGS)
54 $(POST_PROCESS)
55
56 install: all $(ROOTPROG)
57
58 clean:
59 $(RM) $(OBJS)
60
61 lint: lint_SRCS
62
63 $(POFILE) : $(SRCS)
64 $(RM) $@
|