diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-02 20:56:16 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-02 20:56:16 +0000 |
commit | 0b7d70c822ae473b42a9db95cdc026286d992a48 (patch) | |
tree | 64e0bd523ef185d3b4ebb1734f7773fa3058606c /Makefile | |
parent | 8aa0b62a885e1a0f125e4cd47d993fa7025daf36 (diff) | |
download | busybox-w32-0b7d70c822ae473b42a9db95cdc026286d992a48.tar.gz busybox-w32-0b7d70c822ae473b42a9db95cdc026286d992a48.tar.bz2 busybox-w32-0b7d70c822ae473b42a9db95cdc026286d992a48.zip |
Fix up some silly messups with the debian packaging, and a dumb0_60_0
bug with chroot. I've had the package uploaded but perms set to
000, so I am going to re-tag things and re-cut the release. Folks
who pulled from CVS in the last 30 minutes with just have to cope.
-Erik
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -227,7 +227,10 @@ ifneq ($(strip $(USE_SYSTEM_PWD_GRP)),true) | |||
227 | fgetpwent.c __getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c \ | 227 | fgetpwent.c __getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c \ |
228 | initgroups.c setgroups.c | 228 | initgroups.c setgroups.c |
229 | PWD_OBJS=$(patsubst %.c,$(PWD_GRP)/%.o, $(PWD_CSRC)) | 229 | PWD_OBJS=$(patsubst %.c,$(PWD_GRP)/%.o, $(PWD_CSRC)) |
230 | PWD_CFLAGS = -I$(PWD_GRP_DIR) | 230 | ifneq ($(strip $(BB_SRC_DIR)),) |
231 | PWD_CFLAGS = -I- -I. | ||
232 | endif | ||
233 | PWD_CFLAGS += -I$(PWD_GRP_DIR) | ||
231 | else | 234 | else |
232 | CFLAGS += -DUSE_SYSTEM_PWD_GRP | 235 | CFLAGS += -DUSE_SYSTEM_PWD_GRP |
233 | endif | 236 | endif |
@@ -249,9 +252,10 @@ xgetcwd.c xreadlink.c xregcomp.c interface.c remove_file.c last_char_is.c \ | |||
249 | copyfd.c vherror_msg.c herror_msg.c herror_msg_and_die.c xgethostbyname.c \ | 252 | copyfd.c vherror_msg.c herror_msg.c herror_msg_and_die.c xgethostbyname.c \ |
250 | dirname.c make_directory.c create_icmp_socket.c u_signal_names.c arith.c | 253 | dirname.c make_directory.c create_icmp_socket.c u_signal_names.c arith.c |
251 | LIBBB_OBJS=$(patsubst %.c,$(LIBBB)/%.o, $(LIBBB_CSRC)) | 254 | LIBBB_OBJS=$(patsubst %.c,$(LIBBB)/%.o, $(LIBBB_CSRC)) |
252 | LIBBB_CFLAGS = -I$(LIBBB) | 255 | ifeq ($(strip $(BB_SRC_DIR)),) |
253 | ifneq ($(strip $(BB_SRC_DIR)),) | 256 | LIBBB_CFLAGS += -I$(LIBBB) |
254 | LIBBB_CFLAGS += -I$(BB_SRC_DIR)/$(LIBBB) | 257 | else |
258 | LIBBB_CFLAGS = -I- -I. -I./$(LIBBB) -I$(BB_SRC_DIR)/$(LIBBB) -I$(BB_SRC_DIR) | ||
255 | endif | 259 | endif |
256 | 260 | ||
257 | LIBBB_MSRC=libbb/messages.c | 261 | LIBBB_MSRC=libbb/messages.c |
@@ -351,7 +355,11 @@ busybox.links: busybox.mkll Config.h applets.h | |||
351 | nfsmount.o cmdedit.o: %.o: %.h | 355 | nfsmount.o cmdedit.o: %.o: %.h |
352 | ash.o hush.o lash.o msh.o: cmdedit.h | 356 | ash.o hush.o lash.o msh.o: cmdedit.h |
353 | $(OBJECTS): %.o: %.c Config.h busybox.h applets.h Makefile | 357 | $(OBJECTS): %.o: %.c Config.h busybox.h applets.h Makefile |
358 | ifeq ($(strip $(BB_SRC_DIR)),) | ||
354 | $(CC) $(CFLAGS) -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o | 359 | $(CC) $(CFLAGS) -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o |
360 | else | ||
361 | $(CC) $(CFLAGS) -I- -I. $(patsubst %,-I%,$(subst :, ,$(BB_SRC_DIR))) -c $< -o $*.o | ||
362 | endif | ||
355 | 363 | ||
356 | $(PWD_OBJS): %.o: %.c Config.h busybox.h applets.h Makefile | 364 | $(PWD_OBJS): %.o: %.c Config.h busybox.h applets.h Makefile |
357 | - mkdir -p $(PWD_GRP) | 365 | - mkdir -p $(PWD_GRP) |