25
26 SUBDIRS = solaris
27
28 PROG = hald
29 OBJS = hald_marshal.o device.o device_info.o device_store.o hald.o \
30 hald_dbus.o hald_runner.o ids.o logger.o property.o util.o \
31 util_helper.o util_pm.o
32 OBJS_SOL = devinfo.o devinfo_ieee1394.o devinfo_misc.o devinfo_pci.o devinfo_storage.o \
33 devinfo_usb.o hotplug.o osspec.o sysevent.o devinfo_acpi.o \
34 devinfo_cpu.o
35 OBJS_ALL = $(OBJS) $(OBJS_SOL:%=solaris/%)
36 SRCS = $(OBJS:%.o=%.c)
37
38 include ../../Makefile.cmd
39 include ../Makefile.hal
40
41 ROOTCMDDIR = $(ROOTLIB_HAL)
42
43 LDLIBS += -lc -lm -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lgobject-2.0 \
44 -ldevinfo -lsysevent -lnvpair -lkstat -lcfgadm
45
46 all install $(PROG) := LDLIBS += -lexpat
47
48 CPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
49 CSTD = $(CSTD_GNU99)
50
51 CLOBBERFILES += hald_marshal.c hald_marshal.h
52
53 all := TARGET= all
54 install := TARGET= install
55 clean := TARGET= clean
56 clobber := TARGET= clobber
57 $(PROG) := TARGET= all
58
59 .KEEP_STATE:
60
61 all: $(SUBDIRS) .WAIT $(PROG)
62
63 hald_marshal.o: hald_marshal.h hald_marshal.c
64
65 hald_marshal.h: hald_marshal.list
66 glib-genmarshal --prefix=hald_marshal hald_marshal.list --header >> xgen-gmh \
|
25
26 SUBDIRS = solaris
27
28 PROG = hald
29 OBJS = hald_marshal.o device.o device_info.o device_store.o hald.o \
30 hald_dbus.o hald_runner.o ids.o logger.o property.o util.o \
31 util_helper.o util_pm.o
32 OBJS_SOL = devinfo.o devinfo_ieee1394.o devinfo_misc.o devinfo_pci.o devinfo_storage.o \
33 devinfo_usb.o hotplug.o osspec.o sysevent.o devinfo_acpi.o \
34 devinfo_cpu.o
35 OBJS_ALL = $(OBJS) $(OBJS_SOL:%=solaris/%)
36 SRCS = $(OBJS:%.o=%.c)
37
38 include ../../Makefile.cmd
39 include ../Makefile.hal
40
41 ROOTCMDDIR = $(ROOTLIB_HAL)
42
43 LDLIBS += -lc -lm -ldbus-1 -ldbus-glib-1 -lglib-2.0 -lgobject-2.0 \
44 -ldevinfo -lsysevent -lnvpair -lkstat -lcfgadm
45 ADJUNCT_LIBS = libdbus-1.so libdbus-glib-1.so libglib-2.0.so libgobject-2.0.so
46
47
48 all install $(PROG) := LDLIBS += -lexpat
49 all install $(PROG) := ADJUNCT_LIBS += libexpat.so
50
51 CPPFLAGS += $(HAL_DBUS_CPPFLAGS) $(HAL_GLIB_CPPFLAGS) $(HAL_CONFIG_CPPFLAGS)
52 CSTD = $(CSTD_GNU99)
53
54 CLOBBERFILES += hald_marshal.c hald_marshal.h
55
56 all := TARGET= all
57 install := TARGET= install
58 clean := TARGET= clean
59 clobber := TARGET= clobber
60 $(PROG) := TARGET= all
61
62 .KEEP_STATE:
63
64 all: $(SUBDIRS) .WAIT $(PROG)
65
66 hald_marshal.o: hald_marshal.h hald_marshal.c
67
68 hald_marshal.h: hald_marshal.list
69 glib-genmarshal --prefix=hald_marshal hald_marshal.list --header >> xgen-gmh \
|